diff options
Diffstat (limited to 'poi-ooxml-lite-agent')
-rw-r--r-- | poi-ooxml-lite-agent/build.gradle | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/poi-ooxml-lite-agent/build.gradle b/poi-ooxml-lite-agent/build.gradle index 00f9b4f514..3d4ff54c94 100644 --- a/poi-ooxml-lite-agent/build.gradle +++ b/poi-ooxml-lite-agent/build.gradle @@ -38,6 +38,7 @@ java { task compileJava9(type: JavaCompile) { dependsOn 'compileJava' + onlyIf {jdkVersion > 8} javaCompiler = javaToolchains.compilerFor { languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) |