Geyser/settings.gradle.kts

86 lines
2.5 KiB
Text
Raw Normal View History

2022-02-27 22:38:55 +00:00
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
// Floodgate, Cumulus etc.
maven("https://repo.opencollab.dev/maven-releases") {
mavenContent { releasesOnly() }
}
maven("https://repo.opencollab.dev/maven-snapshots") {
2022-07-13 16:20:42 +00:00
mavenContent {
// This has the unintended side effect of not allowing snapshot version pinning.
// Likely a bug in Gradle's implementation of snapshot pinning
// See https://github.com/gradle/gradle/pull/406
snapshotsOnly()
}
2022-02-27 22:38:55 +00:00
}
// Paper, Velocity
2022-06-08 12:09:14 +00:00
maven("https://repo.papermc.io/repository/maven-public")
2022-02-27 22:38:55 +00:00
// 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() }
}
mavenLocal()
mavenCentral()
2022-03-20 04:29:24 +00:00
// ViaVersion
maven("https://repo.viaversion.com") {
name = "viaversion"
}
2022-03-20 04:46:56 +00:00
// Sponge
maven("https://repo.spongepowered.org/repository/maven-public/")
2022-02-27 22:38:55 +00:00
maven("https://jitpack.io") {
content { includeGroupByRegex("com\\.github\\..*") }
}
}
}
pluginManagement {
repositories {
gradlePluginPortal()
}
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(":geyser-api")
include(":bungeecord")
include(":spigot")
include(":sponge")
include(":standalone")
include(":velocity")
include(":common")
include(":core")
// Specify project dirs
project(":api").projectDir = file("api/base")
project(":geyser-api").projectDir = file("api/geyser")
project(":bungeecord").projectDir = file("bootstrap/bungeecord")
project(":spigot").projectDir = file("bootstrap/spigot")
project(":sponge").projectDir = file("bootstrap/sponge")
project(":standalone").projectDir = file("bootstrap/standalone")
project(":velocity").projectDir = file("bootstrap/velocity")