Don't shade option for Velocity

The latest 3.4 builds now include adventure 4.20 & option 1.1
This commit is contained in:
Jason Penilla committed 2025-04-30 13:56:45 -07:00
1 parent 4cf0bd1a1f
commit 934aa1798b
4 files changed
+7 -7

No files matched your search

+6 -1
View File
@@ -9,7 +9,12 @@ dependencies {
compileOnlyApi(libs.log4jApi)
// Configs
api(libs.configurateHocon)
api(libs.configurateHocon) {
// Provided at platform level (usually through adventure)
exclude("net.kyori", "option")
}
// Bring in option for -common compile
compileOnly(libs.configurateHocon)
api(libs.adventureSerializerConfigurate4) {
isTransitive = false
}
-1
View File
@@ -23,7 +23,6 @@ dependencies {
exclude("net.kyori", "adventure-api")
exclude("net.kyori", "adventure-text-serializer-gson")
exclude("net.kyori", "adventure-text-serializer-plain")
exclude("net.kyori", "option")
exclude("org.incendo", "cloud-core")
exclude("org.incendo", "cloud-services")
exclude("org.incendo", "cloud-brigadier")
+1 -4
View File
@@ -12,10 +12,7 @@ plugins {
}
dependencies {
implementation(projects.carbonchatCommon) {
// This is provided by Paper 1.21.1+
exclude("net.kyori", "option")
}
implementation(projects.carbonchatCommon)
// Server
compileOnly(libs.foliaApi)
-1
View File
@@ -41,7 +41,6 @@ tasks {
relocateCloud()
standardRuntimeRelocations()
relocateDependency("io.leangen.geantyref")
relocateDependency("net.kyori.option") // TODO: remove & exclude above once Velocity updates adventure
relocateGuice()
}
val prod = register<Zip>("productionJar") {