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

getMaxPriority2Violations

@Input open fun getMaxPriority2Violations(): Int

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