jacoco.includeNoLocationClasses for instrumentation test change
aygalinc opened this issue · 3 comments
aygalinc commented
Hi,
As explained here : https://veskoiliev.com/how-to-setup-jacoco-for-android-project-with-java-kotlin-and-multiple-flavours/ , android Dsl syntax as change in version 3.3.0 and so the valid way to configure this is now :
tasks.withType(Test) {
jacoco.includeNoLocationClasses = true
}
vanniktech commented
Mind creating a PR for that?
vanniktech commented
Thanks for your PR in #150
I've merged it
grndvl1 commented
Where is this flag for Kotlin DSL.
tasks.withType<Test> {
useJUnitPlatform()
// this option is not available
jacoco.includeNoLocationClasses = true.
}