Set BWC builds for 6.x to use JDK 11

The BWC builds for the 6.x branch should be using JDK 11. This commit
fixes the BWC builds to specify that they use JDK 11 instead of JDK 10
which is now incompatible with the 6.x build.
This commit is contained in:
Jason Tedor 2018-10-03 09:51:05 -04:00
parent 86642d29e5
commit 9d36cbaf16
No known key found for this signature in database
GPG Key ID: FA89F05560F16BC5
1 changed files with 3 additions and 1 deletions

View File

@ -157,8 +157,10 @@ subprojects {
environment('JAVA_HOME', getJavaHome(it, 8))
} else if ("6.2".equals(bwcBranch)) {
environment('JAVA_HOME', getJavaHome(it, 9))
} else if (["6.3", "6.4", "6.x"].contains(bwcBranch)) {
} else if (["6.3", "6.4"].contains(bwcBranch)) {
environment('JAVA_HOME', getJavaHome(it, 10))
} else if (["6.x"].contains(bwcBranch)) {
environment('JAVA_HOME', getJavaHome(it, 11))
} else {
environment('JAVA_HOME', project.compilerJavaHome)
}