Is there a Gradle property that represents the --continue switch?

(Crazyjavahacking) #1


I need to always activate the switch --continue for one of my gradle scripts.

I was wondering if that is possible, or if there is a Gradle property that represents the --continue switch so that I could use file.


(Chris Doré) #2

I’m not sure if there is a property that can be set, but…

If you want this setting to be part of the project, you can enable it with settings.gradle:

gradle.startParameter.continueOnFailure = true

If you want it set only on specific systems, you can use one of the init scripts with:

startParameter.continueOnFailure = true

(Crazyjavahacking) #3

Thanks, this helped.