Skip to content

Commit

Permalink
add mockitoCorePreJdk11Version
Browse files Browse the repository at this point in the history
  • Loading branch information
Scottmitch committed Sep 21, 2023
1 parent 780b97d commit 3aa6254
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ quality.dependsOn validateLocalDocSite
subprojects {
// mockito 5 only supports jdk11+
if (JavaVersion.current() < JavaVersion.VERSION_11) {
project.setProperty("mockitoCoreVersion", "4.11.0")
project.setProperty("mockitoCoreVersion", mockitoCorePreJdk11Version)
}
// Used by ci-release.yaml to determine which modules need to be built/released with JDK11.
task printJavaTargetCompatibility {
Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ junit5Version=5.9.3
testngVersion=7.5
assertJCoreVersion=3.24.2
hamcrestVersion=2.2
# mockito version is overridden for <jdk11 in build.gradle
mockitoCoreVersion=5.5.0
# mockito version is overridden for <jdk11 due to incompatibilities with newer bytebuddy and class format
mockitoCorePreJdk11Version=4.11.0
spotbugsPluginVersion=5.0.13

apacheDirectoryServerVersion=1.5.7
Expand Down

0 comments on commit 3aa6254

Please sign in to comment.