Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Jan 22, 2025
1 parent 100e7ba commit 11876f1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sonar/src/main/kotlin/com/bakdata/gradle/SonarPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,8 @@ class SonarPlugin : Plugin<Project> {
// using a newer feature of sonarqube to use the xml reports which also makes it language-agnostic
configure<org.sonarqube.gradle.SonarExtension> {
properties {
property(
"sonar.coverage.jacoco.xmlReportPaths",
rootProject.tasks.withType<JacocoReport>().map { it.reports.xml.outputLocation.asFile })
property("sonar.coverage.jacoco.xmlReportPaths",
rootProject.tasks.withType<JacocoReport>().map { it.reports.xml.outputLocation.asFile })
}
}
}
Expand Down

0 comments on commit 11876f1

Please sign in to comment.