From 0dd6ee99d7e75f0f53ac34b9d00b40b7756f009a Mon Sep 17 00:00:00 2001 From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> Date: Mon, 23 Dec 2024 03:35:43 -0500 Subject: [PATCH] Update build.gradle --- DeathMessagesLegacy/build.gradle.kts | 19 +++++++++---------- DeathMessagesModern/build.gradle.kts | 13 ++++++------- ...cn.dreeam.deathmessages.wrapper.gradle.kts | 8 ++++---- 3 files changed, 19 insertions(+), 21 deletions(-) diff --git a/DeathMessagesLegacy/build.gradle.kts b/DeathMessagesLegacy/build.gradle.kts index 554d01d4..939b692c 100644 --- a/DeathMessagesLegacy/build.gradle.kts +++ b/DeathMessagesLegacy/build.gradle.kts @@ -15,11 +15,11 @@ dependencies { compileOnly("org.spigotmc:spigot-api:1.20.4-R0.1-SNAPSHOT") // Universal compileOnly("commons-io:commons-io:2.18.0") // Remove this compileOnly("org.apache.logging.log4j:log4j-api:2.24.2") - implementation("com.github.cryptomorin:XSeries:12.0.0") + implementation("com.github.cryptomorin:XSeries:12.1.0") implementation("org.bstats:bstats-bukkit:3.1.0") implementation("com.github.technicallycoded:FoliaLib:0.4.3") - implementation("de.tr7zw:item-nbt-api:2.14.0") + implementation("de.tr7zw:item-nbt-api:2.14.1") compileOnly("me.clip:placeholderapi:2.11.6") compileOnly("com.discordsrv:discordsrv:1.29.0") compileOnly("io.lumine:Mythic-Dist:5.7.2") @@ -47,14 +47,13 @@ tasks { // minimize { // exclude(dependency("com.tcoded.folialib:.*:.*")) // } - relocate("com.google.gson", "dev.mrshawn.deathmessages.libs.gson") // Don't relocate to avoid item hover issue - relocate("com.google.auto", "dev.mrshawn.deathmessages.libs.auto") // Don't relocate to avoid item hover issue - relocate("net.kyori", "dev.mrshawn.deathmessages.libs.kyori") // Don't relocate to avoid item hover issue - relocate("com.cryptomorin.xseries", "dev.mrshawn.deathmessages.libs.xseries") - relocate("org.bstats", "dev.mrshawn.deathmessages.libs.bstats") - relocate("com.tcoded.folialib", "dev.mrshawn.deathmessages.libs.folialib") - relocate("de.tr7zw.changeme.nbtapi", "dev.mrshawn.deathmessages.libs.nbtapi") - relocate("net.dv8tion.jda", "dev.mrshawn.deathmessages.libs.jda") + relocate("com.google.gson", "${project.group}.libs.gson") + relocate("com.google.auto", "${project.group}.libs.auto") + relocate("net.kyori", "${project.group}.libs.kyori") + relocate("com.cryptomorin.xseries", "${project.group}.libs.xseries") + relocate("org.bstats", "${project.group}.libs.bstats") + relocate("com.tcoded.folialib", "${project.group}.libs.folialib") + relocate("de.tr7zw.changeme.nbtapi", "${project.group}.libs.nbtapi") } build { diff --git a/DeathMessagesModern/build.gradle.kts b/DeathMessagesModern/build.gradle.kts index a44648c1..c36f95d0 100644 --- a/DeathMessagesModern/build.gradle.kts +++ b/DeathMessagesModern/build.gradle.kts @@ -10,11 +10,11 @@ dependencies { compileOnly("io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT") compileOnly("commons-io:commons-io:2.18.0") // Remove this - implementation("com.github.cryptomorin:XSeries:12.0.0") + implementation("com.github.cryptomorin:XSeries:12.1.0") implementation("org.bstats:bstats-bukkit:3.1.0") implementation("com.github.technicallycoded:FoliaLib:0.4.3") - implementation("de.tr7zw:item-nbt-api:2.14.0") + implementation("de.tr7zw:item-nbt-api:2.14.1") compileOnly("me.clip:placeholderapi:2.11.6") compileOnly("com.discordsrv:discordsrv:1.29.0") compileOnly("io.lumine:Mythic-Dist:5.7.2") @@ -38,11 +38,10 @@ tasks { // minimize { // exclude(dependency("com.tcoded.folialib:.*:.*")) // } - relocate("com.cryptomorin.xseries", "dev.mrshawn.deathmessages.libs.xseries") - relocate("org.bstats", "dev.mrshawn.deathmessages.libs.bstats") - relocate("com.tcoded.folialib", "dev.mrshawn.deathmessages.libs.folialib") - relocate("de.tr7zw.changeme.nbtapi", "dev.mrshawn.deathmessages.libs.nbtapi") - relocate("net.dv8tion.jda", "dev.mrshawn.deathmessages.libs.jda") + relocate("com.cryptomorin.xseries", "${project.group}.libs.xseries") + relocate("org.bstats", "${project.group}.libs.bstats") + relocate("com.tcoded.folialib", "${project.group}.libs.folialib") + relocate("de.tr7zw.changeme.nbtapi", "${project.group}.libs.nbtapi") } build { diff --git a/build-logic/src/main/kotlin/cn.dreeam.deathmessages.wrapper.gradle.kts b/build-logic/src/main/kotlin/cn.dreeam.deathmessages.wrapper.gradle.kts index 3928d616..63dcacdb 100644 --- a/build-logic/src/main/kotlin/cn.dreeam.deathmessages.wrapper.gradle.kts +++ b/build-logic/src/main/kotlin/cn.dreeam.deathmessages.wrapper.gradle.kts @@ -3,7 +3,7 @@ plugins { `maven-publish` } -group = "dev.mrshawn" +group = "dev.mrshawn.deathmessages" version = "1.4.21-SNAPSHOT" repositories { @@ -46,7 +46,7 @@ repositories { // JitPack maven { name = "jitpack.io" - url = uri("https://jitpack.io") + url = uri("https://jitpack.io/") } // DiscordSRV @@ -64,7 +64,7 @@ repositories { // SayanVanish maven { name = "sayanvanish-repo" - url = uri("https://repo.sayandev.org/snapshots") + url = uri("https://repo.sayandev.org/snapshots/") } // sk89q's @@ -99,7 +99,7 @@ tasks { processResources { filesMatching("**/plugin.yml") { expand( - "version" to version + "version" to project.version ) } }