diff options
author | PJ Fanning <fanningpj@apache.org> | 2022-07-27 09:23:13 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2022-07-27 09:23:13 +0000 |
commit | 38fb4377bbdc0214b25c905ff0d71d1aa48dfb4f (patch) | |
tree | 507f5295948093ec4a35761df6bba014fc5be2ed /poi-ooxml/build.gradle | |
parent | dcb6742a26bf7383f7bf605e56417a23341c238b (diff) | |
download | poi-38fb4377bbdc0214b25c905ff0d71d1aa48dfb4f.tar.gz poi-38fb4377bbdc0214b25c905ff0d71d1aa48dfb4f.zip |
try to fix jaav 17 build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903052 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml/build.gradle')
-rw-r--r-- | poi-ooxml/build.gradle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-ooxml/build.gradle b/poi-ooxml/build.gradle index b28b7d2fcf..80a5e4470b 100644 --- a/poi-ooxml/build.gradle +++ b/poi-ooxml/build.gradle @@ -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) |