mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 14:38:48 +00:00
Don't shade option for Velocity
The latest 3.4 builds now include adventure 4.20 & option 1.1
This commit is contained in:
4 files changed
+7
-7
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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") {
|
||||
|
||||
Reference in new issue
Block a user