Skip to content

Commit

Permalink
Excludes UI components from Jacoco Reports coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
edimoral committed Mar 10, 2024
1 parent 4042ed8 commit 77c131d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,14 @@ jacocoTestCoverageVerification {
]
}
}
afterEvaluate {
classDirectories.setFrom(files(classDirectories.files.collect {
fileTree(dir: it, exclude: [
// Patterns to exclude
'jpass/ui/**'
])
}))
}
}

distTar.enabled = false
Expand Down

0 comments on commit 77c131d

Please sign in to comment.