3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-09-29 14:40:21 +02:00
Velocity/gradle/checkstyle.gradle
2020-11-08 13:26:33 -08:00

12 Zeilen
376 B
Groovy

checkstyle {
def configDirectory = new File(project.rootDir, ["config", "checkstyle"].join(File.separator))
toolVersion '8.14'
configFile new File(configDirectory, "checkstyle.xml")
configProperties = [configDirectory: configDirectory.getAbsolutePath()]
// The build should immediately fail if we have errors.
maxErrors = 0
maxWarnings = 0
}