oh, don't mind me, I think I've typed something wr...
# serialization
k
oh, don't mind me, I think I've typed something wrong... this seems to work:
"-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
in build.gradle.kts
r
You can also set it under
languageSettings
, which is a bit nicer than manually setting the compiler options. See the 2nd example in https://kotlinlang.org/docs/reference/opt-in-requirements.html#module-wide-opt-in (you can do the same on a non-multiplatform project)
k
cool, thanks, seems a bit more elegant!