mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 22:15:37 +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)
|
compileOnlyApi(libs.log4jApi)
|
||||||
|
|
||||||
// Configs
|
// 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) {
|
api(libs.adventureSerializerConfigurate4) {
|
||||||
isTransitive = false
|
isTransitive = false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ dependencies {
|
|||||||
exclude("net.kyori", "adventure-api")
|
exclude("net.kyori", "adventure-api")
|
||||||
exclude("net.kyori", "adventure-text-serializer-gson")
|
exclude("net.kyori", "adventure-text-serializer-gson")
|
||||||
exclude("net.kyori", "adventure-text-serializer-plain")
|
exclude("net.kyori", "adventure-text-serializer-plain")
|
||||||
exclude("net.kyori", "option")
|
|
||||||
exclude("org.incendo", "cloud-core")
|
exclude("org.incendo", "cloud-core")
|
||||||
exclude("org.incendo", "cloud-services")
|
exclude("org.incendo", "cloud-services")
|
||||||
exclude("org.incendo", "cloud-brigadier")
|
exclude("org.incendo", "cloud-brigadier")
|
||||||
|
|||||||
@@ -12,10 +12,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.carbonchatCommon) {
|
implementation(projects.carbonchatCommon)
|
||||||
// This is provided by Paper 1.21.1+
|
|
||||||
exclude("net.kyori", "option")
|
|
||||||
}
|
|
||||||
|
|
||||||
// Server
|
// Server
|
||||||
compileOnly(libs.foliaApi)
|
compileOnly(libs.foliaApi)
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ tasks {
|
|||||||
relocateCloud()
|
relocateCloud()
|
||||||
standardRuntimeRelocations()
|
standardRuntimeRelocations()
|
||||||
relocateDependency("io.leangen.geantyref")
|
relocateDependency("io.leangen.geantyref")
|
||||||
relocateDependency("net.kyori.option") // TODO: remove & exclude above once Velocity updates adventure
|
|
||||||
relocateGuice()
|
relocateGuice()
|
||||||
}
|
}
|
||||||
val prod = register<Zip>("productionJar") {
|
val prod = register<Zip>("productionJar") {
|
||||||
|
|||||||
Reference in new issue
Block a user