Skip to content

Commit

Permalink
Added exclusions for Java 17 and 21 classes adderd to META-INF as thi…
Browse files Browse the repository at this point in the history
…s breaks shadow JAR building
  • Loading branch information
tomakehurst committed Aug 23, 2024
1 parent a4f0c0e commit 53ed36a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wiremock-grpc-extension-standalone/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ shadowJar {
dependencies {
exclude(dependency('org.slf4j:slf4j-api'))
}

exclude 'META-INF/maven/**'
exclude 'META-INF/versions/17/**'
exclude 'META-INF/versions/21/**'
exclude 'module-info.class'
exclude 'handlebars-*.js'
}

protobuf {
Expand Down

0 comments on commit 53ed36a

Please sign in to comment.