diff --git a/sonar/src/main/kotlin/com/bakdata/gradle/SonarPlugin.kt b/sonar/src/main/kotlin/com/bakdata/gradle/SonarPlugin.kt index c215e0a..8916332 100644 --- a/sonar/src/main/kotlin/com/bakdata/gradle/SonarPlugin.kt +++ b/sonar/src/main/kotlin/com/bakdata/gradle/SonarPlugin.kt @@ -99,7 +99,7 @@ class SonarPlugin : Plugin { configure { properties { property("sonar.coverage.jacoco.xmlReportPaths", - rootProject.tasks.withType().map { it.reports.xml.destination }) + rootProject.tasks.withType().map { it.reports.xml.outputLocation.asFile }) } } }