I am attempting to use Okio for File/IO and Square...
# multiplatform
a
I am attempting to use Okio for File/IO and Square claims it's MPP, but I only see JVM implementations. Has anybody gotten this to work for a JVM/JS MPP? Thanks
If there's another framework that I can use, I'm all for that, since I'm not heavily invested in Okio
r
I don't think it's documented but you have to use the
okio-multiplatform
dependency
a
You mean like "com.squareup.okiookio multiplatform3.0.0-alpha.5"?
I'm currently using "com.squareup.okiookio3.0.0-alpha.5"
r
yeah
a
Ok. Let me try that. Thanks!
That brought in something, but I still don't see any implementation of FileSystem (or any other interface) for JS. Are they expecting developers to create the actual implementations?
r
I don't know off-hand what their JS plans or status are. Maybe ask in #squarelibraries
a
Thanks!
l
@jmfayard used it recently in a project, that supports NodeJS, Linux and macOS: https://github.com/jmfayard/kotlin-cli-starter
👍 1
a
@louiscad Thank you!