Skip to content

Commit ed19d6b

Browse files
committed
try with bom
1 parent 7e9f579 commit ed19d6b

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

jablib/build.gradle.kts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,12 @@ dependencies {
122122
implementation("jakarta.ws.rs:jakarta.ws.rs-api:4.0.0")
123123
// endregion
124124

125-
implementation("org.slf4j:slf4j-api:2.0.17")
125+
implementation("org.slf4j:slf4j-bom:2.0.17")
126+
implementation("org.slf4j:slf4j-api")
127+
// route all jcl request to sfl4j
128+
implementation("org.slf4j:jcl-over-slf4j")
126129
// route all requests to java.util.logging to SLF4J (which in turn routes to tinylog in the CLI and GUI)
127-
implementation("org.slf4j:jul-to-slf4j:2.0.17")
130+
implementation("org.slf4j:jul-to-slf4j")
128131
// route all requests to log4j to SLF4J
129132
implementation("org.apache.logging.log4j:log4j-to-slf4j:2.24.3")
130133

@@ -207,11 +210,12 @@ dependencies {
207210
}
208211

209212
// region for document importing
210-
implementation("org.apache.tika:tika-core:3.2.0") {
211-
exclude(group = "commons-logging")
213+
implementation(platform("org.apache.tika:tika-bom:3.2.0"))
214+
implementation("org.apache.tika:tika-core") {
215+
exclude(group = "commons-logging", module = "commons-logging")
212216
}
213-
implementation("org.apache.tika:tika-parsers-standard-package:3.2.0") {
214-
exclude(group = "commons-logging")
217+
implementation("org.apache.tika:tika-parsers-standard-package") {
218+
exclude(group = "commons-logging", module = "commons-logging")
215219
}
216220
// endregion
217221

0 commit comments

Comments
 (0)