Skip to content

Commit 2dafe9d

Browse files
committed
"fixing the slf4j warning"
1 parent b420480 commit 2dafe9d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

build.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,4 +169,17 @@ subprojects {
169169
useInMemoryPgpKeys(signingKey, signingPassword)
170170
sign publishing.publications.main
171171
}
172+
173+
configurations {
174+
all {
175+
// Exclude multiple SLF4J implementations to prevent binding conflicts
176+
exclude group: 'org.slf4j', module: 'slf4j-simple'
177+
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
178+
exclude group: 'org.slf4j', module: 'slf4j-jdk14'
179+
exclude group: 'org.slf4j', module: 'slf4j-reload4j'
180+
// Exclude old logging frameworks
181+
exclude group: 'log4j', module: 'log4j'
182+
exclude group: 'commons-logging', module: 'commons-logging'
183+
}
184+
}
172185
}

0 commit comments

Comments
 (0)