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

more changes

This commit is contained in:
2026-04-03 18:54:01 +04:00
parent 42e8a861a3
commit f58a212782
19 changed files with 226 additions and 73 deletions

View File

@@ -8,16 +8,21 @@ pluginManagement {
rootProject.name = "ValioBungee"
fun configureProject(name: String) {
fun configureRootProjects(name: String) {
val projectName = ":valiobungee-$name"
configureProject(projectName, name)
}
fun configureAPIProject(name: String) {
fun configureAPISubProject(name: String) {
val projectName = ":valiobungee-$name-api"
configureProject(projectName, "api/$name")
}
fun configureCoreSubProject(name: String) {
val projectName = ":valiobungee-core-$name"
configureProject(projectName, "core/$name")
}
fun configureProject(name: String, path: String) {
include(name)
project(name).projectDir = file(path)
@@ -34,9 +39,11 @@ dependencyResolutionManagement {
}
// main project stuff
sequenceOf("api", "core", "velocity").forEach { configureProject(it) }
sequenceOf("api", "core", "velocity").forEach { configureRootProjects(it) }
// core data implementations
sequenceOf("redisson").forEach { configureCoreSubProject(it) }
// api
sequenceOf("velocity").forEach { configureAPIProject(it) }
sequenceOf("velocity").forEach { configureAPISubProject(it) }
// RedisBunggee Project
// configureProject(":RedisBungee-API", "redisbungee/api")