[build] Restructure to composite build

This commit is contained in:
2025-10-26 02:03:53 +02:00
parent 0e3990aed9
commit 1fbc97866c
348 changed files with 126 additions and 64 deletions

View File

@@ -0,0 +1,29 @@
rootProject.name = "tweed5-minecraft"
pluginManagement {
includeBuild("../conventions")
}
dependencyResolutionManagement {
repositories {
mavenCentral()
}
versionCatalogs {
create("libs") {
from(files("../gradle/libs.versions.toml"))
}
}
}
includeBuild("../tweed5")
includeNormalModule("bundle")
fun includeNormalModule(name: String) {
includeAs("tweed5-$name", "$name")
}
fun includeAs(name: String, path: String) {
include(name)
project(":$name").projectDir = file(path)
}