]> source.dussan.org Git - poi.git/commitdiff
Gradle: Try to define project result output directories for the sonarqube plugin
authorDominik Stadler <centic@apache.org>
Sun, 25 Oct 2020 17:40:48 +0000 (17:40 +0000)
committerDominik Stadler <centic@apache.org>
Sun, 25 Oct 2020 17:40:48 +0000 (17:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882846 13f79535-47bb-0310-9956-ffa450edef68

build.gradle

index cd8420d1bd61f3bf9c86c5a7db1e0f1ab7eaa1bb..5aa8bb8b79ba7fb76e938298d824d7cf5a1bb7fb 100644 (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"
             }
         }
     }