Make kotlin stdlib dependency compileOnly
ADD
instrumentation/kotlinx-coroutines/javaagent/gradle.properties
+kotlin.stdlib.default.dependency=false

MODIFY
instrumentation/kotlinx-coroutines/javaagent/kotlinx-coroutines-javaagent.gradle
instrumentation/kotlinx-coroutines/javaagent/kotlinx-coroutines-javaagent.gradle
@@ -19,6 +19,7 @@ muzzle {
}
dependencies {
compileOnly "io.opentelemetry:opentelemetry-extension-kotlin"
+ compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
testImplementation "io.opentelemetry:opentelemetry-extension-kotlin"
testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"

Make kotlin stdlib dependency compileOnly (#3291)