3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-11-17 21:40:22 +01:00
ViaBackwards/settings.gradle.kts
KennyTV fad65e5b81
Update gradle build files
Co-authored-by: jmp <jasonpenilla2@me.com>
2021-04-14 14:19:28 +02:00

27 Zeilen
643 B
Plaintext

rootProject.name = "viabackwards-parent"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
enableFeaturePreview("VERSION_CATALOGS")
setupViaSubproject("common")
setupViaSubproject("bukkit")
setupViaSubproject("bungee")
setupViaSubproject("velocity")
setupViaSubproject("sponge")
setupViaSubproject("fabric")
setupSubproject("viabackwards") {
projectDir = file("universal")
}
fun setupViaSubproject(name: String) {
setupSubproject("viabackwards-$name") {
projectDir = file(name)
}
}
inline fun setupSubproject(name: String, block: ProjectDescriptor.() -> Unit) {
include(name)
project(":$name").apply(block)
}