We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5b669b commit 104e33dCopy full SHA for 104e33d
build.gradle.kts
@@ -38,10 +38,9 @@ dependencies {
38
}
39
40
tasks {
41
- // "Replace" the build task with the shadowJar task (probably bad but who cares)
42
- jar {
43
- dependsOn("shadowJar")
44
- enabled = false
+ // Add the shadowJar task to the build task
+ build {
+ dependsOn(shadowJar)
45
46
47
shadowJar {
@@ -54,8 +53,11 @@ tasks {
54
53
// Relocate dependencies
55
relocate("com.iridium.iridiumcore")
56
relocate("com.j256.ormlite")
57
- relocate("org.bstats")
58
relocate("de.jeff_media.updatechecker")
+ relocate("org.bstats")
+ relocate("org.intellij.lang.annotations")
59
+ relocate("org.jetbrains.annotations")
60
+ relocate("org.jnbt")
61
62
// Remove unnecessary files from the jar
63
minimize()
0 commit comments