aboutsummaryrefslogtreecommitdiffstats
path: root/poi-excelant/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'poi-excelant/build.gradle')
-rw-r--r--poi-excelant/build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle
index b7a9409020..4afc271d4f 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 >= 17 ? 17 : 11)
+ languageVersion = JavaLanguageVersion.of(jdkVersion)
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor)
}
destinationDirectory = file(JAVA9_OUT + VERSIONS9)