3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-16 04:50:07 +01:00
Geyser/settings.gradle.kts
2024-02-18 19:03:14 +01:00

82 Zeilen
2.1 KiB
Plaintext

enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
dependencyResolutionManagement {
// repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenLocal()
// Floodgate, Cumulus etc.
maven("https://repo.opencollab.dev/main")
// Paper, Velocity
maven("https://repo.papermc.io/repository/maven-public")
// Spigot
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots") {
mavenContent { snapshotsOnly() }
}
// BungeeCord
maven("https://oss.sonatype.org/content/repositories/snapshots") {
mavenContent { snapshotsOnly() }
}
// Minecraft
maven("https://libraries.minecraft.net") {
name = "minecraft"
mavenContent { releasesOnly() }
}
mavenCentral()
// ViaVersion
maven("https://repo.viaversion.com") {
name = "viaversion"
}
maven("https://jitpack.io") {
content { includeGroupByRegex("com\\.github\\..*") }
}
// For Adventure snapshots
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}
}
pluginManagement {
repositories {
gradlePluginPortal()
maven("https://maven.fabricmc.net/")
maven("https://repo.opencollab.dev/maven-snapshots")
}
plugins {
id("net.kyori.blossom") version "1.2.0"
id("net.kyori.indra")
id("net.kyori.indra.git")
}
includeBuild("build-logic")
}
rootProject.name = "geyser-parent"
include(":ap")
include(":api")
include(":fabric")
include(":standalone")
include(":core")
// Specify project dirs
project(":standalone").projectDir = file("bootstrap/standalone")
//todo see what's possible with fabric
project(":fabric").projectDir = file("bootstrap/fabric")
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")
}
}