chore: unify checkstyle, fix violations, cleanup bin/
This commit is contained in:
parent
438518cef8
commit
987e69a976
16 changed files with 218 additions and 103 deletions
|
|
@ -1,6 +1,7 @@
|
|||
plugins {
|
||||
java
|
||||
id("com.gradleup.shadow") version "9.0.0-beta4"
|
||||
checkstyle
|
||||
}
|
||||
|
||||
group = "dev.loki"
|
||||
|
|
@ -67,3 +68,18 @@ tasks {
|
|||
options.release.set(21)
|
||||
}
|
||||
}
|
||||
|
||||
checkstyle {
|
||||
toolVersion = "10.21.4"
|
||||
configFile = file("config/checkstyle/checkstyle.xml")
|
||||
isIgnoreFailures = false
|
||||
maxErrors = 0
|
||||
maxWarnings = 0
|
||||
}
|
||||
|
||||
tasks.withType<Checkstyle>().configureEach {
|
||||
reports {
|
||||
xml.required.set(true)
|
||||
html.required.set(true)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue