mirror of
https://github.com/ouchadam/small-talk.git
synced 2025-02-02 04:26:46 +01:00
ignoring stub modules from coverage report
This commit is contained in:
parent
c6abba5638
commit
e0a7830b5d
@ -89,7 +89,7 @@ def collectProjects(predicate) {
|
||||
task allCodeCoverageReport(type: JacocoReport) {
|
||||
outputs.upToDateWhen { false }
|
||||
rootProject.apply plugin: 'jacoco'
|
||||
def projects = collectProjects { true }
|
||||
def projects = collectProjects { !it.name.contains("stub") }
|
||||
dependsOn { ["app:assembleDebug"] + projects*.test }
|
||||
initializeReport(it, projects, excludes)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user