Skip to content

Commit 2e86a54

Browse files
committed
build(test-utils): Make logging implementation dependencies runtime only
The test utils define a logger implementation to see log output when running tests. However, the implementation (and the Log4j to SLF4J adapter) only needs to be available at runtime. Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent 2ab8cef commit 2e86a54

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/test/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ dependencies {
3535
implementation(libs.jacksonModuleKotlin)
3636
implementation(libs.kotestExtensionsJunitXml)
3737
implementation(libs.kotestFrameworkEngine)
38-
implementation(libs.log4jApiToSlf4j)
39-
implementation(libs.logbackClassic)
4038
implementation(libs.postgresEmbedded)
39+
40+
runtimeOnly(libs.log4jApiToSlf4j)
41+
runtimeOnly(libs.logbackClassic)
4142
}

0 commit comments

Comments
 (0)