Ignore Gradle Build Failure and continue build script?
add this in the build.gradle file :
tasks.withType(JavaCompile) {
options.failOnError(false)
}
The flag to use is --continue
.
From the documentation:
Continues task execution after a task failure.