-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathchecks.gradle
33 lines (31 loc) · 1.3 KB
/
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
31
32
33
jacocoTestCoverageVerification {
violationRules {
rule {
element = 'METHOD'
includes = ['se.svt.oss.mediaanalyzer.*']
excludes = [
'se.svt.oss.mediaanalyzer.file.*.get*',
'se.svt.oss.mediaanalyzer.ffprobe.FfError.*',
'se.svt.oss.mediaanalyzer.ffprobe.FfprobeAnalyzer.*',
'se.svt.oss.mediaanalyzer.ffprobe.*.get*',
'se.svt.oss.mediaanalyzer.mediainfo.*.get*',
'se.svt.oss.mediaanalyzer.ffprobe.UnknownStream.*',
'se.svt.oss.mediaanalyzer.ffprobe.Frame.*',
'se.svt.oss.mediaanalyzer.mediainfo.MediaInfoAnalyzer.analyze*',
'se.svt.oss.mediaanalyzer.util.ProcessUtil.*',
'*.log.1.invoke()',
'*FfprobeAnalyzer.isInterlaced$default*',
'*inlined.readValue*',
'*ProcessUtil.runAndParse.2.invoke()',
'*kotlin.jvm.internal.DefaultConstructorMarker)'
]
limit {
counter = 'LINE'
minimum = 0.7
}
}
failOnViolation = true
}
}
jacocoTestCoverageVerification.dependsOn jacocoTestReport
check.dependsOn jacocoTestCoverageVerification