I'm on a Kotlin Native MPP with Ktor client. Is it...
# gradle
a
I'm on a Kotlin Native MPP with Ktor client. Is it possible to switch dependencies automatically by platforms? On Mac requires the client engine for Mac, but on Linux requires it for Linux.
a
I have already read it but I cannot solve exception I caught... It may be fixed on Kotlin 1.4. (on 1.4, it works as expected.)
j
Has ktor for kotlin 1.4 been released yet?
With 1.4 you should only need to specify the core/common dependency and the gradle metadata should include the correct one per platform
a
Ktor 1.4.0 for Kotlin 1.4 has been released! I'll try it https://kotlinlang.slack.com/archives/C0A974TJ9/p1597778804480700
👍 1