https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
j

Joris PZ

10/30/2018, 3:50 PM
Hi all, I created a brand new MPP project in IDEA. My
jvmMain
modules uses logback for logging, which works fine. However, IDEA is not copying
src/jvmMain/resources/logback.xml
to the build folder, and so my config is not picked up at runtime. When I manually copy
logback.xml
to
build/classes/kotlin/jvm/main
before running my main method, the config is picked up by logback. Anyone have any idea where I should look for a solution? I haven't used Gradle before, so I have no idea if I need to configure something on that side?
src/jvmMain/resources/
is part of the classpath, so it seems more like an IDEA issue?
h

hiperbou

11/19/2018, 5:41 PM
Same problem here. Any news on this?
j

Joris PZ

11/20/2018, 7:52 AM
Not much. I was in touch with Jetbrains support, and ultimately got redirected to this issue: https://youtrack.jetbrains.com/issue/KT-24463
👍 1
2 Views