Skip to content

Commit 0d83eb7

Browse files
committed
Fix: compile dependencies to implementation so they are shaded into the final JAR
1 parent 9f2d447 commit 0d83eb7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

core/build.gradle.kts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ dependencies {
22
compileOnly(files("lib/LegacyCodesCompatibility.jar"))
33
compileOnly("net.kyori:adventure-api:4.25.0")
44
compileOnly("io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT")
5-
compileOnly("org.bstats:bstats-bukkit:3.0.2")
5+
implementation("org.bstats:bstats-bukkit:3.0.2")
66
compileOnly("org.geysermc.floodgate:api:2.2.2-SNAPSHOT")
7-
compileOnly("com.cronutils:cron-utils:9.2.0")
7+
implementation("com.cronutils:cron-utils:9.2.0")
88
compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.0.14")
99
compileOnly(files("lib/MythicLib-dist-1.7.1-20251205.145545-63.jar"))
1010
compileOnly("net.Indyuce:MMOItems-API:6.10.1-SNAPSHOT")
@@ -29,11 +29,11 @@ dependencies {
2929
compileOnly("me.TechsCode:UltraEconomyAPI:1.1.2")
3030
compileOnly("com.willfp:EcoBits:1.8.4")
3131
compileOnly(files("lib/RoyaleEconomyAPI.jar"))
32-
compileOnly("com.github.Redempt:Crunch:2.0")
32+
implementation("com.github.Redempt:Crunch:2.0")
3333
compileOnly("com.bencodez:votingplugin:6.16.3")
3434
compileOnly(files("lib/SCore-5.26.5.17.jar"))
3535
compileOnly(files("lib/ExecutableItems-7.26.5.17.jar"))
36-
compileOnly("org.json:json:20210307")
36+
implementation("org.json:json:20210307")
3737
compileOnly("cn.superiormc.mythicchanger:plugin:3.0.7")
3838
compileOnly("com.nexomc:nexo:1.0.0")
3939
compileOnly(files("lib/Residence5.1.6.2.jar"))
@@ -52,11 +52,11 @@ dependencies {
5252
compileOnly("net.momirealms:craft-engine-core:26.4-SNAPSHOT")
5353
compileOnly("net.momirealms:craft-engine-bukkit:26.4-SNAPSHOT")
5454
compileOnly("com.bgsoftware:SuperiorSkyblockAPI:2025.1")
55-
compileOnly("com.zaxxer:HikariCP:5.1.0")
55+
implementation("com.zaxxer:HikariCP:5.1.0")
5656
compileOnly("com.github.retrooper:packetevents-spigot:2.9.3")
5757
compileOnly("com.github.decentsoftware-eu:decentholograms:2.9.9")
5858
compileOnly("com.github.Zrips:CMILib:1.5.8.1")
5959
compileOnly("com.github.Zrips:CMI-API:9.8.6.4")
6060
compileOnly("de.oliver:FancyHolograms:2.9.1")
61-
compileOnly("cn.gtemc:itembridge:1.0.25")
61+
implementation("cn.gtemc:itembridge:1.0.25")
6262
}

0 commit comments

Comments
 (0)