You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enforcer plugin reports dependency convergence issue for Stasig SDK:
Dependency convergence error for com.google.protobuf:protobuf-java:3.25.3 paths to dependency are:
+-org.detouched.playground:statsig:1.0-SNAPSHOT
+-com.statsig:serversdk:1.25.0
+-io.grpc:grpc-protobuf:1.66.0
+-com.google.protobuf:protobuf-java:3.25.3
and
+-org.detouched.playground:statsig:1.0-SNAPSHOT
+-com.statsig:serversdk:1.25.0
+-io.grpc:grpc-protobuf:1.66.0
+-com.google.api.grpc:proto-google-common-protos:2.41.0
+-com.google.protobuf:protobuf-java:3.25.3
and
+-org.detouched.playground:statsig:1.0-SNAPSHOT
+-com.statsig:serversdk:1.25.0
+-com.google.protobuf:protobuf-java:3.24.4
This can be solved by manually excluding transitive dependency on protobuf-java and explicitly adding a direct dependency on it, but this means I'll have to keep an eye on the version compatibility in the future which isn't great.
Since io.grpc:grpc-protobuf already pulls in com.google.protobuf:protobuf-java, it doesn't make much sense to keep an explicit dependency on the latter in Gradle config unless it was added to avoid some vulnerability. I don't think it is the case, so maybe it's worth removing it?
The text was updated successfully, but these errors were encountered:
detouched
changed the title
Redundant dependency on protobuf-java can be removed to solve dependency convergence
Redundant dependency on protobuf-java can be removed to solve dependency convergence error
Sep 6, 2024
Enforcer plugin reports dependency convergence issue for Stasig SDK:
This can be solved by manually excluding transitive dependency on
protobuf-java
and explicitly adding a direct dependency on it, but this means I'll have to keep an eye on the version compatibility in the future which isn't great.Since
io.grpc:grpc-protobuf
already pulls incom.google.protobuf:protobuf-java
, it doesn't make much sense to keep an explicit dependency on the latter in Gradle config unless it was added to avoid some vulnerability. I don't think it is the case, so maybe it's worth removing it?The text was updated successfully, but these errors were encountered: