commit | 92b007fa888709a2808993d10a91b524fdf42bda | [log] [tgz] |
---|---|---|
author | Jiayu Liu <Jimexist@users.noreply.github.com> | Fri Oct 14 13:16:18 2022 +0800 |
committer | GitHub <noreply@github.com> | Fri Oct 14 13:16:18 2022 +0800 |
tree | 32d2e37be11b43ad28907967b6167637cd6c8fe6 | |
parent | c2cccb6b67b6dd9e3a53eb91b5cc138cba4d5415 [diff] [blame] |
java to use jdk 17 (#2686)
diff --git a/lib/java/gradle/unitTests.gradle b/lib/java/gradle/unitTests.gradle index db9ad82..293bcca 100644 --- a/lib/java/gradle/unitTests.gradle +++ b/lib/java/gradle/unitTests.gradle
@@ -65,6 +65,8 @@ outputs.upToDateWhen { false } } + // This is required for Mockito to run under Java 17 + jvmArgs '--add-opens=java.base/java.lang=ALL-UNNAMED' include '**/Test*.class' exclude '**/Test*\$*.class'