git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906212 13f79535-47bb-0310-9956-ffa450edef68tags/REL_5_2_4
javaCompiler = javaToolchains.compilerFor { | javaCompiler = javaToolchains.compilerFor { | ||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | ||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor) | |||||
} | } | ||||
sourceCompatibility = 1.9 | sourceCompatibility = 1.9 | ||||
targetCompatibility = 1.9 | targetCompatibility = 1.9 |
javaCompiler = javaToolchains.compilerFor { | javaCompiler = javaToolchains.compilerFor { | ||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | ||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor) | |||||
} | } | ||||
sourceCompatibility = 1.9 | sourceCompatibility = 1.9 | ||||
targetCompatibility = 1.9 | targetCompatibility = 1.9 | ||||
javaCompiler = javaToolchains.compilerFor { | javaCompiler = javaToolchains.compilerFor { | ||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | ||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor) | |||||
} | } | ||||
sourceCompatibility = 1.9 | sourceCompatibility = 1.9 | ||||
targetCompatibility = 1.9 | targetCompatibility = 1.9 |
javaCompiler = javaToolchains.compilerFor { | javaCompiler = javaToolchains.compilerFor { | ||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | ||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor) | |||||
} | } | ||||
sourceCompatibility = 1.9 | sourceCompatibility = 1.9 | ||||
targetCompatibility = 1.9 | targetCompatibility = 1.9 |
javaCompiler = javaToolchains.compilerFor { | javaCompiler = javaToolchains.compilerFor { | ||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | ||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor) | |||||
} | } | ||||
sourceCompatibility = 1.9 | sourceCompatibility = 1.9 | ||||
targetCompatibility = 1.9 | targetCompatibility = 1.9 |
javaCompiler = javaToolchains.compilerFor { | javaCompiler = javaToolchains.compilerFor { | ||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | ||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor) | |||||
} | } | ||||
sourceCompatibility = 1.9 | sourceCompatibility = 1.9 | ||||
targetCompatibility = 1.9 | targetCompatibility = 1.9 |
task compileJava9(type: JavaCompile, dependsOn: 'compileJava') { | task compileJava9(type: JavaCompile, dependsOn: 'compileJava') { | ||||
javaCompiler = javaToolchains.compilerFor { | javaCompiler = javaToolchains.compilerFor { | ||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | ||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor) | |||||
} | } | ||||
sourceCompatibility = 1.9 | sourceCompatibility = 1.9 | ||||
targetCompatibility = 1.9 | targetCompatibility = 1.9 |
javaCompiler = javaToolchains.compilerFor { | javaCompiler = javaToolchains.compilerFor { | ||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | ||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor) | |||||
} | } | ||||
sourceCompatibility = 1.9 | sourceCompatibility = 1.9 | ||||
targetCompatibility = 1.9 | targetCompatibility = 1.9 | ||||
javaCompiler = javaToolchains.compilerFor { | javaCompiler = javaToolchains.compilerFor { | ||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | ||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor) | |||||
} | } | ||||
sourceCompatibility = 1.9 | sourceCompatibility = 1.9 | ||||
targetCompatibility = 1.9 | targetCompatibility = 1.9 |
javaCompiler = javaToolchains.compilerFor { | javaCompiler = javaToolchains.compilerFor { | ||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | ||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor) | |||||
} | } | ||||
sourceCompatibility = 1.9 | sourceCompatibility = 1.9 | ||||
targetCompatibility = 1.9 | targetCompatibility = 1.9 | ||||
javaCompiler = javaToolchains.compilerFor { | javaCompiler = javaToolchains.compilerFor { | ||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | ||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor) | |||||
} | } | ||||
sourceCompatibility = 1.9 | sourceCompatibility = 1.9 | ||||
targetCompatibility = 1.9 | targetCompatibility = 1.9 |
javaCompiler = javaToolchains.compilerFor { | javaCompiler = javaToolchains.compilerFor { | ||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | ||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor) | |||||
} | } | ||||
sourceCompatibility = 1.9 | sourceCompatibility = 1.9 | ||||
targetCompatibility = 1.9 | targetCompatibility = 1.9 | ||||
javaCompiler = javaToolchains.compilerFor { | javaCompiler = javaToolchains.compilerFor { | ||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion)) | ||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor) | |||||
} | } | ||||
sourceCompatibility = 1.9 | sourceCompatibility = 1.9 | ||||
targetCompatibility = 1.9 | targetCompatibility = 1.9 |