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:
@@ -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"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user