Skip to content

Commit

Permalink
Remove xml reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
flawmop committed Aug 20, 2024
1 parent 51588b1 commit aaf0220
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,21 +84,20 @@ testing {
// https://github.com/gradle/gradle/issues/19217#
// https://github.com/rkrisztian/search/blob/ec93a56c6d01f5398fcb626a0fbefc8c18bbc267/build.gradle
tasks.named('jacocoTestReport').configure {
enabled = false
enabled = false
}

tasks.register('codeCoverageReport', JacocoReport) {
sourceSets sourceSets.main
sourceSets sourceSets.main

tasks.matching({ t -> t.extensions.findByType(JacocoTaskExtension) }).forEach { testTask ->
executionData testTask
dependsOn testTask
}
tasks.matching({ t -> t.extensions.findByType(JacocoTaskExtension) }).forEach { testTask ->
executionData testTask
dependsOn testTask
}

reports {
xml.required = true
html.required = true
}
reports {
html.required = true
}
}

tasks.named('check') {
Expand Down

0 comments on commit aaf0220

Please sign in to comment.