Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreeam-qwq committed Dec 23, 2024
1 parent 2b67849 commit 0dd6ee9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 21 deletions.
19 changes: 9 additions & 10 deletions DeathMessagesLegacy/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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 {
Expand Down
13 changes: 6 additions & 7 deletions DeathMessagesModern/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
`maven-publish`
}

group = "dev.mrshawn"
group = "dev.mrshawn.deathmessages"
version = "1.4.21-SNAPSHOT"

repositories {
Expand Down Expand Up @@ -46,7 +46,7 @@ repositories {
// JitPack
maven {
name = "jitpack.io"
url = uri("https://jitpack.io")
url = uri("https://jitpack.io/")
}

// DiscordSRV
Expand All @@ -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
Expand Down Expand Up @@ -99,7 +99,7 @@ tasks {
processResources {
filesMatching("**/plugin.yml") {
expand(
"version" to version
"version" to project.version
)
}
}
Expand Down

0 comments on commit 0dd6ee9

Please sign in to comment.