diff options
author | Dominik Stadler <centic@apache.org> | 2021-04-15 14:25:38 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2021-04-15 14:25:38 +0000 |
commit | 930e57665998099e8a4af61a96b4338144088e6d (patch) | |
tree | 63b9a2dd13f699e610413dc2d907723b74ea7c84 /poi-excelant | |
parent | bb5d321b79193b98051f435621f5044842716c4e (diff) | |
download | poi-930e57665998099e8a4af61a96b4338144088e6d.tar.gz poi-930e57665998099e8a4af61a96b4338144088e6d.zip |
Gradle: Synchronize the code in the different build-scripts across the projects
No actual change in behavior expected
Mostly moved parts to make it easier to compare the build files with each other
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888791 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-excelant')
-rw-r--r-- | poi-excelant/build.gradle | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle index 4c2b063f32..5dea6d7b2d 100644 --- a/poi-excelant/build.gradle +++ b/poi-excelant/build.gradle @@ -29,6 +29,10 @@ final String TEST9_SRC = 'src/test/java9' final String TEST9_OUT = "${buildDir}/classes/java9/test/" final String VERSIONS9 = 'META-INF/versions/9' +configurations { + tests +} + sourceSets { main { if (JavaVersion.current() != JavaVersion.VERSION_1_8) { @@ -42,10 +46,6 @@ sourceSets { } } -configurations { - tests -} - dependencies { api 'org.apache.ant:ant:1.10.9' @@ -193,7 +193,7 @@ test { "-javaagent:${OOXML_LITE_AGENT}=${OOXML_LITE_REPORT}|${OOXML_LITE_INCLUDES}", '-Djunit.jupiter.execution.parallel.enabled=true', '-Djunit.jupiter.execution.parallel.config.strategy=fixed', - '-Djunit.jupiter.execution.parallel.config.fixed.parallelism=3', + '-Djunit.jupiter.execution.parallel.config.fixed.parallelism=3' // -Xjit:verbose={compileStart|compileEnd},vlog=build/jit.log${no.jit.sherlock} ... if ${isIBMVM} ] if (JavaVersion.current() != JavaVersion.VERSION_1_8) { @@ -201,6 +201,7 @@ test { '-Dsun.reflect.debugModuleAccessChecks=true', '-Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true', '--illegal-access=warn', + '--add-modules', MODULE_NAME, // see https://github.com/java9-modularity/gradle-modules-plugin/issues/97 |