Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
kishansairam9 committed Jan 23, 2024
1 parent 4d36097 commit eb5b1bd
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions otel-extensions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,7 @@ val versions: Map<String, String> by extra

dependencies {
api(project(":filter-api"))
implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:${versions["opentelemetry_instrumentation_bom_alpha"]}"))

compileOnly("io.opentelemetry:opentelemetry-sdk")
compileOnly("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure")
compileOnly("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure-spi")

implementation("io.opentelemetry.semconv:opentelemetry-semconv")
implementation("io.opentelemetry.javaagent:opentelemetry-javaagent-extension-api")
implementation("io.opentelemetry.instrumentation:opentelemetry-instrumentation-api")
implementation("io.opentelemetry.javaagent:opentelemetry-javaagent-tooling") {
implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:${versions["opentelemetry_instrumentation_bom_alpha"]}")) {
constraints {
implementation("io.opentelemetry.javaagent:opentelemetry-javaagent-tooling-java9") {
attributes {
Expand All @@ -47,6 +38,16 @@ dependencies {
}
}
}
}

compileOnly("io.opentelemetry:opentelemetry-sdk")
compileOnly("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure")
compileOnly("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure-spi")

implementation("io.opentelemetry.semconv:opentelemetry-semconv")
implementation("io.opentelemetry.javaagent:opentelemetry-javaagent-extension-api")
implementation("io.opentelemetry.instrumentation:opentelemetry-instrumentation-api")
implementation("io.opentelemetry.javaagent:opentelemetry-javaagent-tooling") {
exclude("io.opentelemetry.javaagent", "opentelemetry-javaagent-bootstrap")
}

Expand Down

0 comments on commit eb5b1bd

Please sign in to comment.