summaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2021-01-03 17:02:24 +0000
committerDominik Stadler <centic@apache.org>2021-01-03 17:02:24 +0000
commita0b0e3a4a7d58330a8bcbac87786dab2b3bd14b0 (patch)
treed499da59ae18b0d50a288a723ac9984d5779f2dc /build.gradle
parentf34b731e3af7c08fe9aa10da37d2a3d4a7b31e69 (diff)
downloadpoi-a0b0e3a4a7d58330a8bcbac87786dab2b3bd14b0.tar.gz
poi-a0b0e3a4a7d58330a8bcbac87786dab2b3bd14b0.zip
Enable XML result files for Gradle build to make them available for Jenkins CI
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885071 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index a42b0a8f21..0014bd51ea 100644
--- a/build.gradle
+++ b/build.gradle
@@ -142,6 +142,12 @@ subprojects {
}
test {
+ // make XML test-results available for Jenkins CI
+ useJUnitPlatform()
+ reports {
+ junitXml.enabled = true
+ }
+
// Exclude some tests that are not actually tests or do not run cleanly on purpose
exclude '**/BaseTestBorderStyle.class'
exclude '**/BaseTestCellUtil.class'
@@ -372,6 +378,7 @@ project('excelant') {
testCompile project(path: ':main', configuration: 'tests')
testCompile "org.junit.jupiter:junit-jupiter:${junitVersion}"
+ testCompile 'org.hamcrest:hamcrest:2.2'
}
jar {