Only a short question concerning compatibility. If...
# compose-desktop
m
Only a short question concerning compatibility. If I create a jvm library compiled against
org.jetbrains.compose.desktop:desktop-jvm:1.0.0
should that library be usable on Android too? At the moment my code just seems to be source compatible but not binary compatible.
b
Only if you create a mpp project and declare android target separately. Then shove all your code in commonMain
m
As far as I understand it this won’t work because I am using a lot of Java code in there too which I cannot isolate from the Kotlin code with any reasonable effort. For the time being I am JVM only. (I consider Android a JVM platform here too.)
b
Correct, my solution would only work for pure kotlin lib