(I think) and I don't have an idea how to mix these apis.I'm also gonna need to then unzip it and move the files and dirs from the zip package to the local storage, but this is probably not really feasible in common code before okio files api, right?kotlinx-io seems to be dead.
Hmm, I encountered the first error quite early - cannot load it:
Unable to build Kotlin project configuration
org.gradle.internal.resolve.ArtifactNotFoundException: Could not find okio-3.0.0-alpha.1-samplessources.jar (com.squareup.okio:okio:3.0.0-alpha.1).
Searched in the following locations:
I don't really know why it tries to load it from jcenter, I even removed it entirely from respositories
And it created the file and allocated bytes, but something froze and I'm not even sure what is done on what thread here.@jw is it supposed to work on background thread in kotlin native? If so, how can I create the BufferedSink from FileSystem and then do the writing on bg thread? Something like