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
This commit is contained in:
Eric Anderson 2017-06-29 09:52:54 -07:00
parent 45085c3ce4
commit 8f75f8ee7c
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ for (subproject in rootProject.subprojects) {
}
dependencies {
compile subprojects
compile subprojects.minus(project(':grpc-protobuf-lite'))
}
javadoc {