Skip to content

Commit

Permalink
Fix bstats shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
SageSphinx63920 committed Oct 11, 2024
1 parent d724fc7 commit 9dd9e4e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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 {
Expand Down

0 comments on commit 9dd9e4e

Please sign in to comment.