Is it possible to read files from the `resource` f...
# kotlin-native
c
Is it possible to read files from the
resource
folder from Kotlin/Native? Everything in the internet I found uses
javaClass.getResource
which is obviously not available in Native...
m
If you want to do that in the final executable, I guess it's a packaging problem, I'm not sure you can embed resources in native binaries easily
c
Yeah — I wanted the resources to be embedded so I could just have a single file
k
i do not see any APIs to embed assets/binaries in a Framework
180 Views