apply plugin: "jacoco"
jacoco {
toolVersion = "0.8.6"
}
tasks.named('jacocoTestReport').configure {
dependsOn('test')
reports {
xml.enabled true
csv.enabled false
html.destination file("${buildDir}/reports/jacoco/")