mirror of
https://github.com/PaperMC/Velocity.git
synced 2024-12-15 07:12:09 +08:00
39 lines
941 B
Plaintext
39 lines
941 B
Plaintext
@file:Suppress("UnstableApiUsage")
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") // adventure
|
|
maven("https://repo.papermc.io/repository/maven-public/")
|
|
}
|
|
}
|
|
|
|
pluginManagement {
|
|
includeBuild("build-logic")
|
|
repositories {
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id("org.gradle.toolchains.foojay-resolver-convention") version "0.4.0"
|
|
}
|
|
|
|
rootProject.name = "velocity"
|
|
|
|
sequenceOf(
|
|
"api",
|
|
"native",
|
|
"proxy",
|
|
).forEach {
|
|
val project = ":velocity-$it"
|
|
include(project)
|
|
project(project).projectDir = file(it)
|
|
}
|
|
|
|
val deprecatedConfigurateModule = ":deprecated-configurate3"
|
|
include(deprecatedConfigurateModule)
|
|
project(deprecatedConfigurateModule).projectDir = file("proxy/deprecated/configurate3")
|