File tree 2 files changed +7
-2
lines changed
instrumentation/log4j/log4j-appender-2.17
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,10 @@ dependencies {
22
22
23
23
testImplementation(" org.awaitility:awaitility" )
24
24
25
- // this dependency is needed for the slf4j->log4j test
26
25
if (testLatestDeps) {
27
- testImplementation(" org.apache.logging.log4j:log4j-slf4j2-impl:2.19.0" )
26
+ // this dependency is needed for the slf4j->log4j test
27
+ testImplementation(" org.apache.logging.log4j:log4j-slf4j2-impl:+" )
28
+ testCompileOnly(" biz.aQute.bnd:biz.aQute.bnd.annotation:7.0.0" )
28
29
} else {
29
30
// log4j 2.17 doesn't have an slf4j2 bridge
30
31
testImplementation(" org.apache.logging.log4j:log4j-slf4j-impl:2.17.0" )
Original file line number Diff line number Diff line change @@ -6,4 +6,8 @@ dependencies {
6
6
library(" org.apache.logging.log4j:log4j-core:2.17.0" )
7
7
8
8
testImplementation(" io.opentelemetry:opentelemetry-sdk-testing" )
9
+
10
+ if (findProperty(" testLatestDeps" ) as Boolean ) {
11
+ testCompileOnly(" biz.aQute.bnd:biz.aQute.bnd.annotation:7.0.0" )
12
+ }
9
13
}
You can’t perform that action at this time.
0 commit comments