Skip to content

Commit

Permalink
Solve jacoco config issue
Browse files Browse the repository at this point in the history
Signed-off-by: Max Lambrecht <[email protected]>
  • Loading branch information
maxlambrecht committed Feb 16, 2024
1 parent 4a4bb0d commit 0459336
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,6 @@ task jacocoTestReport(type: JacocoReport) {
xml.required = true
html.required = true
}

jacocoTestReport.dependsOn subprojects.collectMany { subproject ->
subproject.tasks.matching { it.name == 'test' }
}

}

coveralls {
Expand All @@ -165,6 +160,12 @@ coveralls {
'java-spiffe-provider/src/main/java']
}

jacocoTestReport.dependsOn {
subprojects.collectMany { project ->
project.tasks.matching { it.name in ['javadoc', 'test'] }
}
}

// copy submodules jars to a common folder for deploy
task copyJars(type: Copy) {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
Expand Down

0 comments on commit 0459336

Please sign in to comment.