api / org.gradle.api.plugins.quality / Checkstyle / setMaxWarnings

setMaxWarnings

open fun setMaxWarnings(maxWarnings: Int): Unit

Set the maximum number of warnings that are tolerated before breaking the build.

Parameters

maxWarnings - number of warnings allowed

Since
3.4