Skip to content

Commit

Permalink
Endrer til rett property for å angi JaCoCo-rapport.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc3092 committed Jan 25, 2024
1 parent e08d963 commit b36aa2b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions apps/budpro-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,16 @@ test {
jvmArgs '--add-opens', 'java.base/java.lang=ALL-UNNAMED'
}

jacocoTestReport {
reports {
xml.required = true
}
}
//jacocoTestReport {
// reports {
// xml.required = true
// }
//}

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
//property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.groovy.jacoco.reportPath", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
Expand Down

0 comments on commit b36aa2b

Please sign in to comment.