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 23, 2024
1 parent ea655b8 commit e1bbeb5
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion analysis/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,23 @@ 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")
}
}

Expand Down

0 comments on commit e1bbeb5

Please sign in to comment.