humblehacker
05/22/2023, 4:53 PM<http://Dispatchers.IO|Dispatchers.IO>
to Kotlin Native. Forgive me if this is a naive question, but does this mean we'll be able to use <http://Dispatchers.IO|Dispatchers.IO>
in KMM? Or should I continue using something like https://kotlinlang.slack.com/archives/C3PQML5NU/p1667210309540439?thread_ts=1667204954.062779&cid=C3PQML5NU?Rick Clephas
05/22/2023, 5:09 PM<http://Dispatchers.IO|Dispatchers.IO>
in KMM (or any other KMP project that isn’t using the JS target).darkmoon_uk
05/22/2023, 9:56 PMhumblehacker
05/22/2023, 9:57 PMhumblehacker
05/22/2023, 10:11 PMdarkmoon_uk
05/23/2023, 11:40 AM1.8.21
, Coroutines 1.7.1
and Ktor 2.3.0
results in compile failure for me, as noted in the issue above. Perhaps we're simply using different parts of the API.humblehacker
05/23/2023, 3:30 PMMichael Paus
05/23/2023, 3:44 PMio.ktor.events.Events$HandlerRegistration: can't find referenced class kotlinx.coroutines.internal.LockFreeLinkedListNode$AddLastDesc
io.ktor.events.Events$HandlerRegistration: can't find referenced class kotlinx.coroutines.internal.LockFreeLinkedListNode$RemoveFirstDesc
there were 2 unresolved references to classes or interfaces.
You may need to add missing library jars or update their versions.
If your code works fine without the missing classes, you can suppress
the warnings with '-dontwarn' options.
(<https://www.guardsquare.com/proguard/manual/troubleshooting#unresolvedclass>)
Unexpected error
java.io.IOException: Please correct the above warnings first.
at proguard.Initializer.execute(Initializer.java:544) ~[proguard-base-7.2.2.jar:7.2.2]
at proguard.pass.PassRunner.run(PassRunner.java:24) ~[proguard-base-7.2.2.jar:7.2.2]
at proguard.ProGuard.initialize(ProGuard.java:328) ~[proguard-base-7.2.2.jar:7.2.2]
at proguard.ProGuard.execute(ProGuard.java:130) ~[proguard-base-7.2.2.jar:7.2.2]
at proguard.ProGuard.main(ProGuard.java:623) [proguard-base-7.2.2.jar:7.2.2]
> Task :desktopApp:proguardReleaseJars FAILED
Michael Paus
05/23/2023, 3:45 PM