From f56fdf0441f6448c3e644650c7020db8b7114a4f Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Thu, 28 Apr 2016 16:23:39 -0700 Subject: [PATCH] Stop producing a fat grpc-all jar grpc-all contains a copy of all the classes and sources of "important" artifacts. The copy causes problems when grpc-all is mixed with the individual artifacts like grpc-netty or grpc-core, since they will collide on the classpath. Avoiding the copy fixes the problem. See #1597 --- all/build.gradle | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/all/build.gradle b/all/build.gradle index c75781bab0..a84d9eeda5 100644 --- a/all/build.gradle +++ b/all/build.gradle @@ -11,9 +11,6 @@ buildscript { } } -// Make sure that no transitive dependencies are included. -configurations.compile.transitive = false - def subprojects = [ project(':grpc-auth'), project(':grpc-core'), @@ -36,21 +33,6 @@ dependencies { compile subprojects } -// Create a fat jar containing only the direct dependencies -jar { - from { - configurations.compile.collect { - it.isDirectory() ? it : zipTree(it) - } - } -} - -sourcesJar { - from { - subprojects.sourceSets.main.allSource - } -} - javadoc { classpath = files(subprojects.collect { subproject -> subproject.javadoc.classpath