3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-16 13:00:10 +01:00
Geyser/settings.gradle.kts

49 Zeilen
1.3 KiB
Plaintext

@file:Suppress("UnstableApiUsage")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
repositories {
gradlePluginPortal()
maven("https://repo.opencollab.dev/maven-snapshots")
maven("https://maven.fabricmc.net")
maven("https://maven.architectury.dev")
maven("https://maven.neoforged.net/releases")
}
includeBuild("build-logic")
}
rootProject.name = "geyser-parent"
include(":ap")
include(":api")
include(":isolation")
include(":core")
//todo probably needs to be added to the isolated platforms
include(":viaproxy")
project(":viaproxy").projectDir = file("bootstrap/viaproxy")
include(":standalone")
project(":standalone").projectDir = file("bootstrap/standalone")
include(":mod")
project(":mod").projectDir = file("bootstrap/mod")
//todo see what's possible with fabric
include(":fabric")
project(":fabric").projectDir = file("bootstrap/mod/fabric")
include(":neoforge")
project(":neoforge").projectDir = file("bootstrap/mod/neoforge")
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")
}
}