Set high threshold that can be lowered later for stricter enforcement.
MODIFY
gradle/checkstyle.gradle
gradle/checkstyle.gradle
@@ -25,6 +25,7 @@ def checkstyleConfigDir = new File(buildscript.sourceFile.parentFile, 'enforceme
checkstyle {
configFile = new File(checkstyleConfigDir, "checkstyle.xml")
configProperties.checkstyleConfigDir = checkstyleConfigDir
+ maxWarnings = 500
}
plugins.withType(GroovyBasePlugin) {

Set high threshold that can be lowered later for stricter enforcement.