Skip to content

Commit 308bca2

Browse files
Fixed failed log4j test.
1 parent 03ac8e4 commit 308bca2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gradle/spotbugs.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,15 @@ tasks.matching { it.name.startsWith('spotbugs') }.configureEach {
6060

6161
dependencies {
6262
compileOnly(libs.spotbugs.annotations)
63+
6364
testImplementation(libs.spotbugs.annotations) {
6465
// Exclude conflicting JUnit5.
6566
exclude group: 'org.junit'
6667
exclude group: 'org.junit.jupiter'
6768
exclude group: 'org.junit.platform'
6869
// Exclude conflicting logback.
6970
exclude group: 'ch.qos.logback'
71+
// Exclude conflicting log4j.
72+
exclude group: 'org.apache.logging.log4j'
7073
}
7174
}

0 commit comments

Comments
 (0)