Bump minimum version to 1.21.1, fix option on all platforms

This commit is contained in:
Jason Penilla committed 2025-04-27 17:01:08 -07:00
1 parent 989412eb37
commit 6e2fc2d057
6 files changed
+14 -10

No files matched your search

@@ -79,8 +79,6 @@ publishMods.modrinth {
requires("luckperms")
optional("miniplaceholders")
minecraftVersions.addAll(
"1.20.6",
"1.21",
"1.21.1",
"1.21.2",
"1.21.3",
+1 -1
View File
@@ -18,7 +18,7 @@ hangarPublish.publications.register("plugin") {
apiKey = providers.environmentVariable("HANGAR_UPLOAD_KEY")
platforms.paper {
jar = project(":carbonchat-paper").platformJar()
platformVersions.add("1.20.6-1.21.5")
platformVersions.add("1.21.1-1.21.5")
dependencies {
url("LuckPerms", "https://luckperms.net/")
hangar("Essentials") {
+1 -4
View File
@@ -9,10 +9,7 @@ dependencies {
compileOnlyApi(libs.log4jApi)
// Configs
api(libs.configurateHocon) {
// Provided by the adventure platform
exclude("net.kyori", "option")
}
api(libs.configurateHocon)
api(libs.adventureSerializerConfigurate4) {
isTransitive = false
}
+5
View File
@@ -23,6 +23,7 @@ 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")
@@ -42,6 +43,10 @@ dependencies {
modImplementation(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)
runtimeDownload(libs.mysql)
+5 -2
View File
@@ -12,7 +12,10 @@ plugins {
}
dependencies {
implementation(projects.carbonchatCommon)
implementation(projects.carbonchatCommon) {
// This is provided by Paper 1.21.1+
exclude("net.kyori", "option")
}
// Server
compileOnly(libs.foliaApi)
@@ -62,7 +65,7 @@ tasks {
withType(RunServer::class).configureEach {
version.set(libs.versions.minecraft)
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", "PlaceholderAPI-Expansion", "1.2.0", "PlaceholderAPI-Expansion-1.2.0.jar")
hangar("PlaceholderAPI", libs.versions.placeholderapi.get())
+2 -1
View File
@@ -41,6 +41,7 @@ tasks {
relocateCloud()
standardRuntimeRelocations()
relocateDependency("io.leangen.geantyref")
relocateDependency("net.kyori.option") // TODO: remove once Velocity updates adventure
relocateGuice()
}
val prod = register<Zip>("productionJar") {
@@ -61,7 +62,7 @@ tasks {
velocityVersion(libs.versions.velocityApi.get())
pluginJars.from(prod)
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")
}
}