Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
kishansairam9 committed Jan 23, 2024
1 parent c007d40 commit 61ade35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ subprojects {
// when updating these values, some values must also be updated in buildSrc as this map
// cannot be accessed there
"opentelemetry_proto" to "0.11.0-alpha",
"opentelemetry_java_agent-tooling" to "1.32.0-alpha",
"opentelemetry_instrumentation_bom_alpha" to "1.32.0-alpha",

"opentelemetry_gradle_plugin" to "1.32.0-alpha",
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/servlet/servlet-3.0/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ afterEvaluate{
val versions: Map<String, String> by extra

dependencies {
implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:${versions["opentelemetry_instrumentation_bom_alpha"]}"))
api(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:${versions["opentelemetry_instrumentation_bom_alpha"]}"))
implementation("io.opentelemetry.javaagent.instrumentation:opentelemetry-javaagent-servlet-common")
implementation("io.opentelemetry.javaagent.instrumentation:opentelemetry-javaagent-servlet-3.0") // Servlet3Accessor
testImplementation("io.opentelemetry.javaagent.instrumentation:opentelemetry-javaagent-servlet-3.0")
Expand Down
4 changes: 2 additions & 2 deletions otel-extensions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ dependencies {
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:${versions["opentelemetry_java_agent-tooling"]}") {
implementation("io.opentelemetry.javaagent:opentelemetry-javaagent-tooling") {
constraints {
implementation("io.opentelemetry.javaagent:opentelemetry-javaagent-tooling-java9:${versions["opentelemetry_java_agent-tooling"]}") {
implementation("io.opentelemetry.javaagent:opentelemetry-javaagent-tooling-java9") {
attributes {
// this transitive dependency creates classes compatible with Java 9 and up, but is only referenced in safe ways for
// java 8 by the javaagent-tooling dependency
Expand Down

0 comments on commit 61ade35

Please sign in to comment.