3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-09-29 22:50:15 +02:00
Velocity/gradle/checkstyle.gradle

12 Zeilen
376 B
Groovy

checkstyle {
2020-11-08 21:27:06 +01:00
def configDirectory = new File(project.rootDir, ["config", "checkstyle"].join(File.separator))
toolVersion '8.39'
2020-11-08 21:27:06 +01:00
configFile new File(configDirectory, "checkstyle.xml")
configProperties = [configDirectory: configDirectory.getAbsolutePath()]
2018-12-29 23:22:36 +01:00
// The build should immediately fail if we have errors.
maxErrors = 0
maxWarnings = 0
2020-11-08 21:27:06 +01:00
}