|
|
|
@ -65,6 +65,7 @@ internal fun Project.configureJacoco(
|
|
|
|
commonExtension: CommonExtension,
|
|
|
|
commonExtension: CommonExtension,
|
|
|
|
androidComponentsExtension: AndroidComponentsExtension<*, *, *>,
|
|
|
|
androidComponentsExtension: AndroidComponentsExtension<*, *, *>,
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
|
|
|
|
// Configure only the debug build, otherwise it will force the debuggable flag on release buildTypes as well
|
|
|
|
commonExtension.buildTypes.named("debug") {
|
|
|
|
commonExtension.buildTypes.named("debug") {
|
|
|
|
enableAndroidTestCoverage = true
|
|
|
|
enableAndroidTestCoverage = true
|
|
|
|
enableUnitTestCoverage = true
|
|
|
|
enableUnitTestCoverage = true
|
|
|
|
|