Skip to content

Commit

Permalink
Fix duplication strategy failure
Browse files Browse the repository at this point in the history
  • Loading branch information
freyacodes committed Apr 8, 2024
1 parent 400dd42 commit 423f0ce
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion LavalinkServer/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ tasks {
archiveClassifier = "musl"
}


withType<BootJar> {
archiveFileName = "Lavalink.jar"
duplicatesStrategy = DuplicatesStrategy.WARN

if (findProperty("targetPlatform") == "musl") {
archiveFileName = "Lavalink-musl.jar"
Expand Down Expand Up @@ -154,6 +154,14 @@ tasks {
jvmArgs?.addAll(args)
}
}

withType<Tar> {
duplicatesStrategy = DuplicatesStrategy.WARN
}

withType<Zip> {
duplicatesStrategy = DuplicatesStrategy.WARN
}
}

mavenPublishing {
Expand Down

0 comments on commit 423f0ce

Please sign in to comment.