setFailOnError

open fun setFailOnError(failOnError: Boolean)

Sets whether the compilation task should fail if compile errors occurred. Defaults to true.