Skip to content

Commit

Permalink
Fix CI build πŸ’š
Browse files Browse the repository at this point in the history
- Fix Jacoco not generating coverage report
  • Loading branch information
ndegwamartin committed Jun 17, 2022
1 parent 27c6d83 commit 75dc77f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions android-json-form-wizard/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
testCoverageEnabled true
testCoverageEnabled false
}
}

Expand All @@ -66,6 +66,7 @@ android {

tasks.withType(Test) {
jacoco.includeNoLocationClasses = true
jacoco.excludes = ['jdk.internal.*']
}

repositories {
Expand Down Expand Up @@ -172,7 +173,7 @@ dependencies {
testImplementation "org.json:json:20220320"
}

task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest', 'createDebugCoverageReport']) {
task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest']) {

reports {

Expand Down

0 comments on commit 75dc77f

Please sign in to comment.