-
Notifications
You must be signed in to change notification settings - Fork 1
/
jacoco.gradle
35 lines (32 loc) · 859 Bytes
/
jacoco.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
34
35
apply plugin: 'jacoco-android'
jacoco {
toolVersion = "0.8.4"
}
tasks.withType(Test) {
jacoco.includeNoLocationClasses = true
}
jacocoAndroidUnitTestReport {
excludes += [
'**/R.class',
'**/R$*.class',
'**/*$ViewInjector*.*',
'**/BuildConfig.*',
'**/Manifest*.*',
'**/*Test*.*',
'**/android/**',
'**/utils/**',
'**/di/**',
'**/adapter/**',
'**/fragment/**',
'**/room/**',
'**/retrofit/**',
'**/factory/**',
'**/state/**',
'**/databinding/**',
'**/DataBinderMapperImpl.class',
'**/DataBindingTriggerClass.class',
'**/DataBindingInfo.class',
'**/BR.class',
'**/*DataBinderMapperImpl*.*'
]
}