Use final java 11 release and fix test excludes
MODIFY
.circleci/config.yml
.circleci/config.yml
@@ -140,7 +140,7 @@ jobs:
environment:
- JAVA11_HOME: /usr/lib/jvm/jdk-11
- TEST_TASK: testJava11 latestDepTestJava11
- - INSTALL_OPENJDK: https://download.java.net/java/early_access/jdk11/28/GPL/openjdk-11+28_linux-x64_bin.tar.gz
+ - INSTALL_OPENJDK: https://download.java.net/java/ga/jdk11/openjdk-11_linux-x64_bin.tar.gz
agent_integration_tests:
<<: *defaults

MODIFY
gradle/java.gradle
gradle/java.gradle
@@ -154,10 +154,16 @@ tasks.withType(Test) {
group = "Verification"
description "Runs $cloned.name under Java ${i}"
executable = "$javaHome/bin/java"
+ if (i == 7) {
afterEvaluate {
exclude project.testJava8Only
exclude project.testJava8Minimum
}
+ } else if (i > 8) {
+ afterEvaluate {
+ exclude project.testJava8Only
+ }
+ }
}
tasks.check.dependsOn test
}

Use final java 11 release and fix test excludes