Skip to content

Commit 937f486

Browse files
authored
Exclude Slf4j 1.x dependencies (#312)
Confluent dependencies expose 1.7 Has been reverted in c062c09#diff-71c8e959bec159ef22ed15dd8c30aa80fa4270de0d32935f900978db9d70f0a1R16-R25 for no real reason
1 parent b555755 commit 937f486

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

streams-bootstrap-cli/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ plugins {
88
dependencies {
99
api(project(":streams-bootstrap-core"))
1010
api(libs.picocli)
11+
implementation(libs.slf4j)
1112

1213
testRuntimeOnly(libs.junit.platform.launcher)
1314
testImplementation(libs.junit.jupiter)

streams-bootstrap-core/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ dependencies {
1515
api(libs.kafka.clients)
1616
implementation(libs.kafka.schema.serializer) {
1717
exclude(group = "org.apache.kafka", module = "kafka-clients") // force usage of OSS kafka-clients
18+
exclude(group = "org.slf4j", module = "slf4j-api") // Conflict with 2.x when used as dependency
1819
}
1920
api(libs.kafka.schema.registry.client) {
2021
exclude(group = "org.apache.kafka", module = "kafka-clients") // force usage of OSS kafka-clients
22+
exclude(group = "org.slf4j", module = "slf4j-api") // Conflict with 2.x when used as dependency
2123
}
2224
implementation(libs.slf4j)
2325
implementation(libs.jool)

streams-bootstrap-test/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ plugins {
77
dependencies {
88
api(project(":streams-bootstrap-core"))
99
api(libs.fluentKafkaStreamsTests)
10+
implementation(libs.slf4j)
1011
}

0 commit comments

Comments
 (0)