Skip to content

Commit 23d6b0b

Browse files
authored
build(amazonq): fix logging regression introduced by #5627 (#5644)
By bundling slf4j-api, it is loaded under our classloader, which subsequently picks the Noop logger since there is no logging implementation available. Fix by providing an implementation as well.
1 parent c02466e commit 23d6b0b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

buildSrc/src/main/kotlin/toolkit-publishing-conventions.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ configurations {
5555
// Make sure we exclude stuff we either A) ships with IDE, B) we don't use to cut down on size
5656
runtimeClasspath {
5757
exclude(group = "com.google.code.gson")
58-
exclude(group = "org.slf4j", module = "slf4j-jdk14")
5958
exclude(group = "org.jetbrains.kotlin")
6059
exclude(group = "org.jetbrains.kotlinx")
6160
}

plugins/core/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ dependencies {
1616
implementation(project(":plugin-core:sdk-codegen"))
1717
implementation(project(":plugin-core:webview"))
1818
implementation(libs.slf4j.api)
19+
implementation(libs.slf4j.jdk14)
1920
}
2021

2122
tasks.check {

0 commit comments

Comments
 (0)