From 53ed36aaf118a0c53f972cc930fe0d249f9b368e Mon Sep 17 00:00:00 2001 From: Tom Akehurst Date: Fri, 23 Aug 2024 17:35:02 +0100 Subject: [PATCH] Added exclusions for Java 17 and 21 classes adderd to META-INF as this breaks shadow JAR building --- wiremock-grpc-extension-standalone/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wiremock-grpc-extension-standalone/build.gradle b/wiremock-grpc-extension-standalone/build.gradle index 7173481..0a6b11f 100644 --- a/wiremock-grpc-extension-standalone/build.gradle +++ b/wiremock-grpc-extension-standalone/build.gradle @@ -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 {