mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2024-11-13 14:39:19 +00:00
3c0e30bff7
Co-Authored-By: Camotoy <20743703+Camotoy@users.noreply.github.com>
73 lines
1.9 KiB
Plaintext
73 lines
1.9 KiB
Plaintext
@file:Suppress("UnstableApiUsage")
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
mavenLocal()
|
|
|
|
// Geyser, Cumulus etc.
|
|
maven("https://repo.opencollab.dev/maven-releases") {
|
|
mavenContent { releasesOnly() }
|
|
}
|
|
maven("https://repo.opencollab.dev/maven-snapshots") {
|
|
mavenContent { snapshotsOnly() }
|
|
}
|
|
|
|
// Paper, Velocity
|
|
// maven("https://repo.papermc.io/repository/maven-releases") {
|
|
// mavenContent { releasesOnly() }
|
|
// }
|
|
// maven("https://repo.papermc.io/repository/maven-snapshots") {
|
|
// mavenContent { snapshotsOnly() }
|
|
// }
|
|
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() }
|
|
}
|
|
|
|
maven("https://libraries.minecraft.net") {
|
|
name = "minecraft"
|
|
mavenContent { releasesOnly() }
|
|
}
|
|
|
|
mavenCentral()
|
|
|
|
maven("https://jitpack.io") {
|
|
content { includeGroupByRegex("com\\.github\\..*") }
|
|
}
|
|
}
|
|
}
|
|
|
|
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
}
|
|
plugins {
|
|
id("net.kyori.indra")
|
|
id("net.kyori.indra.git")
|
|
}
|
|
includeBuild("build-logic")
|
|
}
|
|
|
|
rootProject.name = "floodgate-parent"
|
|
|
|
include(":api")
|
|
include(":ap")
|
|
include(":core")
|
|
include(":bungee")
|
|
include(":spigot")
|
|
include(":velocity")
|
|
include(":sqlite")
|
|
include(":mysql")
|
|
include(":mongo")
|
|
project(":sqlite").projectDir = file("database/sqlite")
|
|
project(":mysql").projectDir = file("database/mysql")
|
|
project(":mongo").projectDir = file("database/mongo")
|