diff options
author | Eric Anderson <ejona@google.com> | 2016-04-28 16:23:39 -0700 |
---|---|---|
committer | Eric Anderson <ejona@google.com> | 2016-04-28 16:23:39 -0700 |
commit | f56fdf0441f6448c3e644650c7020db8b7114a4f (patch) | |
tree | 9824ecd3e9f77c3c6b3f8c862548d74b08d3d3a5 /all | |
parent | ac4168a236e79f32066ae049f506bff2da113082 (diff) | |
download | grpc-grpc-java-f56fdf0441f6448c3e644650c7020db8b7114a4f.tar.gz |
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
Diffstat (limited to 'all')
-rw-r--r-- | all/build.gradle | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/all/build.gradle b/all/build.gradle index c75781bab..a84d9eeda 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 |