diff --git a/examples/distro/agent/build.gradle b/examples/distro/agent/build.gradle index 828f19223308..b04e087c3ff6 100644 --- a/examples/distro/agent/build.gradle +++ b/examples/distro/agent/build.gradle @@ -75,7 +75,10 @@ tasks { // exclude known bootstrap dependencies - they can't appear in the inst/ directory dependencies { exclude("io.opentelemetry:opentelemetry-api") + exclude("io.opentelemetry:opentelemetry-common") exclude("io.opentelemetry:opentelemetry-context") + exclude("io.opentelemetry.semconv:opentelemetry-semconv") + exclude("io.opentelemetry.semconv:opentelemetry-semconv-incubating") // events API and metrics advice API exclude("io.opentelemetry:opentelemetry-api-incubator") } diff --git a/examples/distro/testing/agent-for-testing/build.gradle b/examples/distro/testing/agent-for-testing/build.gradle index 5eec782efd4c..9c9ad1af0240 100644 --- a/examples/distro/testing/agent-for-testing/build.gradle +++ b/examples/distro/testing/agent-for-testing/build.gradle @@ -70,7 +70,10 @@ tasks { // exclude known bootstrap dependencies - they can't appear in the inst/ directory dependencies { exclude("io.opentelemetry:opentelemetry-api") + exclude("io.opentelemetry:opentelemetry-common") exclude("io.opentelemetry:opentelemetry-context") + exclude("io.opentelemetry.semconv:opentelemetry-semconv") + exclude("io.opentelemetry.semconv:opentelemetry-semconv-incubating") // events API and metrics advice API exclude("io.opentelemetry:opentelemetry-api-incubator") } diff --git a/javaagent/build.gradle.kts b/javaagent/build.gradle.kts index 49c816ab484a..c91211d935f9 100644 --- a/javaagent/build.gradle.kts +++ b/javaagent/build.gradle.kts @@ -39,6 +39,8 @@ val javaagentLibs by configurations.creating { listOf(baseJavaagentLibs, javaagentLibs).forEach { it.run { exclude("io.opentelemetry", "opentelemetry-api") + exclude("io.opentelemetry", "opentelemetry-common") + exclude("io.opentelemetry", "opentelemetry-context") exclude("io.opentelemetry.semconv", "opentelemetry-semconv") exclude("io.opentelemetry.semconv", "opentelemetry-semconv-incubating") // events API and metrics advice API