api / org.gradle.api.plugins.quality / CodeNarc / getMaxPriority1Violations

getMaxPriority1Violations

@Input open fun getMaxPriority1Violations(): Int

The maximum number of priority 1 violations allowed before failing the build.