Skip to content

Commit

Permalink
chore(gradle-plugin): Explicitly set a duplicatesStrategy
Browse files Browse the repository at this point in the history
This is a preparation for removing the globally set `duplicatesStrategy`.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Sep 18, 2024
1 parent c6523c4 commit d29db08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/package-managers/gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ tasks.register<Jar>("fatJar") {

archiveClassifier = "fat"

// Handle duplicate `META-INF/DEPENDENCIES` files.
duplicatesStrategy = DuplicatesStrategy.EXCLUDE

from(sourceSets.main.get().output)
dependsOn(configurations.runtimeClasspath)

Expand Down

0 comments on commit d29db08

Please sign in to comment.