Skip to content

Commit

Permalink
Exclude asm transitive dependencies from agent
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbisutti committed Jul 19, 2022
1 parent da57a9b commit c796163
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion agent/agent-tooling/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ dependencies {
implementation(project(":agent:agent-profiler:agent-alerting"))
implementation(project(":agent:agent-gc-monitor:gc-monitor-api"))
implementation(project(":agent:agent-gc-monitor:gc-monitor-core"))
implementation(project(":agent:azure-monitor-exporter"))
implementation(project(":agent:azure-monitor-exporter")) {
exclude("org.ow2.asm", "asm")
}

compileOnly("io.opentelemetry.javaagent:opentelemetry-javaagent-bootstrap")
compileOnly("io.opentelemetry.javaagent:opentelemetry-javaagent-tooling")
Expand Down Expand Up @@ -46,6 +48,7 @@ dependencies {
// via `IntelliJCredential` or `DefaultAzureCredential`"
// NOTE this exclusion saves 6.5 mb !!!!
exclude("org.linguafranca.pwdb", "KeePassJava2")
exclude("org.ow2.asm", "asm")
}

// compileOnly("io.opentelemetry:opentelemetry-sdk-extension-tracing-incubator")
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ dependencies {
implementation("com.diffplug.spotless:spotless-plugin-gradle:5.14.0")
implementation("com.google.guava:guava:30.1-jre")
implementation("gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0")
implementation("org.ow2.asm:asm:9.1")
implementation("org.ow2.asm:asm-tree:9.1")
implementation("org.ow2.asm:asm:9.3")
implementation("org.ow2.asm:asm-tree:9.3")
implementation("org.apache.httpcomponents:httpclient:4.5.13")
implementation("org.gradle:test-retry-gradle-plugin:1.2.1")

Expand Down

0 comments on commit c796163

Please sign in to comment.