https://kotlinlang.org logo
#compiler
Title
# compiler
m

Manuel Wrage

03/07/2024, 9:53 AM
I get the following error when I try to compile a native multiplatform target with my compiler plugin (which has a dependency on kotlinx serialization):
Copy code
java.lang.NoClassDefFoundError: kotlinx/serialization/json/JsonKt
Compilation works fine for jvm and js targets. Any idea how I can fix this? Basically it seems that none of my compiler plugin dependencies are on the classpath for native compilation.