open fun setFailOnWarning(failOnWarning: Boolean): Unit
Specifies whether the build should break when the verifications performed by this task detects a warning.
failOnWarning
- true
to break the build on warning, false
to ignore warnings. The default is false
.