Skip to content

Commit e61b761

Browse files
committed
"fixing the slf4j warning"
1 parent 674d609 commit e61b761

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

build.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,17 @@ subprojects {
133133
useInMemoryPgpKeys(signingKey, signingPassword)
134134
sign publishing.publications.main
135135
}
136+
137+
configurations {
138+
all {
139+
// Exclude multiple SLF4J implementations to prevent binding conflicts
140+
exclude group: 'org.slf4j', module: 'slf4j-simple'
141+
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
142+
exclude group: 'org.slf4j', module: 'slf4j-jdk14'
143+
exclude group: 'org.slf4j', module: 'slf4j-reload4j'
144+
// Exclude old logging frameworks
145+
exclude group: 'log4j', module: 'log4j'
146+
exclude group: 'commons-logging', module: 'commons-logging'
147+
}
148+
}
136149
}

services/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ dependencies {
88
implementation addSlf4J('log4j-over-slf4j')
99
implementation addSlf4J('jcl-over-slf4j')
1010
implementation 'commons-io:commons-io:2.17.0'
11-
implementation 'org.slf4j:slf4j-simple:2.0.9'
1211
testImplementation group: 'org.hamcrest', name: 'hamcrest-core', version: '2.2'
1312
testImplementation group: 'org.testng', name: 'testng', version: '7.5.1'
1413
/*

0 commit comments

Comments
 (0)