From 8f75f8ee7ca6c4c4a0c7a053e9923dcdee95e87e Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Thu, 29 Jun 2017 09:52:54 -0700 Subject: [PATCH] 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 --- all/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/all/build.gradle b/all/build.gradle index bf3dad5387..df0e1c5464 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 {