Skip to content
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

Merged
merged 2 commits into from
May 1, 2017

Conversation

ericgribkoff
Copy link
Contributor

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 on libraries.google_api_protos. AFAIK the presence of this rule doesn't impact #2961.

@ericgribkoff ericgribkoff requested a review from ejona86 May 1, 2017 19:14
@ejona86
Copy link
Member

ejona86 commented May 1, 2017

:( Why does it depend on api-common?

@@ -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'
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@ericgribkoff
Copy link
Contributor Author

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?

@ejona86
Copy link
Member

ejona86 commented May 1, 2017

Yeah, please open an issue about it, and CC me on it.

@ericgribkoff
Copy link
Contributor Author

@ericgribkoff ericgribkoff merged commit df69485 into grpc:master May 1, 2017
@ericgribkoff ericgribkoff deleted the fix_dependency branch May 1, 2017 21:43
@ejona86 ejona86 added the TODO:backport PR needs to be backported. Removed after backport complete label May 2, 2017
@ejona86 ejona86 removed the TODO:backport PR needs to be backported. Removed after backport complete label Jun 29, 2017
@ejona86
Copy link
Member

ejona86 commented Jun 29, 2017

Backported to 1.3.x in #3155

@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants