diff --git a/app/build.gradle b/app/build.gradle index d199cb3b..63dc7d6a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -61,6 +61,9 @@ android { } buildTypes { + debug { + testCoverageEnabled true + } release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' diff --git a/app/jacoco.gradle b/app/jacoco.gradle index 2e8a001d..5d6019fa 100644 --- a/app/jacoco.gradle +++ b/app/jacoco.gradle @@ -47,9 +47,9 @@ task jacocoAndroidTestReport(type: JacocoReport) { reports { html.required = true - html.destination file("${buildDir}/reports/coverage") + html.outputLocation = file("${buildDir}/reports/coverage") xml.required = true - xml.destination file("${buildDir}/reports/coverage.xml") + xml.outputLocation = file("${buildDir}/reports/coverage.xml") csv.required = false }