Conform to google's checkstyle standard
This commit is contained in:
parent
3a52f9afa1
commit
83401bf622
42 changed files with 1181 additions and 380 deletions
10
build.gradle
10
build.gradle
|
|
@ -1,5 +1,6 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
id 'checkstyle'
|
||||
id 'com.github.johnrengelman.shadow' version '5.2.0'
|
||||
}
|
||||
|
||||
|
|
@ -39,4 +40,13 @@ shadowJar {
|
|||
relocate 'org.bstats.bukkit', packagePath + '.dependencies.bstats'
|
||||
}
|
||||
|
||||
checkstyle {
|
||||
toolVersion "8.25"
|
||||
configFile = rootProject.file('config/checkstyle/checkstyle.xml')
|
||||
|
||||
ignoreFailures = false
|
||||
maxErrors = 0
|
||||
maxWarnings = 0
|
||||
}
|
||||
|
||||
build.dependsOn shadowJar
|
||||
Loading…
Add table
Add a link
Reference in a new issue