Hey tried to make a compose library for desktop an...
# multiplatform
j
Hey tried to make a compose library for desktop and android, works theoretical but if I try to add this to the plugins:
Copy code
kotlin("plugin.serialization") version Versions.KOTLIN
I get this error when reloading: The 'java' plugin has been applied, but it is not compatible with the Android plugins.
1
when I remove the serialization plugin it works fine
oh nvm a subproject had a withJava() in their jvm target
b
App module cannot have both, jvm and android targets. It's not compose specific limitation. Usually you put all your shared mpp code in internal "library" module and then have separate modules per application that depend on said "library" module