2023-03-27 00:00:24 +02:00
|
|
|
@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()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-09 19:10:01 +01:00
|
|
|
plugins {
|
2024-02-11 18:00:07 +01:00
|
|
|
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
|
2023-03-09 19:10:01 +01:00
|
|
|
}
|
|
|
|
|
2023-01-01 23:53:37 +01:00
|
|
|
rootProject.name = "velocity"
|
2023-03-26 14:53:11 +02:00
|
|
|
|
|
|
|
sequenceOf(
|
|
|
|
"api",
|
|
|
|
"native",
|
2023-03-27 00:00:24 +02:00
|
|
|
"proxy",
|
2023-03-26 14:53:11 +02:00
|
|
|
).forEach {
|
|
|
|
val project = ":velocity-$it"
|
|
|
|
include(project)
|
|
|
|
project(project).projectDir = file(it)
|
|
|
|
}
|
2023-12-11 16:16:44 +01:00
|
|
|
|
2024-01-04 16:40:11 +01:00
|
|
|
// Include Configurate 3
|
2023-12-11 16:16:44 +01:00
|
|
|
val deprecatedConfigurateModule = ":deprecated-configurate3"
|
|
|
|
include(deprecatedConfigurateModule)
|
|
|
|
project(deprecatedConfigurateModule).projectDir = file("proxy/deprecated/configurate3")
|
2024-01-04 16:40:11 +01:00
|
|
|
|
|
|
|
// Log4J2 plugin
|
|
|
|
val log4j2ProxyPlugin = ":velocity-proxy-log4j2-plugin"
|
|
|
|
include(log4j2ProxyPlugin)
|
|
|
|
project(log4j2ProxyPlugin).projectDir = file("proxy/log4j2-plugin")
|