getFailOnWarning

abstract fun getFailOnWarning(): Property<Boolean>

Returns whether the build should break when the verifications performed by this task detects a warning.