File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
taskcluster/scripts/toolchain Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -87,13 +87,11 @@ subprojects {
8787
8888 afterEvaluate {
8989 if (it. hasProperty(' android' )) {
90- jacoco {
91- toolVersion = libs. versions. jacoco. get()
92- }
93-
9490 android {
95-
9691 testOptions {
92+ testCoverage {
93+ jacocoVersion = libs. versions. jacoco. get()
94+ }
9795 unitTests {
9896 includeAndroidResources = true
9997 }
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ pushd $PROJECT_DIR
1919. taskcluster/scripts/toolchain/android-gradle-dependencies/before.sh
2020
2121# We build everything to be sure to fetch all dependencies
22- ./gradlew --no-daemon -PgoogleRepo=' http://localhost:8081/nexus/content/repositories/google/' -PcentralRepo=' http://localhost:8081/nexus/content/repositories/central/' assemble assembleAndroidTest bundle test lint ktlint detekt
22+ ./gradlew --no-daemon -Pcoverage - PgoogleRepo=' http://localhost:8081/nexus/content/repositories/google/' -PcentralRepo=' http://localhost:8081/nexus/content/repositories/central/' assemble assembleAndroidTest bundle test lint ktlint detekt
2323
2424. taskcluster/scripts/toolchain/android-gradle-dependencies/after.sh
2525
You can’t perform that action at this time.
0 commit comments