From 42d2d8028eaac9ee65772a050d7a070c40ce1d49 Mon Sep 17 00:00:00 2001 From: Aurora Lahtela <24460436+AuroraLS3@users.noreply.github.com> Date: Fri, 15 Jul 2022 08:58:21 +0300 Subject: [PATCH] Exclude extra stuff from fabric jar --- Plan/fabric/build.gradle | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Plan/fabric/build.gradle b/Plan/fabric/build.gradle index 79b79fb6d..129e1c1a8 100644 --- a/Plan/fabric/build.gradle +++ b/Plan/fabric/build.gradle @@ -63,6 +63,21 @@ shadowJar { exclude "org/junit/**/*" // see extensions/build.gradle exclude "org/opentest4j/**/*" // see extensions/build.gradle exclude "org/checkerframework/**/*" // Dagger compiler + exclude "com/google/common/**/*" + exclude "com/google/thirdparty/**/*" + // Exclude swagger + exclude "org/yaml/**/*" + exclude "nonapi/**/*" + exclude "io/github/classgraph/**/*" + exclude "io/swagger/**/*" + exclude "com/sun/activation/**/*" + exclude "jakarta/activation/**/*" + exclude "jakarta/validation/**/*" + exclude "jakarta/ws/**/*" + exclude "jakarta/xml/**/*" + exclude "javassist/**/*" + + relocate 'org.slf4j', 'plan.org.slf4j' relocate('org.apache', 'plan.org.apache') { exclude 'org/apache/logging/**'