diff --git a/hibernate-core/hibernate-core.gradle b/hibernate-core/hibernate-core.gradle index 89b03a64bf..ed12f30a16 100644 --- a/hibernate-core/hibernate-core.gradle +++ b/hibernate-core/hibernate-core.gradle @@ -21,9 +21,6 @@ configurations { tests { description = 'Configuration for the produced test jar' } - implementation { - extendsFrom antlr - } } @@ -40,6 +37,8 @@ dependencies { implementation libraries.jakarta_jaxb_runtime implementation libraries.jakarta_inject + runtimeOnly libraries.antlr4_runtime + compileOnly libraries.jakarta_jacc compileOnly libraries.jakarta_validation compileOnly libraries.jakarta_cdi