Angela
05/26/2023, 6:43 AMval readmeContent = FileSystem.SYSTEM.read(path) {
readUtf8()
}
I can't find a SYSTEM for example. If I use the libary in the android folder I have full access to the libary.
Does this mean that Okio cannot be used in the common main? I could really use your help.andylamax
05/26/2023, 6:59 AMAngela
05/26/2023, 7:35 AMMichael Paus
05/26/2023, 7:44 AMimplementation("com.squareup.okio:okio:3.3.0")
In commonMain
expect val fs: FileSystem
In androidMain and desktopMain ...
actual val fs: FileSystem = FileSystem.SYSTEM
Michael Paus
05/26/2023, 7:46 AMAngela
05/26/2023, 7:47 AMimplementation("com.squareup.okio:okio-iossimulatorarm64:3.3.0")
implementation("com.squareup.okio:okio-iosarm64:3.3.0")
implementation("com.squareup.okio:okio-iosx64:3.3.0")
Michael Paus
05/26/2023, 7:52 AMAngela
05/26/2023, 7:53 AMLandry Norris
05/26/2023, 1:12 PMLandry Norris
05/26/2023, 1:13 PMJeff Lockhart
05/26/2023, 2:53 PMcompileKotlinMetadata
when publishing. https://youtrack.jetbrains.com/issue/KT-53434 Unless this has been fixed? That'd be great if it has been!Loe
05/26/2023, 3:08 PMLoe
05/26/2023, 3:09 PM