Remove dependency on api:metrics which was deprecated where possible. (#3975)

This commit is contained in:
Anuraag Agrawal 2021-12-09 23:27:50 +09:00 committed by GitHub
parent 3f05d20f32
commit ed7f82f873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 6 deletions

View File

@ -16,7 +16,6 @@ dependencies {
protoSource("io.opentelemetry.proto:opentelemetry-proto:${versions["io.opentelemetry.proto"]}")
api(project(":api:all"))
api(project(":api:metrics"))
compileOnly(project(":sdk:metrics"))
compileOnly(project(":sdk:trace"))

View File

@ -12,11 +12,10 @@ otelJava.moduleName.set("io.opentelemetry.sdk.extension.trace.incubator")
dependencies {
api(project(":api:all"))
api(project(":sdk:all"))
api(project(":sdk:trace"))
compileOnly(project(":sdk:trace-shaded-deps"))
implementation(project(":api:metrics"))
implementation(project(":semconv"))
annotationProcessor("com.google.auto.value:auto-value")

View File

@ -11,8 +11,6 @@ otelJava.moduleName.set("io.opentelemetry.sdk.extension.logging")
dependencies {
api(project(":sdk:common"))
implementation(project(":api:metrics"))
testImplementation("org.awaitility:awaitility")
annotationProcessor("com.google.auto.value:auto-value")

View File

@ -24,7 +24,6 @@ dependencies {
compileOnly(project(":sdk:trace-shaded-deps"))
implementation(project(":api:metrics"))
implementation(project(":semconv"))
annotationProcessor("com.google.auto.value:auto-value")