Author: centic
Date: Sun Oct 25 17:40:48 2020
New Revision: 1882846
URL: http://svn.apache.org/viewvc?rev=1882846&view=rev
Log:
Gradle: Try to define project result output directories for the sonarqube plugin
Modified:
poi/trunk/build.gradle
Modified: poi/trunk/build.gradle
URL:
http://svn.apache.org/viewvc/poi/trunk/build.gradle?rev=1882846&r1=1882845&r2=1882846&view=diff
==============================================================================
--- poi/trunk/build.gradle (original)
+++ poi/trunk/build.gradle Sun Oct 25 17:40:48 2020
@@ -185,6 +185,10 @@ subprojects {
// as we currently use build/<module>/ as project-basedir, we
need to tell Sonar to use
// the root-folder as "basedir" for the projects
property "sonar.projectBaseDir", "$projectDir/../.."
+
+ // the plugin seems to not detect our non-standard build-layout
+ property "sonar.junit.reportPaths",
"$projectDir/build/test-results/test"
+ property "sonar.coverage.jacoco.xmlReportPaths",
"$projectDir/build/jacoco/test.exec"
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]