Gradle: Try to define project result output directories for the sonarqube plugin

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882846 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2020-10-25 17:40:48 +00:00
parent 5e2db1b02f
commit 8374537d5a

View File

@ -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"
}
}
}