Skip to content

Commit

Permalink
fix: duplicates stragtegy
Browse files Browse the repository at this point in the history
  • Loading branch information
HashMapsData2Value committed Oct 8, 2024
1 parent 5813f65 commit c13a726
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jvmModule/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ tasks.register<Jar>("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) }
Expand Down

0 comments on commit c13a726

Please sign in to comment.