diff --git a/dd-java-agent/instrumentation/instrumentation.gradle b/dd-java-agent/instrumentation/instrumentation.gradle index 7725097754..ced9933b5d 100644 --- a/dd-java-agent/instrumentation/instrumentation.gradle +++ b/dd-java-agent/instrumentation/instrumentation.gradle @@ -48,12 +48,10 @@ subprojects {Project subProj -> compile project(':dd-trace-api') compile project(':dd-java-agent:agent-tooling') compile deps.bytebuddy - compile deps.opentracing if(jdkCompile) { "$jdkCompile" project(':dd-trace-api') "$jdkCompile" project(':dd-java-agent:agent-tooling') "$jdkCompile" deps.bytebuddy - "$jdkCompile" deps.opentracing } annotationProcessor deps.autoservice implementation deps.autoservice @@ -80,10 +78,8 @@ dependencies { configurations { // exclude bootstrap dependencies from shadowJar - runtime.exclude module: deps.opentracing runtime.exclude module: deps.slf4j runtime.exclude group: 'org.slf4j' - runtime.exclude group: 'io.opentracing' } shadowJar {