Skip to content

Commit

Permalink
Fix NoClassDefFoundError
Browse files Browse the repository at this point in the history
  • Loading branch information
heyams committed Apr 19, 2023
1 parent 6a1e5e8 commit c637a58
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion agent/instrumentation/methods/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ val otelInstrumentationAlphaVersion: String by project
dependencies {
compileOnly("io.opentelemetry.javaagent:opentelemetry-javaagent-tooling")
compileOnly("io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations-support")
compileOnly("com.azure:azure-core")
implementation("com.azure:azure-core")

// TODO remove when start using io.opentelemetry.instrumentation.javaagent-instrumentation plugin
add("codegen", "io.opentelemetry.javaagent:opentelemetry-javaagent-tooling:$otelInstrumentationAlphaVersion")
Expand Down
8 changes: 8 additions & 0 deletions agent/instrumentation/methods/gradle.lockfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
com.azure:azure-core:1.37.0=runtimeClasspath
com.azure:azure-sdk-bom:1.2.11=runtimeClasspath
com.fasterxml.jackson.core:jackson-annotations:2.14.2=runtimeClasspath
com.fasterxml.jackson.core:jackson-core:2.14.2=runtimeClasspath
com.fasterxml.jackson.core:jackson-databind:2.14.2=runtimeClasspath
com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.2=runtimeClasspath
com.fasterxml.jackson:jackson-bom:2.14.2=runtimeClasspath
com.google.guava:guava-bom:31.1-jre=runtimeClasspath
io.netty:netty-bom:4.1.91.Final=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:1.25.0=runtimeClasspath
io.opentelemetry:opentelemetry-bom-alpha:1.25.0-alpha=runtimeClasspath
io.opentelemetry:opentelemetry-bom:1.25.0=runtimeClasspath
io.projectreactor:reactor-core:3.4.27=runtimeClasspath
org.junit:junit-bom:5.9.2=runtimeClasspath
org.reactivestreams:reactive-streams:1.0.4=runtimeClasspath
org.slf4j:slf4j-api:1.7.36=runtimeClasspath
org.testcontainers:testcontainers-bom:1.18.0=runtimeClasspath
empty=

0 comments on commit c637a58

Please sign in to comment.