How should I correctly specify resources folder fo...
# multiplatform
e
How should I correctly specify resources folder for jvm module in multiplatform project? Now I use configuration like this:
Copy code
kotlin {
    jvm {
        withJava()
    }
    sourceSets {
        val jvmMain by getting {
            dependencies {
            ...
            }
        }
    }
}
and don’t see resource files from
src/jvmMain/resources
in class path after project was built. What I am doing wrong and how could I get resources in my class path? P.S. I see resources in the
processedResources
folder, so they are processed somehow. But for some reason not put in the result folder (
classes/kotlin/jvm/main/META-INF
)
s
Really sad that such a core feature of the jvm platform is still buggy
e
@spand yes, looks very similar. I also have multi module project.
@spand thank you so much, I was able to use workaround from that thread! 😎