Skip to content

Commit 4874636

Browse files
authored
Merge branch 'master' into feature/dynamic-plugin-yml
2 parents 3a37368 + 70520af commit 4874636

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

build.gradle.kts

+7-5
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,9 @@ bukkit {
6464
}
6565

6666
tasks {
67-
// "Replace" the build task with the shadowJar task (probably bad but who cares)
68-
jar {
69-
dependsOn("shadowJar")
70-
enabled = false
67+
// Add the shadowJar task to the build task
68+
build {
69+
dependsOn(shadowJar)
7170
}
7271

7372
shadowJar {
@@ -80,8 +79,11 @@ tasks {
8079
// Relocate dependencies
8180
relocate("com.iridium.iridiumcore")
8281
relocate("com.j256.ormlite")
83-
relocate("org.bstats")
8482
relocate("de.jeff_media.updatechecker")
83+
relocate("org.bstats")
84+
relocate("org.intellij.lang.annotations")
85+
relocate("org.jetbrains.annotations")
86+
relocate("org.jnbt")
8587

8688
// Remove unnecessary files from the jar
8789
minimize()

0 commit comments

Comments
 (0)