We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3a37368 + 70520af commit 4874636Copy full SHA for 4874636
build.gradle.kts
@@ -64,10 +64,9 @@ bukkit {
64
}
65
66
tasks {
67
- // "Replace" the build task with the shadowJar task (probably bad but who cares)
68
- jar {
69
- dependsOn("shadowJar")
70
- enabled = false
+ // Add the shadowJar task to the build task
+ build {
+ dependsOn(shadowJar)
71
72
73
shadowJar {
@@ -80,8 +79,11 @@ tasks {
80
79
// Relocate dependencies
81
relocate("com.iridium.iridiumcore")
82
relocate("com.j256.ormlite")
83
- relocate("org.bstats")
84
relocate("de.jeff_media.updatechecker")
+ relocate("org.bstats")
+ relocate("org.intellij.lang.annotations")
85
+ relocate("org.jetbrains.annotations")
86
+ relocate("org.jnbt")
87
88
// Remove unnecessary files from the jar
89
minimize()
0 commit comments