diff --git a/build.gradle b/build.gradle index 6b82ba6fd2..5a9d3a8e5b 100644 --- a/build.gradle +++ b/build.gradle @@ -230,6 +230,9 @@ allprojects { force "io.opentelemetry:opentelemetry-api:${openTelemetryVersion}" // spring-ai pulls a different version of antr-ST4 than the version pulled by query (via antlr) force "org.antlr:ST4:${antlrST4Version}" + // api (via Mockito) and mfa (via Duo SDK) pull different byte-buddy versions + force "net.bytebuddy:byte-buddy:${byteBuddyVersion}" + force "net.bytebuddy:byte-buddy-agent:${byteBuddyVersion}" // 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 diff --git a/gradle.properties b/gradle.properties index 0096dc69ed..991a949760 100644 --- a/gradle.properties +++ b/gradle.properties @@ -126,6 +126,9 @@ batikVersion=1.19 bouncycastlePgpVersion=1.87 bouncycastleVersion=1.87 +# match the version Mockito declares +byteBuddyVersion=1.17.7 + cglibNodepVersion=2.2.3 checkerQualVersion=3.53.0 @@ -275,6 +278,8 @@ luceneVersion=10.6.0 # transitive dependency via Spring AI and saml; force for version consistency across modules micrometerVersion=1.17.2 +mockitoVersion=5.24.0 + # Microsoft library for sending OAuth2-authenticated notification emails via the Microsoft Graph API microsoftGraphVersion=6.72.0