https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
b

Brian Donovan

11/01/2021, 6:43 PM
I’m not sure why this is not importing
r

russhwolf

11/01/2021, 6:51 PM
You also need the ktor serialization dependency https://ktor.io/docs/json.html#kotlinx_dependency
b

Brian Donovan

11/01/2021, 6:57 PM
I have it on the third picture
I don’t know why it’s not grabbing it
r

russhwolf

11/01/2021, 6:58 PM
you have
org.jetbrains.kotlinx:kotlinx-serialization-json
but not
io.ktor:ktor-client-serialization
b

Brian Donovan

11/01/2021, 7:01 PM
omg thank you so much
I can’t believe it
j

jimn

11/01/2021, 9:29 PM
not that i know anything about gradle but i just spent a couple days before discovering the distinction between
implementation
and
api
in writing. implementation is like a private import and api creates a transitive dep like in maven
6 Views