opentelemetry-java-instrume.../gradle/jacoco.gradle

15 lines
242 B
Groovy

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/")
}
}