mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-12-22 14:48:23 -05:00
Move sourceDirectories to config time
This commit is contained in:
parent
67646cde2e
commit
e4ab12f4ab
@ -72,9 +72,13 @@ jacocoTestReport {
|
||||
|
||||
// And finally tell Jacoco to only include said files in the report
|
||||
classDirectories = outputTree
|
||||
sourceDirectories = files(androidModule.android.sourceSets.main.java.srcDirs)
|
||||
}
|
||||
|
||||
// We must specify sourceDirectories here (not in doFirst) because this
|
||||
// will happen at configuration time. We only want to change classDirectories
|
||||
// when generating the actual report
|
||||
sourceDirectories = files(androidModule.android.sourceSets.main.java.srcDirs)
|
||||
|
||||
reports {
|
||||
xml.enabled true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user