-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathchecks.gradle
30 lines (28 loc) · 988 Bytes
/
checks.gradle
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
jacocoTestCoverageVerification {
violationRules {
rule {
element = 'METHOD'
includes = ['se.svt.oss.encore.*']
excludes = [
'*.invoke()',
'*.EncoreProperties*.get*()',
'*.DefaultConstructorMarker*',
'*ApplicationKt.main*',
'*.static {...}',
'*.model.*.get*',
'*.service.localencode.LocalEncodeService.moveFile*',
'*QueueService.getQueue*',
'*QueueService.migrateQueues()',
'*.ShutdownHandler.*',
'*FfmpegExecutor.runFfmpeg$lambda$7(java.lang.Process)',
]
limit {
counter = 'LINE'
minimum = 0.7
}
}
failOnViolation = true
}
}
jacocoTestCoverageVerification.dependsOn jacocoTestReport
check.dependsOn jacocoTestCoverageVerification