3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-08 17:20:24 +01:00
ViaVersion/settings.gradle.kts

34 Zeilen
881 B
Plaintext

2021-02-17 14:49:10 +01:00
rootProject.name = "viaversion-parent"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
enableFeaturePreview("VERSION_CATALOGS")
include("adventure")
include("java-compat", "java-compat:java-compat-common", "java-compat:java-compat-unsafe")
setupViaSubproject("api")
setupViaSubproject("api-legacy")
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
fun setupViaSubproject(name: String) {
setupSubproject("viaversion-$name") {
projectDir = file(name)
}
}
inline fun setupSubproject(name: String, block: ProjectDescriptor.() -> Unit) {
include(name)
project(":$name").apply(block)
}