Skip to content

Instantly share code, notes, and snippets.

@pavlospt
Created August 28, 2018 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pavlospt/d844e775dc0de2025293d31c98b8dae3 to your computer and use it in GitHub Desktop.
Save pavlospt/d844e775dc0de2025293d31c98b8dae3 to your computer and use it in GitHub Desktop.
gradle.taskGraph.whenReady { graph ->
// Be careful if you are also using --continue elsewhere.
if (gradle.startParameter.continueOnFailure) {
graph.allTasks.findAll { it.name ==~ /yourTestTask/ }*.ignoreFailures = true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment