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

make introduce libs of redisbungee back

This commit is contained in:
2026-04-01 15:58:59 +04:00
parent 9cb81330e9
commit 81491398e9
5 changed files with 58 additions and 10 deletions

View File

@@ -25,11 +25,14 @@ subprojects {
}
}
extensions.configure<com.diffplug.gradle.spotless.SpotlessExtension> {
var redisBungeeProjects = sequenceOf("RedisBungee-API", "RedisBungee-Lang", "RedisBungee-Commands", "RedisBungee-Bungee", "RedisBungee-Proxy-Bungee", "RedisBungee-Velocity", "RedisBungee-Proxy-Velocity")
java {
removeUnusedImports()
googleJavaFormat()
if (project.name == "valiobungee-api") {
licenseHeaderFile(file("copyright_header.txt"))
} else if (redisBungeeProjects.contains(project.name)) {
licenseHeaderFile(rootProject.file("redisbungee/copyright_header.txt"))
} else {
licenseHeaderFile(rootProject.file("copyright_header.txt"))
}