chore: unify checkstyle, fix violations, cleanup bin/

This commit is contained in:
loki5512344 2026-07-12 00:59:21 +02:00
parent 9c5e5bccae
commit da9271b283
Signed by: boba
GPG key ID: 253067914055423B
17 changed files with 363 additions and 67 deletions

View file

@ -1,6 +1,7 @@
plugins {
java
id("com.gradleup.shadow") version "9.3.1" apply false
checkstyle
}
allprojects {
@ -18,8 +19,24 @@ allprojects {
subprojects {
apply(plugin = "java")
apply(plugin = "checkstyle")
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
checkstyle {
toolVersion = "10.21.4"
configFile = rootProject.file("config/checkstyle/checkstyle.xml")
isIgnoreFailures = false
maxErrors = 0
maxWarnings = 0
}
tasks.withType<Checkstyle>().configureEach {
reports {
xml.required.set(true)
html.required.set(true)
}
}
}