Exclude jandex.idx from bootstrap class path
MODIFY
buildSrc/src/main/kotlin/otel.shadow-conventions.gradle.kts
buildSrc/src/main/kotlin/otel.shadow-conventions.gradle.kts
@@ -8,6 +8,7 @@ tasks.withType<ShadowJar>().configureEach {
mergeServiceFiles()
exclude("**/module-info.class")
+ exclude("META-INF/jandex.idx") // from caffeine
// Prevents conflict with other SLF4J instances. Important for premain.
relocate("org.slf4j", "io.opentelemetry.javaagent.slf4j")

Exclude jandex.idx from bootstrap class path (#3273)