From 4ef37ef02b1fa335aaac86d0bc3957c2b966789d Mon Sep 17 00:00:00 2001 From: Julian Harty Date: Tue, 18 Sep 2018 15:21:24 +0200 Subject: [PATCH] Got Code Coverage Reports working while preserving dev debugging! Wow, this 1 line change was painful to discover and apply. Many of the details are in https://github.com/kiwix/kiwix-android/issues/836 NB: We've still to arrange and enable code coverage to be generated in the CI process. --- app/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index e9ffbc0e1..f6d6a669e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -176,6 +176,8 @@ android { cruncherEnabled true } + testBuildType "coverage" + lintOptions { // Treat lint seriously abortOnError true