Hongxin Liang created BEAM-5715:
-----------------------------------
Summary: Depending on grpc-all pulls in more dependencies than
necessary
Key: BEAM-5715
URL: https://issues.apache.org/jira/browse/BEAM-5715
Project: Beam
Issue Type: Improvement
Components: dependencies
Reporter: Hongxin Liang
h3. Description:
grpc-all introduces both grpc-netty and grpc-okhttp. According to
[https://github.com/grpc/grpc-java/pull/1924], this is not recommended.
grpc-okhttp is better for Android.
Beam depends on both
[grpc-all|https://github.com/apache/beam/blob/master/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L389]
and
[grpc-netty|https://github.com/apache/beam/blob/master/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L395]
explicitly. Not sure this is to keep transitive dependencies backward
compatible or other reasons.
h3. Desired state:
Beam does not depend on grpc-all, and only depends on necessary parts of grpc
explicitly.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)