Don't bundle slf4j-api inside testing-commons (#6520)
This commit is contained in:
parent
892fb8a38e
commit
c04a6a3471
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue