Is it possible to ship non-code resources in a Kotlin multiplatform library? I assume not (yet?) because it’s tricky and unclear where they should end up depending on platform? Has anyone explored that?
m
Marc Knaup
02/03/2021, 6:09 PM
There is no multiplatform solution for that. Platforms are way too different for that 😕
b
Big Chungus
02/04/2021, 7:39 AM
Hmm, but I've been shipping that for wasm + js combo lib already
Big Chungus
02/04/2021, 7:39 AM
Just put stuff in your resources folder and it gets packaged in platform specific way. Not sure if it works via commonResources
s
Sebastian Kaspari
02/04/2021, 9:53 AM
Oh? It does get packaged? I’ll have to try that. Even if it doesn’t work via commonResources, maybe you can get it to accept the same resource folder? 😄