aboutsummaryrefslogtreecommitdiff
path: root/all
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2017-06-29 09:52:54 -0700
committerEric Anderson <ejona@google.com>2017-06-29 10:29:11 -0700
commit8f75f8ee7ca6c4c4a0c7a053e9923dcdee95e87e (patch)
treec356ade948c6b0af5f95437412399c153a4b4e6e /all
parent45085c3ce40f37c39e2fc630f2d06f052064ee93 (diff)
downloadgrpc-grpc-java-8f75f8ee7ca6c4c4a0c7a053e9923dcdee95e87e.tar.gz
all: Don't depend directly on grpc-protobuf-lite
grpc-protobuf-lite brings in protobuf-lite as a dependency, which has different versions of classes in protobuf. This causes duplicate classes on the class path, which easily breaks things. Since lite the lite runtime/codegen is incompatible with full protobuf, it makes sense to only depend on one of the two. grpc-protobuf actually already has a dependency on grpc-protobuf-lite, but excludes the protobuf-lite dependency, making the dep safe. But this is more of an implementation detail. We only change deps so that JavaDoc, code coverage, and similar will still include grpc-protobuf-lite. Fixes #2985
Diffstat (limited to 'all')
-rw-r--r--all/build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/all/build.gradle b/all/build.gradle
index bf3dad538..df0e1c546 100644
--- a/all/build.gradle
+++ b/all/build.gradle
@@ -32,7 +32,7 @@ for (subproject in rootProject.subprojects) {
}
dependencies {
- compile subprojects
+ compile subprojects.minus(project(':grpc-protobuf-lite'))
}
javadoc {