https://kotlinlang.org logo
a

Adam Brown

06/12/2022, 1:42 AM
Anyone have a favorite KMP library for file Io?
j

jw

06/12/2022, 1:49 AM
Okio
5
a

Adam Brown

06/12/2022, 4:21 AM
Thanks, I was actually toying around with *oki*o, but having issues with no
FileSystem.SYSTEM
available in my
commonMain
, even though I don't have a js source set enabled.
j

jw

06/12/2022, 4:22 AM
Using 3.1.0 and have HMPP enabled in your own project (or on 1.6.21 or newer)?
a

Adam Brown

06/12/2022, 4:24 AM
ya,
3.1.0
and
1.6.10
but I have
kotlin.mpp.enableGranularSourceSetsMetadata=true
so HMPP should be enabled
a

andylamax

06/12/2022, 7:32 AM
I really like File I/O in okio, just inject your file system
5 Views