diff --git a/build.gradle b/build.gradle index cd4eebd93..f3e7466fa 100644 --- a/build.gradle +++ b/build.gradle @@ -209,6 +209,12 @@ dependencies { 'org.mockito:mockito-inline:4.11.0', 'net.bytebuddy:byte-buddy:1.15.11', 'net.bytebuddy:byte-buddy-agent:1.15.11' + } else if (hasProperty('buildProfile') && buildProfile == "jre25") { + // JRE 25 profile + testImplementation 'org.mockito:mockito-core:5.20.0', + 'org.mockito:mockito-inline:5.20.0', + 'net.bytebuddy:byte-buddy:1.18.2', + 'net.bytebuddy:byte-buddy-agent:1.18.2' } else { // JRE 11, 17, 21, 25 profiles (all use same versions) testImplementation 'org.mockito:mockito-core:5.14.2',