I\'m trying to make jacoco create a code coverage report for my android test project. I have the following in build.gradle:
apply plugin: \'com.android.appli
Jacoco should be inside of the android closure and the jacoco plugin declaration is not necessary:
android
apply plugin: 'com.android.application' ... android { buildTypes { release { } debug { testCoverageEnabled true } } jacoco { toolVersion = "0.7.1.201405082137" } }