diff options
Diffstat (limited to 'poi/build.gradle')
-rw-r--r-- | poi/build.gradle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poi/build.gradle b/poi/build.gradle index 3516de3966..42ddb9d1fa 100644 --- a/poi/build.gradle +++ b/poi/build.gradle @@ -94,7 +94,7 @@ task compileJava9(type: JavaCompile) { dependsOn 'compileJava' javaCompiler = javaToolchains.compilerFor { - languageVersion = JavaLanguageVersion.of(11) + languageVersion = JavaLanguageVersion.of(jdkVersion >= 17 ? 17 : 11) } destinationDirectory = file(JAVA9_OUT + VERSIONS9) source = file(JAVA9_SRC) |