Skip to content

Commit 75dc77f

Browse files
committed
Fix CI build 💚
- Fix Jacoco not generating coverage report
1 parent 27c6d83 commit 75dc77f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎android-json-form-wizard/build.gradle

+3-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ android {
4545
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
4646
}
4747
debug {
48-
testCoverageEnabled true
48+
testCoverageEnabled false
4949
}
5050
}
5151

@@ -66,6 +66,7 @@ android {
6666

6767
tasks.withType(Test) {
6868
jacoco.includeNoLocationClasses = true
69+
jacoco.excludes = ['jdk.internal.*']
6970
}
7071

7172
repositories {
@@ -172,7 +173,7 @@ dependencies {
172173
testImplementation "org.json:json:20220320"
173174
}
174175

175-
task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest', 'createDebugCoverageReport']) {
176+
task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest']) {
176177

177178
reports {
178179

0 commit comments

Comments
 (0)