From 8374537d5ad1cd6cc7541cc5ae5dc03ca3550dac Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sun, 25 Oct 2020 17:40:48 +0000 Subject: [PATCH] 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 --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index cd8420d1bd..5aa8bb8b79 100644 --- a/build.gradle +++ b/build.gradle @@ -185,6 +185,10 @@ subprojects { // as we currently use build// 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" } } } -- 2.39.5