diff --git a/build.gradle b/build.gradle index 1ffa4c81aa..2222fee25a 100644 --- a/build.gradle +++ b/build.gradle @@ -205,6 +205,8 @@ allprojects { resolutionStrategy { // spring-ai pulls a different version of antr-ST4 than the version pulled by query (via antlr) force "org.antlr:ST4:${antlrST4Version}" + // different spring-ai artifacts (e.g. spring-ai-transformers) pull different antlr4-runtime versions than ST4 does + force "org.antlr:antlr4-runtime:${antlr4RuntimeVersion}" // also it pulls in a bunch of com.google.api dependencies which conflict with DiscvrLabKeyModules:SequenceAnalysis and wnprc-modules:WNPRC_EHR force "com.google.api:api-common:${googleApiVersion}" force "com.google.auth:google-auth-library-oauth2-http:${googleAuthVersion}" diff --git a/gradle.properties b/gradle.properties index 46b24d1745..e22a3aa0de 100644 --- a/gradle.properties +++ b/gradle.properties @@ -90,6 +90,7 @@ annotationsVersion=15.0 antVersion=1.10.17 antlrST4Version=4.3.4 +antlr4RuntimeVersion=4.13.2 #Unifying version used by DISCVR and Premium apacheDirectoryVersion=2.1.7