From e461004ed9ecc8a698f464da58cecad338d06b5c Mon Sep 17 00:00:00 2001
From: zzz <zzz@i2pmail.org>
Date: Mon, 4 Jan 2021 07:38:19 -0500
Subject: [PATCH] Build: Remove jars from gradle wars

---
 apps/i2psnark/build.gradle  | 3 +--
 apps/i2ptunnel/build.gradle | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/apps/i2psnark/build.gradle b/apps/i2psnark/build.gradle
index 3a87d722ab..7f3bd5b340 100644
--- a/apps/i2psnark/build.gradle
+++ b/apps/i2psnark/build.gradle
@@ -13,7 +13,7 @@ sourceSets {
 
 dependencies {
     compile project(':core')
-    compile project(':apps:systray')
+    providedCompile project(':apps:systray')
     compile 'gnu.getopt:java-getopt:1.0.13'
     providedCompile project(':apps:ministreaming')
     providedCompile project(':apps:jetty')
@@ -60,5 +60,4 @@ war {
         from 'mime.properties'
     }
     webXml = file('web.xml')
-    // TODO why is this in there? WEB-INF/lib/systray.jar
 }
diff --git a/apps/i2ptunnel/build.gradle b/apps/i2ptunnel/build.gradle
index a26f0525db..23f73e0177 100644
--- a/apps/i2ptunnel/build.gradle
+++ b/apps/i2ptunnel/build.gradle
@@ -19,7 +19,7 @@ sourceSets {
 
 dependencies {
     compile project(':core')
-    compile project(':apps:ministreaming')
+    providedCompile project(':apps:ministreaming')
     compile 'gnu.getopt:java-getopt:1.0.13'
     providedCompile project(':apps:jetty')
 }
@@ -106,6 +106,5 @@ war {
     exclude '*.jsi'
     exclude '*.jsp'
     webXml = file('jsp/web.xml')
-    // FIXME why is this in there? WEB-INF/lib/mstreaming.jar
 }
 
-- 
GitLab