-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build,protobuf: update google_api_protos dependency #2965
Conversation
:( Why does it depend on api-common? |
protobuf/build.gradle
Outdated
@@ -16,7 +16,6 @@ dependencies { | |||
libraries.protobuf_util | |||
|
|||
compile (libraries.google_api_protos) { | |||
exclude group: 'io.grpc' | |||
// 'com.google.api' transitively depends on 'com.google.auto.value:auto-value:1.1', which | |||
// breaks our annotations. | |||
exclude group: 'com.google.api' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also specify the artifact name, so that it avoids the wildcard in the pom.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
ccd8893
to
38aa015
Compare
I'm not sure why they depend on api-common. It's not clear to me from https://github.com/googleapis/googleapis how the jar is even produced or what it contains, without looking through the jar from maven itself. Should I open an issue on https://github.com/googleapis/googleapis about this dependency? |
Yeah, please open an issue about it, and CC me on it. |
Backported to 1.3.x in #3155 |
Addresses #2961.
Thanks to @zhangkun83 who identified a similar issue with instrumentation-java, I've sent googleapis/api-common-java#27 to make their dependency on auto-value compileOnly, which will enable remove the remaining
exclude group
from the dependency onlibraries.google_api_protos
. AFAIK the presence of this rule doesn't impact #2961.