mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Remove unneeded code, retaining a comment for how to exclude certain projects
This commit is contained in:
parent
9fe04ac5b8
commit
662f72fde8
@ -43,29 +43,12 @@ def collectProjects(predicate) {
|
||||
return subprojects.findAll { it.buildFile.isFile() && predicate(it) }
|
||||
}
|
||||
|
||||
//task unitCodeCoverageReport(type: JacocoReport) {
|
||||
// outputs.upToDateWhen { false }
|
||||
// rootProject.apply plugin: 'jacoco'
|
||||
// def excludedProjects = [
|
||||
// 'olm-stub',
|
||||
// 'test-harness'
|
||||
// ]
|
||||
// def projects = collectProjects { !excludedProjects.contains(it.name) }
|
||||
// dependsOn { ["app:assembleDebug"] + projects*.test }
|
||||
// initializeReport(it, projects, excludes)
|
||||
//}
|
||||
//
|
||||
//task harnessCodeCoverageReport(type: JacocoReport) {
|
||||
// outputs.upToDateWhen { false }
|
||||
// rootProject.apply plugin: 'jacoco'
|
||||
// def projects = collectProjects { true }
|
||||
// dependsOn { ["app:assembleDebug", project(":test-harness").test] }
|
||||
// initializeReport(it, projects, excludes)
|
||||
//}
|
||||
|
||||
task allCodeCoverageReport(type: JacocoReport) {
|
||||
outputs.upToDateWhen { false }
|
||||
rootProject.apply plugin: 'jacoco'
|
||||
// to limit projects in a specific report, add
|
||||
// def excludedProjects = [ ... ]
|
||||
// def projects = collectProjects { !excludedProjects.contains(it.name) }
|
||||
def projects = collectProjects { true }
|
||||
dependsOn { projects*.test }
|
||||
initializeReport(it, projects, excludes)
|
||||
|
Loading…
Reference in New Issue
Block a user