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-ooxml-full/build.gradle | 1 + 1 file changed, 1 insertion(+) (limited to 'poi-ooxml-full') diff --git a/poi-ooxml-full/build.gradle b/poi-ooxml-full/build.gradle index 430153689d..46d69591ea 100644 --- a/poi-ooxml-full/build.gradle +++ b/poi-ooxml-full/build.gradle @@ -56,6 +56,7 @@ compileJava { task compileJava9(type: JavaCompile) { dependsOn 'compileJava' + onlyIf {jdkVersion > 8} javaCompiler = javaToolchains.compilerFor { languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) -- cgit v1.2.3