aboutsummaryrefslogtreecommitdiffstats
path: root/poi-integration/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'poi-integration/build.gradle')
-rw-r--r--poi-integration/build.gradle8
1 files changed, 3 insertions, 5 deletions
diff --git a/poi-integration/build.gradle b/poi-integration/build.gradle
index 4509fe4f12..4defe90224 100644
--- a/poi-integration/build.gradle
+++ b/poi-integration/build.gradle
@@ -107,9 +107,11 @@ task compileTest9(type: JavaCompile) {
dependsOn 'compileTestJava', ':poi-ooxml:testJar', ':poi-scratchpad:testJar', ':poi-examples:jar'
javaCompiler = javaToolchains.compilerFor {
- languageVersion = JavaLanguageVersion.of(jdkVersion)
+ languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor)
}
+ sourceCompatibility = 1.9
+ targetCompatibility = 1.9
destinationDirectory = file(TEST9_OUT + VERSIONS9)
source = file(TEST9_SRC)
options.compilerArgs = [
@@ -117,10 +119,6 @@ task compileTest9(type: JavaCompile) {
'--module-path', files(MODULE_COMPILE_PATH).asPath
]
classpath = files()
-
- onlyIf {
- jdkVersion > 8
- }
}