Skip to content

Commit

Permalink
Update jacoco testreport path #3025
Browse files Browse the repository at this point in the history
  • Loading branch information
fritschldwg committed Apr 24, 2024
1 parent f84b20d commit b739527
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion analysis/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,24 @@ tasks.named<JacocoReport>("jacocoTestReport") {

reports {
xml.required.set(true)
html.required.set(false)
}

classDirectories.setFrom(
files(
classDirectories.files.map {
fileTree(it) {
exclude("**/AttributeDescriptors**")
}
},
),
)
}

configure<SonarExtension> {
properties {
property("sonar.coverage.jacoco.xmlReportPaths", "${project.rootDir}/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml")
property("sonar.coverage.jacoco.xmlReportPaths", "${project.rootDir}/build/reports/jacoco/test/jacocoTestReport.xml")
property("sonar.exclusions", "**/*AttributeDescriptors*")
}
}

Expand Down

0 comments on commit b739527

Please sign in to comment.