File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ def jacocoExclusions = [
21
21
' **/io/temporal/internal/docker/RegisterTestNamespace**'
22
22
]
23
23
24
+ def jacocoSubprojects = (subprojects- project(' :temporal-bom' ))
25
+
24
26
reporting {
25
27
reports {
26
28
testCodeCoverageReport(JacocoCoverageReport ) {
@@ -36,18 +38,21 @@ testCodeCoverageReport {
36
38
}
37
39
38
40
getClassDirectories(). setFrom(files(
39
- subprojects . collect {it. fileTree(dir : " ${ it.buildDir} /classes" , exclude : jacocoExclusions)}
41
+ jacocoSubprojects . collect {it. fileTree(dir : " ${ it.buildDir} /classes" , exclude : jacocoExclusions)}
40
42
))
41
43
}
42
44
43
45
coverallsJacoco {
44
46
reportPath = " build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml"
45
- reportSourceSets = subprojects . sourceSets. main. allSource. srcDirs. flatten()
47
+ reportSourceSets = jacocoSubprojects . sourceSets. main. allSource. srcDirs. flatten()
46
48
}
47
49
48
50
tasks. coverallsJacoco. dependsOn(testCodeCoverageReport)
49
51
50
52
subprojects {
53
+ if (name == ' temporal-bom' ) {
54
+ return
55
+ }
51
56
apply plugin : ' jacoco'
52
57
53
58
jacoco {
You can’t perform that action at this time.
0 commit comments