mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 06:28:54 +00:00
Bump minimum version to 1.21.1, fix option on all platforms
This commit is contained in:
6 files changed
+14
-10
No files matched your search
@@ -79,8 +79,6 @@ publishMods.modrinth {
|
|||||||
requires("luckperms")
|
requires("luckperms")
|
||||||
optional("miniplaceholders")
|
optional("miniplaceholders")
|
||||||
minecraftVersions.addAll(
|
minecraftVersions.addAll(
|
||||||
"1.20.6",
|
|
||||||
"1.21",
|
|
||||||
"1.21.1",
|
"1.21.1",
|
||||||
"1.21.2",
|
"1.21.2",
|
||||||
"1.21.3",
|
"1.21.3",
|
||||||
|
|||||||
+1
-1
@@ -18,7 +18,7 @@ hangarPublish.publications.register("plugin") {
|
|||||||
apiKey = providers.environmentVariable("HANGAR_UPLOAD_KEY")
|
apiKey = providers.environmentVariable("HANGAR_UPLOAD_KEY")
|
||||||
platforms.paper {
|
platforms.paper {
|
||||||
jar = project(":carbonchat-paper").platformJar()
|
jar = project(":carbonchat-paper").platformJar()
|
||||||
platformVersions.add("1.20.6-1.21.5")
|
platformVersions.add("1.21.1-1.21.5")
|
||||||
dependencies {
|
dependencies {
|
||||||
url("LuckPerms", "https://luckperms.net/")
|
url("LuckPerms", "https://luckperms.net/")
|
||||||
hangar("Essentials") {
|
hangar("Essentials") {
|
||||||
|
|||||||
@@ -9,10 +9,7 @@ dependencies {
|
|||||||
compileOnlyApi(libs.log4jApi)
|
compileOnlyApi(libs.log4jApi)
|
||||||
|
|
||||||
// Configs
|
// Configs
|
||||||
api(libs.configurateHocon) {
|
api(libs.configurateHocon)
|
||||||
// Provided by the adventure platform
|
|
||||||
exclude("net.kyori", "option")
|
|
||||||
}
|
|
||||||
api(libs.adventureSerializerConfigurate4) {
|
api(libs.adventureSerializerConfigurate4) {
|
||||||
isTransitive = false
|
isTransitive = false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ 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")
|
||||||
@@ -42,6 +43,10 @@ dependencies {
|
|||||||
modImplementation(libs.adventurePlatformFabric)
|
modImplementation(libs.adventurePlatformFabric)
|
||||||
include(libs.adventurePlatformFabric)
|
include(libs.adventurePlatformFabric)
|
||||||
|
|
||||||
|
// Until we upgrade adventure-platform-fabric
|
||||||
|
implementation("net.kyori:option:1.1.0")
|
||||||
|
include("net.kyori:option:1.1.0")
|
||||||
|
|
||||||
modImplementation(libs.miniplaceholders)
|
modImplementation(libs.miniplaceholders)
|
||||||
|
|
||||||
runtimeDownload(libs.mysql)
|
runtimeDownload(libs.mysql)
|
||||||
|
|||||||
@@ -12,7 +12,10 @@ 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)
|
||||||
@@ -62,7 +65,7 @@ tasks {
|
|||||||
withType(RunServer::class).configureEach {
|
withType(RunServer::class).configureEach {
|
||||||
version.set(libs.versions.minecraft)
|
version.set(libs.versions.minecraft)
|
||||||
downloadPlugins {
|
downloadPlugins {
|
||||||
url("https://download.luckperms.net/1556/bukkit/loader/LuckPerms-Bukkit-5.4.141.jar")
|
url("https://download.luckperms.net/1575/bukkit/loader/LuckPerms-Bukkit-5.4.158.jar")
|
||||||
github("MiniPlaceholders", "MiniPlaceholders", libs.versions.miniplaceholders.get(), "MiniPlaceholders-Paper-${libs.versions.miniplaceholders.get()}.jar")
|
github("MiniPlaceholders", "MiniPlaceholders", libs.versions.miniplaceholders.get(), "MiniPlaceholders-Paper-${libs.versions.miniplaceholders.get()}.jar")
|
||||||
github("MiniPlaceholders", "PlaceholderAPI-Expansion", "1.2.0", "PlaceholderAPI-Expansion-1.2.0.jar")
|
github("MiniPlaceholders", "PlaceholderAPI-Expansion", "1.2.0", "PlaceholderAPI-Expansion-1.2.0.jar")
|
||||||
hangar("PlaceholderAPI", libs.versions.placeholderapi.get())
|
hangar("PlaceholderAPI", libs.versions.placeholderapi.get())
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ tasks {
|
|||||||
relocateCloud()
|
relocateCloud()
|
||||||
standardRuntimeRelocations()
|
standardRuntimeRelocations()
|
||||||
relocateDependency("io.leangen.geantyref")
|
relocateDependency("io.leangen.geantyref")
|
||||||
|
relocateDependency("net.kyori.option") // TODO: remove once Velocity updates adventure
|
||||||
relocateGuice()
|
relocateGuice()
|
||||||
}
|
}
|
||||||
val prod = register<Zip>("productionJar") {
|
val prod = register<Zip>("productionJar") {
|
||||||
@@ -61,7 +62,7 @@ tasks {
|
|||||||
velocityVersion(libs.versions.velocityApi.get())
|
velocityVersion(libs.versions.velocityApi.get())
|
||||||
pluginJars.from(prod)
|
pluginJars.from(prod)
|
||||||
downloadPlugins {
|
downloadPlugins {
|
||||||
url("https://download.luckperms.net/1556/velocity/LuckPerms-Velocity-5.4.141.jar")
|
url("https://download.luckperms.net/1575/velocity/LuckPerms-Velocity-5.4.158.jar")
|
||||||
github("MiniPlaceholders", "MiniPlaceholders", libs.versions.miniplaceholders.get(), "MiniPlaceholders-Velocity-${libs.versions.miniplaceholders.get()}.jar")
|
github("MiniPlaceholders", "MiniPlaceholders", libs.versions.miniplaceholders.get(), "MiniPlaceholders-Velocity-${libs.versions.miniplaceholders.get()}.jar")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user