mirror of
https://github.com/apache/poi.git
synced 2026-02-27 12:30:08 +08:00
build issues
This commit is contained in:
parent
323b5c8c6b
commit
16ecbc7d48
@ -737,7 +737,7 @@ task jenkinsLite(dependsOn: [
|
||||
if (!f.exists()) {
|
||||
println 'writing file ' + f.getAbsolutePath()
|
||||
f.getParentFile().mkdirs()
|
||||
new URL('https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.11/lastSuccessfulBuild/artifact/build/xmlbeans-5.0.0.jar').withInputStream{ i -> f.withOutputStream{ it << i }}
|
||||
new URL('https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/lastSuccessfulBuild/artifact/build/xmlbeans-5.0.0.jar').withInputStream{ i -> f.withOutputStream{ it << i }}
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
@ -53,8 +53,8 @@ tasks.register('compileJava9', JavaCompile) {
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
|
||||
}
|
||||
sourceCompatibility = 1.11
|
||||
targetCompatibility = 1.11
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
destinationDirectory = file(JAVA9_OUT + VERSIONS9)
|
||||
source = file(JAVA9_SRC)
|
||||
classpath = files()
|
||||
|
||||
@ -63,8 +63,8 @@ tasks.register('compileJava9', JavaCompile) {
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
|
||||
}
|
||||
sourceCompatibility = 1.9
|
||||
targetCompatibility = 1.9
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
destinationDirectory = file(JAVA9_OUT + VERSIONS9)
|
||||
source = file(JAVA9_SRC)
|
||||
classpath = files()
|
||||
@ -80,8 +80,8 @@ tasks.register('compileTest9', JavaCompile) {
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
|
||||
}
|
||||
sourceCompatibility = 1.9
|
||||
targetCompatibility = 1.9
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
destinationDirectory = file(TEST9_OUT + VERSIONS9)
|
||||
source = file(TEST9_SRC)
|
||||
options.compilerArgs = [
|
||||
|
||||
@ -96,8 +96,8 @@ tasks.register('compileTest9', JavaCompile) {
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
|
||||
}
|
||||
sourceCompatibility = 1.9
|
||||
targetCompatibility = 1.9
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
destinationDirectory = file(TEST9_OUT + VERSIONS9)
|
||||
source = file(TEST9_SRC)
|
||||
options.compilerArgs = [
|
||||
|
||||
@ -60,8 +60,8 @@ tasks.register('compileJava9', JavaCompile) {
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
|
||||
}
|
||||
sourceCompatibility = 1.11
|
||||
targetCompatibility = 1.11
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
destinationDirectory = file(JAVA9_OUT + VERSIONS9)
|
||||
source = file(JAVA9_SRC)
|
||||
classpath = files()
|
||||
|
||||
@ -42,8 +42,8 @@ tasks.register('compileJava9', JavaCompile) {
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
|
||||
}
|
||||
sourceCompatibility = 1.11
|
||||
targetCompatibility = 1.11
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
destinationDirectory = file(JAVA9_OUT + VERSIONS9)
|
||||
source = file(JAVA9_SRC)
|
||||
classpath = files()
|
||||
|
||||
@ -93,8 +93,8 @@ task compileJava9(type: JavaCompile, dependsOn: 'compileJava') {
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
|
||||
}
|
||||
sourceCompatibility = 1.11
|
||||
targetCompatibility = 1.11
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
destinationDirectory = file(JAVA9_OUT + VERSIONS9)
|
||||
source = file(JAVA9_SRC)
|
||||
classpath = files()
|
||||
|
||||
@ -174,8 +174,8 @@ tasks.register('compileTest9', JavaCompile) {
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
|
||||
}
|
||||
sourceCompatibility = 1.11
|
||||
targetCompatibility = 1.11
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
destinationDirectory = file(TEST9_OUT + VERSIONS9)
|
||||
source = file(TEST9_SRC)
|
||||
options.compilerArgs = [
|
||||
@ -259,9 +259,9 @@ test {
|
||||
|
||||
doFirst {
|
||||
jvmArgs += [
|
||||
"-Xverify:all",
|
||||
"-XX:ErrorFile=../build/hs_err_pid%p.log",
|
||||
"-javaagent:${OOXML_LITE_AGENT}=${OOXML_LITE_REPORT}|${OOXML_LITE_INCLUDES}"
|
||||
'-Xverify:all',
|
||||
'-XX:ErrorFile=../build/hs_err_pid%p.log',
|
||||
"-javaagent:${OOXML_LITE_AGENT}=${OOXML_LITE_REPORT}|${OOXML_LITE_INCLUDES}",
|
||||
'--add-modules', MODULE_NAME,
|
||||
'--module-path', '../build/dist/maven/poi-ooxml-tests' + File.pathSeparator + files(TEST_MODULE_PATH).asPath,
|
||||
]
|
||||
|
||||
@ -58,8 +58,8 @@ tasks.register('compileJava9', JavaCompile) {
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
|
||||
}
|
||||
sourceCompatibility = 1.11
|
||||
targetCompatibility = 1.11
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
destinationDirectory = file(JAVA9_OUT + VERSIONS9)
|
||||
source = file(JAVA9_SRC)
|
||||
classpath = files()
|
||||
@ -75,8 +75,8 @@ tasks.register('compileTest9', JavaCompile) {
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
|
||||
}
|
||||
sourceCompatibility = 1.11
|
||||
targetCompatibility = 1.11
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
destinationDirectory = file(TEST9_OUT + VERSIONS9)
|
||||
source = file(TEST9_SRC)
|
||||
options.compilerArgs = [
|
||||
|
||||
@ -85,8 +85,8 @@ tasks.register('compileJava9', JavaCompile) {
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
|
||||
}
|
||||
sourceCompatibility = 1.9
|
||||
targetCompatibility = 1.9
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
destinationDirectory = file(JAVA9_OUT + VERSIONS9)
|
||||
source = file(JAVA9_SRC)
|
||||
classpath = files()
|
||||
@ -102,8 +102,8 @@ tasks.register('compileTest9', JavaCompile) {
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(Math.max(11, jdkVersion))
|
||||
}
|
||||
sourceCompatibility = 1.9
|
||||
targetCompatibility = 1.9
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
destinationDirectory = file(TEST9_OUT + VERSIONS9)
|
||||
source = file(TEST9_SRC)
|
||||
options.compilerArgs = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user