Skip to content

Commit

Permalink
fix jacoco report output location for aggregated report
Browse files Browse the repository at this point in the history
  • Loading branch information
ole-ve committed Dec 17, 2024
1 parent dbe638e commit 830d2bd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gradle/jacoco.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ jacoco {
}

jacocoTestReport {
// For the aggregated report
reports {
xml.required = true
xml.outputLocation = file("build/reports/jacoco/test/jacocoCoverageReport.xml")
html.required = true
html.outputLocation = file("build/reports/jacoco/test/html")
}

finalizedBy reportedModules
.collect { module -> registerJacocoReportTask(module as String, jacocoTestReport) }
.findAll { task -> task != null}
Expand Down

0 comments on commit 830d2bd

Please sign in to comment.