【发布时间】:2021-08-13 13:25:16
【问题描述】:
https://docs.gradle.org/current/userguide/checkstyle_plugin.html
如何在 ./gradlew build 期间禁用运行 checkstyle 并且仅通过 ./gradlew checkstyleMain 按需执行此操作
checkstyle {
showViolations = false
ignoreFailures = true
maxWarnings = 0
maxErrors = 0
configFile = file("checkstyle.xml")
}
【问题讨论】:
标签: java gradle checkstyle