Skip to content

Commit

Permalink
feat: shadowJar should also include same exclusion as jar
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyli committed Jun 20, 2024
1 parent 0a3d86e commit a10f8e5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,17 @@ shadowJar {
duplicatesStrategy = 'exclude'

zip64 = true

exclude "org/codehaus/**"
exclude "META-INF/groovy*"
exclude "META-INF/**/*groovy*"
exclude "META-INF/BCKEY*"
exclude "org/bouncycastle/**"
exclude "org/codehaus/mojo"
exclude "org/slf4j/impl/**"
exclude "org/junit/**"
exclude "org/testing/**"
exclude "org/opentest4j/**"
}

if (rootProject == project) {
Expand Down

0 comments on commit a10f8e5

Please sign in to comment.