From dfe0de80b626bf09559131487c84ca6868447c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Santos?= Date: Wed, 27 Dec 2023 16:50:38 +0000 Subject: [PATCH] Restore testCoverageEnabled --- app/build.gradle | 3 +++ app/jacoco.gradle | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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 }