From 423f0cef86ef39ca3f1e3d2900b04ad64013963c Mon Sep 17 00:00:00 2001 From: Freya Arbjerg Date: Mon, 8 Apr 2024 14:59:01 +0200 Subject: [PATCH] Fix duplication strategy failure --- LavalinkServer/build.gradle.kts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/LavalinkServer/build.gradle.kts b/LavalinkServer/build.gradle.kts index a94556b85..7623b242b 100644 --- a/LavalinkServer/build.gradle.kts +++ b/LavalinkServer/build.gradle.kts @@ -123,9 +123,9 @@ tasks { archiveClassifier = "musl" } - withType { archiveFileName = "Lavalink.jar" + duplicatesStrategy = DuplicatesStrategy.WARN if (findProperty("targetPlatform") == "musl") { archiveFileName = "Lavalink-musl.jar" @@ -154,6 +154,14 @@ tasks { jvmArgs?.addAll(args) } } + + withType { + duplicatesStrategy = DuplicatesStrategy.WARN + } + + withType { + duplicatesStrategy = DuplicatesStrategy.WARN + } } mavenPublishing {