diff --git a/build.gradle.kts b/build.gradle.kts index 3b3b81d..a2efed5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -205,6 +205,7 @@ hangarPublish { } tasks.modrinth.get().dependsOn(tasks.modrinthSyncBody) +tasks.jar.get().dependsOn(tasks.shadowJar) val serverDir: File = projectDir.resolve("testserver") val pluginDir: File = serverDir.resolve("plugins") @@ -223,8 +224,12 @@ tasks { } shadowJar { - archiveFileName.set("keklist-${version}.jar") - relocate("org.bstats", "de.hdg.keklist.bstats") + archiveClassifier.set("") + relocate("org.bstats", "libs.bstats") + } + + jar { + archiveClassifier.set("unshaded") } processResources {