Skip to content

Instantly share code, notes, and snippets.

@kdabir
Created August 2, 2016 13:04
Show Gist options
  • Save kdabir/e999b547cd03f30b87d3c055b2b81bc9 to your computer and use it in GitHub Desktop.
Save kdabir/e999b547cd03f30b87d3c055b2b81bc9 to your computer and use it in GitHub Desktop.
Enable Code Coverage
apply plugin: 'jacoco'
jacoco {
toolVersion = "0.7.7.201606060606"
reportsDir = file("$buildDir/coverage")
}
jacocoTestReport {
reports {
csv.enabled false
xml.enabled true
html.enabled true
html.destination "${buildDir}/jacocoHtml"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment