2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-04-08 16:10:26 +00:00

rewrite init

This commit is contained in:
2026-03-26 15:53:40 +04:00
parent 4221ebb892
commit 5e4b151d44
104 changed files with 959 additions and 7185 deletions

40
build.gradle.kts Normal file
View File

@@ -0,0 +1,40 @@
plugins {
`java-library`
alias { libs.plugins.spotless } apply false
}
subprojects {
apply { plugin("com.diffplug.spotless") }
apply { plugin("java-library")}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
withJavadocJar()
withSourcesJar()
}
tasks {
javadoc {
options.encoding = Charsets.UTF_8.name()
}
processResources {
filteringCharset = Charsets.UTF_8.name()
}
}
extensions.configure<com.diffplug.gradle.spotless.SpotlessExtension> {
java {
removeUnusedImports()
googleJavaFormat()
if (project.name == "valiobungee-api") {
licenseHeaderFile(file("copyright_header.txt"))
} else {
licenseHeaderFile(rootProject.file("copyright_header.txt"))
}
}
}
}