diff --git a/awsagentprovider/build.gradle.kts b/awsagentprovider/build.gradle.kts index 4a46a83e7..459343f78 100644 --- a/awsagentprovider/build.gradle.kts +++ b/awsagentprovider/build.gradle.kts @@ -35,7 +35,7 @@ dependencies { // AWS Resource Detectors implementation("io.opentelemetry.contrib:opentelemetry-aws-resources") // Export configuration - implementation("io.opentelemetry:opentelemetry-exporter-otlp") + compileOnly("io.opentelemetry:opentelemetry-exporter-otlp") testImplementation("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure") testImplementation("io.opentelemetry:opentelemetry-sdk-testing")