chore: unify checkstyle, fix violations, cleanup bin/

This commit is contained in:
loki5512344 2026-07-12 00:59:18 +02:00
parent 438518cef8
commit 987e69a976
Signed by: boba
GPG key ID: 253067914055423B
16 changed files with 218 additions and 103 deletions

View file

@ -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)
}
}