chore: unify checkstyle, fix violations, cleanup bin/

This commit is contained in:
loki5512344 2026-07-12 00:59:15 +02:00
parent 535d472a41
commit 0dd8e8e717
Signed by: boba
GPG key ID: 253067914055423B
3 changed files with 108 additions and 0 deletions

View file

@ -2,6 +2,7 @@ plugins {
id("java")
id("io.github.goooler.shadow") version("8.1.8")
id("xyz.jpenilla.run-paper") version("3.0.2")
checkstyle
}
group = "dev.loki"
@ -168,5 +169,20 @@ tasks {
}
}
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)
}
}
// Default task
defaultTasks("clean", "build")