opentelemetry-java: Cannot use Gradle composite build
Is your feature request related to a problem? Please describe. I tried to develop a feature which requires code changes both in this repo and in java instrumentation repo. To verify that everything works I wanted to build instrumentation agent with changes from this repo using Gradle compose build. Unfortunately build failed:
Could not determine the dependencies of task ':smoke-tests:test'.
> Could not resolve all task dependencies for configuration ':smoke-tests:testRuntimeClasspath'.
> Could not find io.grpc:grpc-api:.
Required by:
project :smoke-tests > project :opentelemetry-java:opentelemetry-proto
> Could not find io.grpc:grpc-protobuf:.
Required by:
project :smoke-tests > project :opentelemetry-java:opentelemetry-proto
> Could not find io.grpc:grpc-stub:.
Required by:
project :smoke-tests > project :opentelemetry-java:opentelemetry-proto
> Could not find io.grpc:grpc-context:.
Required by:
project :smoke-tests > project :testing-common > project :opentelemetry-java:opentelemetry-api > project :opentelemetry-java:opentelemetry-context-prop
It seems to me that bom support used by this repo prevents from including it into other projects.
I don’t know any other way to test instrumentation repo with unreleased changes from this project.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (15 by maintainers)
Seems to be working now.
I will give it a try during next week and then give my opinion
Fixing this seems important. In the meantime you can use
publishToMavenLocal
and point at 0.8.0-SNAPSHOT I believe.