I'm using Robolectric
and JaCoCo
together. My code coverage reports do not work without the following lines of code in gradle script:
testOptions {
unitTests.all {
jacoco {
includeNoLocationClasses = true
}
}
}
But in the recent version of Gradle the JaCoCo extension, that I use here, is marked as deprecated. I could not find any replacement for it. So, where should I apply the includeNoLocationClasses = true
option?