Skip to content

Commit f56fdf0

Browse files
committed
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 grpc#1597
1 parent ac4168a commit f56fdf0

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

all/build.gradle

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ buildscript {
1111
}
1212
}
1313

14-
// Make sure that no transitive dependencies are included.
15-
configurations.compile.transitive = false
16-
1714
def subprojects = [
1815
project(':grpc-auth'),
1916
project(':grpc-core'),
@@ -36,21 +33,6 @@ dependencies {
3633
compile subprojects
3734
}
3835

39-
// Create a fat jar containing only the direct dependencies
40-
jar {
41-
from {
42-
configurations.compile.collect {
43-
it.isDirectory() ? it : zipTree(it)
44-
}
45-
}
46-
}
47-
48-
sourcesJar {
49-
from {
50-
subprojects.sourceSets.main.allSource
51-
}
52-
}
53-
5436
javadoc {
5537
classpath = files(subprojects.collect { subproject ->
5638
subproject.javadoc.classpath

0 commit comments

Comments
 (0)