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
This commit is contained in:
Eric Anderson 2016-04-28 16:23:39 -07:00
parent ac4168a236
commit f56fdf0441
1 changed files with 0 additions and 18 deletions

View File

@ -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