Skip to content

Commit 188b53f

Browse files
committed
moved jacocoTestReport to test instead of build phase
1 parent 86e8458 commit 188b53f

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

tools/jacoco/build.gradle

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,22 @@ jacoco {
3535
// })
3636
// }
3737
//}
38-
build.finalizedBy jacocoTestReport
38+
3939

4040
jacocoTestCoverageVerification {
4141
violationRules {
4242

43-
// rule {
44-
// element = 'METHOD'
45-
// limit {
46-
// counter = 'LINE'
47-
// value = 'COVEREDRATIO'
48-
// minimum = 1.0
49-
// }
50-
// excludes = [
51-
// 'io.reflectoring.coverage.part.PartlyCovered.partlyCovered(java.lang.String, boolean)',
52-
// ]
53-
// }
43+
rule {
44+
element = 'METHOD'
45+
limit {
46+
counter = 'LINE'
47+
value = 'COVEREDRATIO'
48+
minimum = 1.0
49+
}
50+
excludes = [
51+
'io.reflectoring.coverage.part.PartlyCovered.partlyCovered(java.lang.String, boolean)',
52+
]
53+
}
5454

5555
rule {
5656
element = 'CLASS'
@@ -80,6 +80,7 @@ jacocoTestCoverageVerification {
8080

8181
}
8282

83+
test.finalizedBy jacocoTestReport
8384
check.dependsOn jacocoTestCoverageVerification
8485

8586

0 commit comments

Comments
 (0)