Fixed an issue, with the help of where Gradle would complain about not being able to create a task with a given name because it already existed.
@@ -158,8 +158,10 @@ configure(subprojects.findAll { it.path.startsWith(':sdk:') && it.path.count(':'
project.gradle.startParameter.taskNames.each { task ->
task = task.split(':').last()
+ if (tasks.findByPath(task) == null) {
tasks.create(task) {
subprojects.each { dependsOn("$it.name:$task") }
}
}
}
+}
