Skip to content

Circular dependency in grpc-core (Gradle) #10701

@EpariNigam

Description

@EpariNigam

What version of gRPC-Java are you using?

1.59.0

What is your environment?

Android

What did you expect to see?

There shouldn't be circular dependencies in libraries. We are using google-oss-licenseplugin in our project to show the licenses of libraries we want to use. But, due to this the project is failing to build release version.

What did you see instead?

Seeing circular dependencies in grpc-core -> grpc-util -> grpc-core

+--- io.grpc:grpc-core:1.59.0
|    +--- io.grpc:grpc-api:1.59.0
|    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    +--- com.google.errorprone:error_prone_annotations:2.20.0
|    |    \--- com.google.guava:guava:32.0.1-android
|    |         +--- com.google.guava:failureaccess:1.0.1
|    |         +--- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
|    |         +--- com.google.code.findbugs:jsr305:3.0.2
|    |         +--- org.checkerframework:checker-qual:3.33.0
|    |         +--- com.google.errorprone:error_prone_annotations:2.18.0 -> 2.20.0
|    |         \--- com.google.j2objc:j2objc-annotations:2.8
|    +--- com.google.code.gson:gson:2.10.1
|    +--- com.google.android:annotations:4.1.1.4
|    +--- org.codehaus.mojo:animal-sniffer-annotations:1.23
|    +--- com.google.errorprone:error_prone_annotations:2.20.0
|    +--- com.google.guava:guava:32.0.1-android (*)
|    +--- io.perfmark:perfmark-api:0.26.0
|    +--- io.grpc:grpc-context:1.59.0
|    |    \--- io.grpc:grpc-api:1.59.0 (*)
|    \--- io.grpc:grpc-util:1.59.0
|         +--- io.grpc:grpc-core:1.59.0 (*)
|         +--- org.codehaus.mojo:animal-sniffer-annotations:1.23
|         \--- com.google.guava:guava:32.0.1-android (*)

Steps to reproduce the bug

Adding grpc-core to any library and generating dependency graph.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions