diff --git a/core/data/build.gradle.dcl b/core/data/build.gradle.dcl index 59ef04f64..be36b9632 100644 --- a/core/data/build.gradle.dcl +++ b/core/data/build.gradle.dcl @@ -1,8 +1,6 @@ androidLibrary { namespace = "com.google.samples.apps.nowinandroid.core.data" - configureJacoco = true - dependencies { api(project(":core:common")) api(project(":core:database")) @@ -23,6 +21,10 @@ androidLibrary { json() } + jacoco { + version = "0.8.7" + } + testOptions { includeAndroidResources = true returnDefaultValues = true diff --git a/core/domain/build.gradle.dcl b/core/domain/build.gradle.dcl index 4f3b430ad..7ef7e257f 100644 --- a/core/domain/build.gradle.dcl +++ b/core/domain/build.gradle.dcl @@ -1,8 +1,6 @@ androidLibrary { namespace = "com.google.samples.apps.nowinandroid.core.domain" - configureJacoco = true - dependencies { implementation("javax.inject:javax.inject:1") @@ -12,6 +10,10 @@ androidLibrary { testImplementation(project(":core:testing")) } + jacoco { + version = "0.8.7" + } + buildTypes { // Need the empty closure to avoid "dangling pure expression" error debug {}