mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-24 08:58:20 -05:00
Register the source files with Jacoco
Also remove a data class from the report
This commit is contained in:
parent
6e3f60f0ec
commit
c5e7fe8f41
@ -35,7 +35,8 @@ def jacocoExcludes = [
|
|||||||
'com/todddavies/**',
|
'com/todddavies/**',
|
||||||
'com/cmwmobile/**',
|
'com/cmwmobile/**',
|
||||||
'org/bspeice/minimalbible/R*',
|
'org/bspeice/minimalbible/R*',
|
||||||
'**/*$$*'
|
'**/BookAdapter$ChapterInfo*',
|
||||||
|
'**/*$$*' // Dagger/Butterknife
|
||||||
]
|
]
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@ -71,7 +72,9 @@ jacocoTestReport {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// And finally tell Jacoco to only include said files in the report
|
// And finally tell Jacoco to only include said files in the report
|
||||||
|
// For whatever reason, firstVariant.javaCompile.exclude(jacocoExcludes) doesn't work...
|
||||||
classDirectories = outputTree
|
classDirectories = outputTree
|
||||||
|
sourceDirectories = files(androidModule.android.sourceSets.main.java.srcDirs)
|
||||||
}
|
}
|
||||||
|
|
||||||
reports {
|
reports {
|
||||||
|
Loading…
Reference in New Issue
Block a user