diff options
author | PJ Fanning <fanningpj@apache.org> | 2022-07-27 09:21:34 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2022-07-27 09:21:34 +0000 |
commit | dcb6742a26bf7383f7bf605e56417a23341c238b (patch) | |
tree | 85da5ea0f4de17be72952535839c805e8e0a9926 /poi-excelant | |
parent | c3fd22a71ac2a191ce3610934abdbed859073970 (diff) | |
download | poi-dcb6742a26bf7383f7bf605e56417a23341c238b.tar.gz poi-dcb6742a26bf7383f7bf605e56417a23341c238b.zip |
try to fix jaav 17 build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903051 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-excelant')
-rw-r--r-- | poi-excelant/build.gradle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle index 6dac5d9fcb..3d357acc83 100644 --- a/poi-excelant/build.gradle +++ b/poi-excelant/build.gradle @@ -69,7 +69,7 @@ task compileJava9(type: JavaCompile) { dependsOn 'compileJava', ':poi-ooxml:jar', ':poi-scratchpad:jar' javaCompiler = javaToolchains.compilerFor { - languageVersion = JavaLanguageVersion.of(jdkVersion) + languageVersion = JavaLanguageVersion.of(jdkVersion >= 17 ? 17 : 11) if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor) } destinationDirectory = file(JAVA9_OUT + VERSIONS9) |