--
You received this message because you are subscribed to the Google Groups "adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It looks like you are creating a task that is meant to run a separate Gradle call, per subproject. so each project is called with --continue, but the first call isn't.--continue is used very specifically by task of type Test so that they do not throw an exception if a test fail in order to not stop the execution of Gradle. The GradleBuild task likely doesn't do that.I would find a different solution. For instance create a simple empty task, then figure out which projects you want to run (since it seems to be dynamic), and simply make you empty task depend on the project task using the "fully-qualified" task name (:mysubproject:connectedAndroidTest').
--
You received this message because you are subscribed to the Google Groups "adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
//if in start command "--continue" was added, then apply ignoring for android test fails
gradle.taskGraph.whenReady { graph ->
if (gradle.startParameter.continueOnFailure) {
graph.allTasks.findAll { it.name ==~ /connected.*AndroidTest/ }*.ignoreFailures = true
}
}