diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2021-08-28 23:48:48 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2021-08-28 23:48:48 +0000 |
commit | f71cebcce5ed809ee15cd69524f8cb0b0b2ea47c (patch) | |
tree | 4f9f798ae3acd7a3e50a675becbe85055d1beff6 /build.gradle | |
parent | 6d9b450ce31209014d945a13c65fc23cb29a351c (diff) | |
download | poi-f71cebcce5ed809ee15cd69524f8cb0b0b2ea47c.tar.gz poi-f71cebcce5ed809ee15cd69524f8cb0b0b2ea47c.zip |
sonar fixes
close resources in tests
fix gradle warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892683 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle index 1522a04637..38f45d8684 100644 --- a/build.gradle +++ b/build.gradle @@ -209,7 +209,7 @@ subprojects { // make XML test-results available for Jenkins CI useJUnitPlatform() reports { - junitXml.enabled = true + junitXml.required = true } // Exclude some tests that are not actually tests or do not run cleanly on purpose @@ -238,7 +238,7 @@ subprojects { "-Dversion.id=${project.version}", '-ea', '-Djunit.jupiter.execution.parallel.config.strategy=fixed', - '-Djunit.jupiter.execution.parallel.config.fixed.parallelism=3' + '-Djunit.jupiter.execution.parallel.config.fixed.parallelism=2' // -Xjit:verbose={compileStart|compileEnd},vlog=build/jit.log${no.jit.sherlock} ... if ${isIBMVM} ] @@ -278,7 +278,7 @@ subprojects { jacocoTestReport { reports { - xml.enabled true + xml.required = true } } @@ -396,6 +396,7 @@ subprojects { spotbugs { ignoreFailures = true + showStackTraces = false } } @@ -536,7 +537,7 @@ task replaceVersion() { task zipJavadocs(type: Zip, dependsOn: allJavaDoc) { from('build/docs/javadoc/') - destinationDir = file('build/dist') + destinationDirectory = file('build/dist') archiveBaseName = 'poi' archiveVersion = subprojects[0].version archiveAppendix = 'javadoc' |