You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2021/01/03 17:02:24 UTC

svn commit: r1885071 - /poi/trunk/build.gradle

Author: centic
Date: Sun Jan  3 17:02:24 2021
New Revision: 1885071

URL: http://svn.apache.org/viewvc?rev=1885071&view=rev
Log:
Enable XML result files for Gradle build to make them available for Jenkins CI

Modified:
    poi/trunk/build.gradle

Modified: poi/trunk/build.gradle
URL: http://svn.apache.org/viewvc/poi/trunk/build.gradle?rev=1885071&r1=1885070&r2=1885071&view=diff
==============================================================================
--- poi/trunk/build.gradle (original)
+++ poi/trunk/build.gradle Sun Jan  3 17:02:24 2021
@@ -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 {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org