mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-21 23:48:18 -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
|
// And finally tell Jacoco to only include said files in the report
|
||||||
classDirectories = outputTree
|
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 {
|
reports {
|
||||||
xml.enabled true
|
xml.enabled true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user