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) }