mirror of
https://github.com/MinimalBible/MinimalBible
synced 2025-07-01 05:45:58 -04:00
Register the source files with Jacoco
Also remove a data class from the report
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user