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

Hi,

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 gradle.properties file.

Thanks.

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

Thanks, this helped.