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

gradle build Task :grpc-interop-testing:extractIncludeProto FAILED #9687

Closed
YifeiZhuang opened this issue Nov 11, 2022 · 1 comment
Closed

Comments

@YifeiZhuang
Copy link
Contributor

What version of gRPC-Java are you using?

1.52.0-SNAPSHOT

What is your environment?

Mac

What did you expect to see?

Compile

What did you see instead?

> Task :grpc-interop-testing:extractIncludeProto FAILED  FAILURE: Build failed with an exception.  * What went wrong: Execution failed for task ':grpc-interop-testing:extractIncludeProto'. > Querying the mapped value of provider(interface java.util.Set) before task ':grpc-netty-shaded:jar' has completed is not supported

BUILD FAILED in 1m 15s

Steps to reproduce the bug

Add opencensus dependency libraries.opencensus.exporter.trace.stackdriver or opentelemetry dependenc.

diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 37d443cd4..6991ff103 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -71,3 +71,4 @@ robolectric = "org.robolectric:robolectric:4.8.1"
 signature-android = "net.sf.androidscents.signature:android-api-level-19:4.4.2_r4"
 signature-java = "org.codehaus.mojo.signature:java18:1.0"
 truth = "com.google.truth:truth:1.0.1"
+opentelemetry = "com.google.cloud.opentelemetry:exporter-trace:0.15.0"
diff --git a/interop-testing/build.gradle b/interop-testing/build.gradle
index a2e33d64d..ba8090a5c 100644
--- a/interop-testing/build.gradle
+++ b/interop-testing/build.gradle
@@ -32,6 +32,7 @@ dependencies {
             libraries.junit,
             libraries.truth,
             libraries.opencensus.contrib.grpc.metrics,
+            libraries.opentelemetry,
@YifeiZhuang YifeiZhuang added this to the Next milestone Nov 11, 2022
@YifeiZhuang
Copy link
Contributor Author

gradle bug
google/protobuf-gradle-plugin#576
upgrade to protobuf-gradle-plugin to 0.9.1 fixed it.

@ejona86 ejona86 removed the bug label Dec 12, 2022
@ejona86 ejona86 removed this from the Next milestone Dec 20, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants