From 7cd2fd9791d0603a748dc3ef40d7b657d6789f45 Mon Sep 17 00:00:00 2001 From: Louis Bergelson Date: Fri, 23 Mar 2018 13:02:46 -0400 Subject: [PATCH] prevent uploadArchives from including distZip and distTar fixes #4567 --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index f198b17f370..1182b50e43c 100644 --- a/build.gradle +++ b/build.gradle @@ -610,7 +610,11 @@ artifacts { archives jar archives javadocJar archives sourcesJar + } +//remove zip and tar added by the application plugin +configurations.archives.artifacts.removeAll {it.file =~ '.zip$'} +configurations.archives.artifacts.removeAll {it.file =~ '.tar$'} /** * Sign non-snapshot releases with our secret key. This should never need to be invoked directly.