-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcoverage.gradle
More file actions
36 lines (35 loc) · 869 Bytes
/
coverage.gradle
File metadata and controls
36 lines (35 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
jacoco {
toolVersion = "0.8.5"
}
check.dependsOn jacocoTestCoverageVerification
jacocoTestCoverageVerification {
violationRules {
rule {
limit {
counter = 'LINE'
value = 'COVEREDRATIO'
minimum = 0.87
}
limit {
counter = 'BRANCH'
value = 'COVEREDRATIO'
minimum = 0.75
}
limit {
counter = 'CLASS'
value = 'COVEREDRATIO'
minimum = 1.00
}
limit {
counter = 'INSTRUCTION'
value = 'COVEREDRATIO'
minimum = 0.86
}
limit {
counter = 'METHOD'
value = 'COVEREDRATIO'
minimum = 0.84
}
}
}
}