~kotlinx.serialization 0.11.1 seems to be publishe...
# serialization
s
kotlinx.serialization 0.11.1 seems to be published with incorrect Gradle metadata. I have a dependency on the
kotlinx-serialization-runtime-native
artifact in my project's
commonMain
source set, and with Gradle metadata enabled, this propagates to all the source sets (including JVM). That project's build succeeds, but if I publish the project to Maven and attempt to depend on it from another (JVM) project, running the other project fails with the error
Exception in thread "main" java.lang.NoClassDefFoundError: kotlinx/serialization/SerializationStrategy
. If I add a manual implementation dependency on the runtime in the second project, this error goes away.
3
d
Did you end up changing
implementation
to
api
?