[
https://issues.apache.org/jira/browse/BEAM-5715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luke Cwik updated BEAM-5715:
----------------------------
Fix Version/s: 2.25.0
> 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
> Priority: P3
> Fix For: 2.25.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)