From c13a72628ae3595ac4d1a6deb73bd34950784ff2 Mon Sep 17 00:00:00 2001 From: HashMapsData2Value <83883690+HashMapsData2Value@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:33:13 +0200 Subject: [PATCH] fix: duplicates stragtegy --- jvmModule/build.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jvmModule/build.gradle.kts b/jvmModule/build.gradle.kts index 5c0eb4c..d604704 100644 --- a/jvmModule/build.gradle.kts +++ b/jvmModule/build.gradle.kts @@ -62,6 +62,8 @@ tasks.register("fatJar") { archiveClassifier.set("all") from(sourceSets.main.get().output) + duplicatesStrategy = DuplicatesStrategy.EXCLUDE + dependsOn(configurations.runtimeClasspath) from({ configurations.runtimeClasspath.get().filter { it.name.endsWith("jar") }.map { zipTree(it) }