@Parcelize... really? This seems vital in a KMM pr...
# multiplatform
m
@Parcelize... really? This seems vital in a KMM project with an Android target, isn't it? But Maven says there are only 12 usages of it, And mine has stopped working. The compiler complains
Copy code
Could not find org.jetbrains.kotlin:kotlin-parcelize:1.5.31.
Searched in the following locations:
  - <https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-parcelize/1.5.31/kotlin-parcelize-1.5.31.pom>
  - <https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-parcelize/1.5.31/kotlin-parcelize-1.5.31.pom>
Is it relevant that Maven says it's at
Copy code
<https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-parcelize-runtime/1.5.31/kotlin-parcelize-runtime-1.5.31.pom>
If so, how do I refer to it properly? I'm already using the parcelize plugin like the docs tell me to, but I still have this problem 😕
e
m
Thanks for that @ephemient, but I'm not sure where it leaves me. This used to work (up until about ten days ago). That aside, does it mean I can't define classes in the shared module that are used in the UI?
(And I can't even get the serialization plugin to work 😞 )
r
If serialization isn't working then it sounds like there's something deeper going wrong with your setup. Hard to say more without seeing some code or a reproducer though.
m
What code would be revealing? It's also now not finding ktor... looks like Gradle is in offline mode (?), but I don't think so... 😱