nuhkoca
11/11/2019, 6:16 PMjacoco
with Gradle Kotlin DSL
? I cannot have outputs inside the folder I specified within config blocks.
jacoco {
toolVersion = "0.8.5"
reportsDir = file("$buildDir/jacoco")
}
tasks.withType<JacocoReport> {
reports {
xml.isEnabled = false
csv.isEnabled = false
html.isEnabled = true
html.destination = file("${buildDir}/jacoco")
}
}
At the end, output path is always being ./app/build/reports/coverage/debug/report.xml
instead $buildDir/jacoco