mirror of https://github.com/apache/poi.git
try to fix jaav 17 build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903052 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dcb6742a26
commit
38fb4377bb
|
@ -207,7 +207,7 @@ task compileTest9(type: JavaCompile) {
|
|||
dependsOn 'compileTestJava', ':poi:testJar'
|
||||
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(jdkVersion)
|
||||
languageVersion = JavaLanguageVersion.of(jdkVersion >= 17 ? 17 : 11)
|
||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor)
|
||||
}
|
||||
destinationDirectory = file(TEST9_OUT + VERSIONS9)
|
||||
|
|
Loading…
Reference in New Issue