diff --git a/sonar/build.gradle.kts b/sonar/build.gradle.kts index cdb3694..d978929 100644 --- a/sonar/build.gradle.kts +++ b/sonar/build.gradle.kts @@ -7,7 +7,7 @@ apply(plugin = "org.gradle.kotlin.kotlin-dsl") description = "Configures sonar for multi project setups for all jvm languages" dependencies { - implementation( "org.sonarsource.scanner.gradle", "sonarqube-gradle-plugin", "3.4.0.2513") + implementation( "org.sonarsource.scanner.gradle", "sonarqube-gradle-plugin", "4.4.1.3373") } tasks.withType { diff --git a/sonar/src/main/kotlin/com/bakdata/gradle/SonarPlugin.kt b/sonar/src/main/kotlin/com/bakdata/gradle/SonarPlugin.kt index e55c709..2a9ecf1 100644 --- a/sonar/src/main/kotlin/com/bakdata/gradle/SonarPlugin.kt +++ b/sonar/src/main/kotlin/com/bakdata/gradle/SonarPlugin.kt @@ -101,7 +101,7 @@ class SonarPlugin : Plugin { } // using a newer feature of sonarqube to use the xml reports which also makes it language-agnostic - configure { + configure { properties { property("sonar.coverage.jacoco.xmlReportPaths", rootProject.tasks.withType().map { it.reports.xml.destination })