2023-02-19 23:17:33 +01:00
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
name = "Fabric"
|
|
|
|
url = "https://maven.fabricmc.net/"
|
|
|
|
}
|
|
|
|
mavenCentral()
|
|
|
|
gradlePluginPortal()
|
|
|
|
}
|
|
|
|
}
|
2024-12-23 17:23:34 +01:00
|
|
|
rootProject.name = "viafabricplus"
|
|
|
|
|
|
|
|
includeBuild("build-logic")
|
2024-12-23 12:53:27 +01:00
|
|
|
|
|
|
|
setupViaSubproject("api")
|
2024-12-23 20:18:02 +01:00
|
|
|
setupViaSubproject("api-legacy")
|
2024-12-23 12:53:27 +01:00
|
|
|
setupViaSubproject("diff-generator")
|
|
|
|
|
|
|
|
void setupViaSubproject(String name) {
|
2024-12-23 17:23:34 +01:00
|
|
|
var pName = "viafabricplus-" + name
|
|
|
|
|
|
|
|
include pName
|
|
|
|
project(":" + pName).projectDir = file(name)
|
2024-12-23 12:53:27 +01:00
|
|
|
}
|