Shade class references within AWS SDK service files.
MODIFY
conventions/src/main/kotlin/io.opentelemetry.instrumentation.javaagent-shadowing.gradle.kts
conventions/src/main/kotlin/io.opentelemetry.instrumentation.javaagent-shadowing.gradle.kts
@@ -6,6 +6,9 @@ plugins {
tasks.withType<ShadowJar>().configureEach {
mergeServiceFiles()
+ // Merge any AWS SDK service files that may be present (too bad they didn't just use normal
+ // service loader...)
+ mergeServiceFiles("software/amazon/awssdk/global/handlers")
exclude("**/module-info.class")

Shade class references within AWS SDK service files. (#4719)