mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-24 00:48:16 -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/cmwmobile/**',
|
||||
'org/bspeice/minimalbible/R*',
|
||||
'**/*$$*'
|
||||
'**/BookAdapter$ChapterInfo*',
|
||||
'**/*$$*' // Dagger/Butterknife
|
||||
]
|
||||
|
||||
dependencies {
|
||||
@ -71,7 +72,9 @@ jacocoTestReport {
|
||||
}
|
||||
|
||||
// And finally tell Jacoco to only include said files in the report
|
||||
// For whatever reason, firstVariant.javaCompile.exclude(jacocoExcludes) doesn't work...
|
||||
classDirectories = outputTree
|
||||
sourceDirectories = files(androidModule.android.sourceSets.main.java.srcDirs)
|
||||
}
|
||||
|
||||
reports {
|
||||
|
Loading…
Reference in New Issue
Block a user