avoid running coverage of submodule, it's already captured by its own repo

This commit is contained in:
Adam Brown 2022-12-10 14:55:44 +00:00
parent 68130caf6e
commit 09c2f76e5d
1 changed files with 0 additions and 1 deletions

View File

@ -77,7 +77,6 @@ task allCodeCoverageReport(type: JacocoReport) {
rootProject.apply plugin: 'jacoco' rootProject.apply plugin: 'jacoco'
def projects = collectProjects { !it.name.contains("stub") && !it.name.contains("-noop") } def projects = collectProjects { !it.name.contains("stub") && !it.name.contains("-noop") }
dependsOn { ["app:assembleDebug"] + projects*.test } dependsOn { ["app:assembleDebug"] + projects*.test }
dependsOn gradle.includedBuild("chat-engine").task(":allCodeCoverageReport")
initializeReport(it, projects, excludes) initializeReport(it, projects, excludes)
} }