From 17899fc75b27cfb8ca001dd580ba9549b03646e4 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sun, 19 Mar 2023 13:17:53 +0000 Subject: temporary hack to build to see if the gradle toolchain logic is what is breaking all our https://ci-builds.apache.org/ builds for Java 8 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908515 13f79535-47bb-0310-9956-ffa450edef68 --- poi-excelant/build.gradle | 2 ++ 1 file changed, 2 insertions(+) (limited to 'poi-excelant/build.gradle') diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle index d61d41267b..4a07920cd7 100644 --- a/poi-excelant/build.gradle +++ b/poi-excelant/build.gradle @@ -59,6 +59,7 @@ final String OOXML_LITE_INCLUDES = "^(com/microsoft/schemas|org/(etsi|openxmlfor task compileJava9(type: JavaCompile) { dependsOn 'compileJava', ':poi-ooxml:jar', ':poi-scratchpad:jar' + onlyIf {jdkVersion > 8} javaCompiler = javaToolchains.compilerFor { languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) @@ -76,6 +77,7 @@ task compileJava9(type: JavaCompile) { task compileTest9(type: JavaCompile) { dependsOn 'compileTestJava', ':poi-ooxml:jar', ':poi-scratchpad:jar' + onlyIf {jdkVersion > 8} javaCompiler = javaToolchains.compilerFor { languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) -- cgit v1.2.3