2021-02-17 14:49:10 +01:00
|
|
|
rootProject.name = "viaversion-parent"
|
|
|
|
|
2021-02-28 12:14:46 +01:00
|
|
|
include("adventure")
|
|
|
|
|
2021-03-22 23:06:40 +01:00
|
|
|
setupViaSubproject("api")
|
2021-02-18 06:32:43 +01:00
|
|
|
setupViaSubproject("common")
|
|
|
|
setupViaSubproject("bukkit")
|
|
|
|
setupViaSubproject("bukkit-legacy")
|
|
|
|
setupViaSubproject("bungee")
|
|
|
|
setupViaSubproject("velocity")
|
|
|
|
setupViaSubproject("sponge")
|
|
|
|
setupViaSubproject("sponge-legacy")
|
|
|
|
setupViaSubproject("fabric")
|
2021-02-19 01:33:32 +01:00
|
|
|
|
|
|
|
setupSubproject("viaversion") {
|
|
|
|
projectDir = file("universal")
|
|
|
|
}
|
2021-02-17 14:49:10 +01:00
|
|
|
|
2021-02-18 06:32:43 +01:00
|
|
|
fun setupViaSubproject(name: String) {
|
|
|
|
setupSubproject("viaversion-$name") {
|
|
|
|
projectDir = file(name)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
inline fun setupSubproject(name: String, block: ProjectDescriptor.() -> Unit) {
|
|
|
|
include(name)
|
|
|
|
project(":$name").apply(block)
|
|
|
|
}
|