com.google.actions:actions-on-google:1.8.0 in configuration ':implementation' has 18 classes duplicated by com.google.api.grpc:proto-google-common-protos:1.17.0. Duplicate classes: [com/google/api/CustomHttpPatternOrBuilder, com/google/api/AnnotationsProto$1, com/google/api/CustomHttpPattern$1, com/google/api/AnnotationsProto, com/google/api/CustomHttpPattern, com/google/api/Http$Builder, com/google/api/HttpOrBuilder, com/google/api/CustomHttpPattern$Builder, com/google/api/HttpRule, com/google/api/HttpRuleOrBuilder, com/google/api/HttpRule$PatternCase, com/google/api/HttpProto, com/google/api/HttpRule$Builder, com/google/api/HttpRule$2, com/google/api/HttpRule$1, com/google/api/Http, com/google/api/Http$1, com/google/api/HttpProto$1]
This project contains lint violations. A complete listing of the violations follows.
Because none were serious, the build's overall status was unaffected.
warning duplicate-dependency-class com.google.actions:actions-on-google:1.8.0 in configuration ':implementation' has 18 classes duplicated by com.google.api.grpc:proto-google-common-protos:1.17.0 (use --info for detailed class list) (no auto-fix available)
Running https://github.com/nebula-plugins/gradle-lint-plugin on a project that depens on
actions-on-google:1.8.0
will trigger the following warning.I believe this is due to the project vendoring the generated class from the following proto: https://github.com/actions-on-google/actions-on-google-java/tree/master/src/main/proto/google/api
While those are also available as part of the
com.google.api.grpc:proto-google-common-protos:1.17.0
, whichactions-on-google:1.8.0
depends transitively thruio.grpc:grpc-protobuf
in https://github.com/actions-on-google/actions-on-google-java/blob/master/build-smarthome.gradle#L51.see:
/cc @taycaldwell @Fleker