Skip to content

Commit

Permalink
Replace deprecated JacocoMerge task
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Feb 21, 2024
1 parent 7a1f451 commit 5599906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonar/src/main/kotlin/com/bakdata/gradle/SonarPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class SonarPlugin : Plugin<Project> {
configure<org.sonarqube.gradle.SonarExtension> {
properties {
property("sonar.coverage.jacoco.xmlReportPaths",
rootProject.tasks.withType<JacocoReport>().map { it.reports.xml.destination })
rootProject.tasks.withType<JacocoReport>().map { it.reports.xml.outputLocation.asFile })
}
}
}
Expand Down

0 comments on commit 5599906

Please sign in to comment.