From 594f7c60368b0491103e753e2f0ddcbe0d5714d4 Mon Sep 17 00:00:00 2001 From: Ryan Dens Date: Sat, 6 Jan 2024 10:30:10 -0800 Subject: [PATCH] :bug: qualify dependencies that are still alpha --- .../custom-instrumentation/build.gradle.kts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/example-projects/custom-instrumentation/build.gradle.kts b/example-projects/custom-instrumentation/build.gradle.kts index 0ebd4ee..2d344a8 100644 --- a/example-projects/custom-instrumentation/build.gradle.kts +++ b/example-projects/custom-instrumentation/build.gradle.kts @@ -28,11 +28,11 @@ dependencies { muzzleBootstrap("io.opentelemetry.instrumentation:opentelemetry-instrumentation-api-semconv:$otelInstrumentationVersion") muzzleBootstrap("io.opentelemetry.instrumentation:opentelemetry-instrumentation-api-annotation-support:$otelInstrumentationVersion") muzzleBootstrap( "io.opentelemetry.instrumentation:opentelemetry-instrumentation-appender-api-internal:$otelInstrumentationVersion") - muzzleTooling("io.opentelemetry.javaagent:opentelemetry-javaagent-extension-api:$otelInstrumentationVersion") - muzzleTooling("io.opentelemetry.javaagent:opentelemetry-javaagent-tooling:$otelInstrumentationVersion") + muzzleTooling("io.opentelemetry.javaagent:opentelemetry-javaagent-extension-api:$otelInstrumentationVersion-alpha") + muzzleTooling("io.opentelemetry.javaagent:opentelemetry-javaagent-tooling:$otelInstrumentationVersion-alpha") // for some reason, when pulling this version value from the platform bom, a byte buddy task can't be created - compileOnly("io.opentelemetry.javaagent:opentelemetry-javaagent-extension-api:$otelInstrumentationVersion") - compileOnly("io.opentelemetry.javaagent:opentelemetry-javaagent-tooling:$otelInstrumentationVersion") + compileOnly("io.opentelemetry.javaagent:opentelemetry-javaagent-extension-api:$otelInstrumentationVersion-alpha") + compileOnly("io.opentelemetry.javaagent:opentelemetry-javaagent-tooling:$otelInstrumentationVersion-alpha") compileOnly("io.opentelemetry.instrumentation:opentelemetry-instrumentation-api:$otelInstrumentationVersion") @@ -41,5 +41,5 @@ dependencies { generation phase. These classes become part of the code that plugin inspects and traverses during references collection phase. */ - add("codegen", "io.opentelemetry.javaagent:opentelemetry-javaagent-tooling:$otelInstrumentationVersion") -} \ No newline at end of file + add("codegen", "io.opentelemetry.javaagent:opentelemetry-javaagent-tooling:$otelInstrumentationVersion-alpha") +}