Skip to content

Commit

Permalink
Add codeCoverageReport task
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Sauer committed Feb 3, 2019
1 parent 04fd9fb commit eb148d2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ pluginBundle {
}
}
}

task codeCoverageReport(type: JacocoReport) {
executionData fileTree(project.rootDir.absolutePath).include('**/build/jacoco/*.exec')
sourceSets sourceSets.main

reports {
xml.enabled true
xml.destination file("${buildDir}/reports/jacoco/report.xml")
html.enabled false
}
}

0 comments on commit eb148d2

Please sign in to comment.