Don't bundle slf4j-api inside testing-commons
MODIFY
testing-common/build.gradle.kts
testing-common/build.gradle.kts
@@ -47,13 +47,13 @@ dependencies {
api("org.awaitility:awaitility")
api("com.google.guava:guava")
api("org.mockito:mockito-core")
+ api("org.slf4j:slf4j-api")
compileOnly(project(":testing:armeria-shaded-for-testing", configuration = "shadow"))
implementation("io.opentelemetry.proto:opentelemetry-proto")
implementation("net.bytebuddy:byte-buddy")
- implementation("org.slf4j:slf4j-api")
implementation("ch.qos.logback:logback-classic")
implementation("org.slf4j:log4j-over-slf4j")
implementation("org.slf4j:jcl-over-slf4j")

MODIFY
testing/armeria-shaded-for-testing/build.gradle.kts
testing/armeria-shaded-for-testing/build.gradle.kts
@@ -10,6 +10,10 @@ dependencies {
tasks {
shadowJar {
+ dependencies {
+ exclude(dependency("org.slf4j:slf4j-api"))
+ }
+
// Ensures tests are not affected by Armeria instrumentation
relocate("com.linecorp.armeria", "io.opentelemetry.testing.internal.armeria")
relocate("com.fasterxml.jackson", "io.opentelemetry.testing.internal.jackson")

Don't bundle slf4j-api inside testing-commons (#6520)