mirror of https://github.com/grpc/grpc-java.git
44 lines
1.1 KiB
Groovy
44 lines
1.1 KiB
Groovy
description = "gRPC: All"
|
|
|
|
// Make sure that no transitive dependencies are included.
|
|
configurations.compile.transitive = false
|
|
|
|
for (subproject in rootProject.subprojects) {
|
|
if (subproject == project) {
|
|
continue
|
|
}
|
|
evaluationDependsOn(subproject.path)
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':grpc-auth'),
|
|
project(':grpc-core'),
|
|
project(':grpc-netty'),
|
|
project(':grpc-okhttp'),
|
|
project(':grpc-protobuf'),
|
|
project(':grpc-protobuf-nano'),
|
|
project(':grpc-stub')
|
|
}
|
|
|
|
// Create a fat jar containing only the direct dependencies
|
|
jar {
|
|
from {
|
|
configurations.compile.collect {
|
|
it.isDirectory() ? it : zipTree(it)
|
|
}
|
|
}
|
|
}
|
|
|
|
javadoc {
|
|
classpath = files(rootProject.subprojects.collect { subproject ->
|
|
subproject.javadoc.classpath
|
|
})
|
|
for (subproject in rootProject.subprojects) {
|
|
if (subproject == project) {
|
|
continue;
|
|
}
|
|
source subproject.javadoc.source
|
|
options.links subproject.javadoc.options.links.toArray(new String[0])
|
|
}
|
|
}
|