Remove the 'cleanAll' task

This commit is contained in:
Ilya Matveev
2018-04-23 13:01:34 +07:00
committed by ilmat192
parent 772c48e61e
commit bccbf2a72c
+1 -6
View File
@@ -423,14 +423,9 @@ task performance {
}
task clean {
dependsOn subprojects.collect { it.tasks.matching { it.name == "clean" } }
doLast {
delete distDir
delete bundle.outputs.files
}
}
// Don't run with other tasks (e.g. ./gradlew cleanAll bundle)
task cleanAll {
// dependsOn gradle.includedBuilds.collect { it.task(":clean") }
dependsOn project.getTasksByName("clean", true)
}