Skip to content

Commit

Permalink
Trying again to set up test coverage analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasSchaub committed Dec 19, 2023
1 parent 22f24b4 commit 749daff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,15 @@ task fatJar(type: Jar) {
with jar
}

test {
finalizedBy jacocoTestReport // report is always generated after tests run
}

jacocoTestReport {
reports {
xml.required = true
}
dependsOn test // tests are required to run before generating the report
}

spotless {
Expand Down

0 comments on commit 749daff

Please sign in to comment.