Is there any way to deal with "classpath" resource...
# kotlin-native
j
Is there any way to deal with "classpath" resources in Kotlin/Native? In jvm-land I put a properties file with config into
META-INF
and then load it via
classLoader.getResourceAsStream
but I'm not sure if there is a way to do something similar in native.
Appears that there isn't a way to do this today.
👍 1
k
Non-standard, you can kind of do it, but it depends what you’re looking to do I guess. The moko thing mentioned in the comments, and I’m pretty sure you can put things into the xcode framework output. We’re doing some experiments with that kind of packaging now.
j
k
Ah, interesting. I like it. Project has a lot of targets! Kind of want to poke around a bit.