Skip to content

Commit be54f8a

Browse files
committed
logger
1 parent 490d2c3 commit be54f8a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

buildSrc/src/main/kotlin/toolkit-intellij-subplugin.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ dependencies {
103103
}
104104
}
105105

106-
// https://github.com/JetBrains/intellij-platform-gradle-plugin/issues/1844
107106
tasks.prepareTestSandbox {
108107
disabledPlugins = listOf(
109108
"com.intellij.swagger",
@@ -117,6 +116,9 @@ tasks.jar {
117116
}
118117

119118
tasks.withType<Test>().configureEach {
119+
// conflict with Docker logging impl; so bypass service loader
120+
systemProperty("slf4j.provider", "org.slf4j.jul.JULServiceProvider")
121+
120122
systemProperty("log.dir", intellijPlatform.sandboxContainer.map { "$it-test/logs" }.get())
121123
systemProperty("testDataPath", project.rootDir.resolve("testdata").absolutePath)
122124
val jetbrainsCoreTestResources = project(":plugin-toolkit:jetbrains-core").projectDir.resolve("tst-resources")

0 commit comments

Comments
 (0)