2024-02-23 17:58:39 +01:00
|
|
|
@file:Suppress("UnstableApiUsage")
|
|
|
|
|
2022-02-27 23:38:55 +01:00
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
|
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
|
|
|
gradlePluginPortal()
|
2024-02-23 17:58:39 +01:00
|
|
|
|
2022-10-05 00:18:53 +02:00
|
|
|
maven("https://repo.opencollab.dev/maven-snapshots")
|
2024-02-25 20:12:43 +01:00
|
|
|
maven("https://maven.fabricmc.net")
|
|
|
|
maven("https://maven.architectury.dev")
|
2024-02-23 17:58:39 +01:00
|
|
|
maven("https://maven.neoforged.net/releases")
|
2022-02-27 23:38:55 +01:00
|
|
|
}
|
|
|
|
includeBuild("build-logic")
|
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.name = "geyser-parent"
|
|
|
|
|
|
|
|
include(":ap")
|
|
|
|
include(":api")
|
2024-02-25 19:57:04 +01:00
|
|
|
include(":isolation")
|
2022-02-27 23:38:55 +01:00
|
|
|
include(":core")
|
|
|
|
|
2024-02-25 20:12:43 +01:00
|
|
|
//todo probably needs to be added to the isolated platforms
|
|
|
|
include(":viaproxy")
|
|
|
|
project(":viaproxy").projectDir = file("bootstrap/viaproxy")
|
|
|
|
|
|
|
|
include(":standalone")
|
2022-02-27 23:38:55 +01:00
|
|
|
project(":standalone").projectDir = file("bootstrap/standalone")
|
2024-02-18 19:03:14 +01:00
|
|
|
|
2024-02-25 22:25:44 +01:00
|
|
|
include(":mod")
|
2024-02-25 20:12:43 +01:00
|
|
|
project(":mod").projectDir = file("bootstrap/mod")
|
2024-02-18 19:03:14 +01:00
|
|
|
//todo see what's possible with fabric
|
2024-02-25 20:12:43 +01:00
|
|
|
include(":fabric")
|
2024-02-23 17:58:39 +01:00
|
|
|
project(":fabric").projectDir = file("bootstrap/mod/fabric")
|
2024-02-25 20:12:43 +01:00
|
|
|
include(":neoforge")
|
2024-02-23 17:58:39 +01:00
|
|
|
project(":neoforge").projectDir = file("bootstrap/mod/neoforge")
|
2024-02-18 19:03:14 +01:00
|
|
|
|
|
|
|
arrayOf("bungeecord", "spigot", "velocity").forEach { platform ->
|
|
|
|
arrayOf("base", "isolated").forEach {
|
|
|
|
var id = ":$platform-$it"
|
|
|
|
// isolated is the new default
|
|
|
|
if (id.endsWith("-isolated")) id = ":$platform"
|
|
|
|
|
|
|
|
include(id)
|
|
|
|
project(id).projectDir = file("bootstrap/$platform/$it")
|
|
|
|
}
|
|
|
|
}
|