mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-18 23:17:43 +01:00
lots more
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
checkstyle {
|
||||
def configDirectory = new File(project.rootDir, ["config", "checkstyle"].join(File.separator))
|
||||
|
||||
toolVersion '8.14'
|
||||
configFile new File(project.rootDir, ['config', 'checkstyle', 'checkstyle.xml'].join(File.separator))
|
||||
configFile new File(configDirectory, "checkstyle.xml")
|
||||
configProperties = [configDirectory: configDirectory.getAbsolutePath()]
|
||||
|
||||
// The build should immediately fail if we have errors.
|
||||
maxErrors = 0
|
||||
maxWarnings = 0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user