geforkt von Mirrors/Velocity
ef861819e3
* Do not apply a resource pack that has already been applied * Throw IllegalStateException in case of applying a resource pack already applied from the API * Updated some dependencies * Added support for ServerResourcePackSendEvent resource pack modification
44 Zeilen
1.0 KiB
Plaintext
44 Zeilen
1.0 KiB
Plaintext
@file:Suppress("UnstableApiUsage")
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
mavenCentral()
|
|
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.8.0"
|
|
}
|
|
|
|
rootProject.name = "velocity"
|
|
|
|
sequenceOf(
|
|
"api",
|
|
"native",
|
|
"proxy",
|
|
).forEach {
|
|
val project = ":velocity-$it"
|
|
include(project)
|
|
project(project).projectDir = file(it)
|
|
}
|
|
|
|
// Include Configurate 3
|
|
val deprecatedConfigurateModule = ":deprecated-configurate3"
|
|
include(deprecatedConfigurateModule)
|
|
project(deprecatedConfigurateModule).projectDir = file("proxy/deprecated/configurate3")
|
|
|
|
// Log4J2 plugin
|
|
val log4j2ProxyPlugin = ":velocity-proxy-log4j2-plugin"
|
|
include(log4j2ProxyPlugin)
|
|
project(log4j2ProxyPlugin).projectDir = file("proxy/log4j2-plugin")
|