Hello,
It seems that ANTLR is missing from the pom.xml generated by the new
gradle build of Hibernate Core.

The following patch seems to fix it but I couldn't find any
information on the "antlr( libraries.antlr )" line, from the
documentation is seems it's only being used to choose the ANTLR
version to use to generate the parser code, but I couldn't find an
option to also include it as dependency so I added an additional line.

Could anybody confirm this change is right? (It seems to work).

diff --git a/hibernate-core/hibernate-core.gradle
b/hibernate-core/hibernate-core.gradle
index 59f80aa..4f28e93 100644
--- a/hibernate-core/hibernate-core.gradle
+++ b/hibernate-core/hibernate-core.gradle
@@ -12,6 +12,7 @@ dependencies {
     compile( libraries.commons_annotations )
     compile( libraries.jpa )
     antlr( libraries.antlr )
+    compile( libraries.antlr )
     provided( libraries.javassist )
     provided( libraries.cglib ) {
         transitive = true

thanks,
Sanne
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to