Anyone did setup `jacoco` with `Gradle Kotlin DSL`...
# gradle
n
Anyone did setup
jacoco
with
Gradle Kotlin DSL
? I cannot have outputs inside the folder I specified within config blocks.
Copy code
jacoco {
    toolVersion = "0.8.5"
    reportsDir = file("$buildDir/jacoco")
}
Copy code
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