Hello. I'm trying to set up my Multiplatform proje...
# serialization
s
Hello. I'm trying to set up my Multiplatform project with Ktor and Kotlinx.Serialization. I see for Native code there is an artifact for each specific Native target, and also just a "native" one. Just wondering which one I should be using for my targets-- if I have to use each specific one or if I can just use the "native" artifact?
b
For serialization:
org.jetbrains.kotlinx:kotlinx-serialization-runtime-native
is the one you want for mpp. adding that to your common dependencies should be all you need. it's confusingly named, but that's the artifact that has the gradle module metadata associated with it
s
Ah, thank you! Yes the names are a bit confusing.