Is there a way to force Amper to use both JVM and ...
# amper
d
Is there a way to force Amper to use both JVM and Android targets simultaneously - how far away is this likely to be?
z
Could you expand on what you mean by "use both targets simultaneously"?
d
I mean just have a Desktop JVM target as well as an Android target.
...as in producing a Compose Multiplatform App that supports Android and Desktop clients.
This is possible without Amper, if not officially supported yet.
z
Sorry, I think I'm still missing something here. Without Amper, you can go to kmp.jetbrains.com and select Android + Desktop as your platforms in the wizard, that's definitely officially supported. You can also create the same setup with Amper, for example like this, with
shared
being a library targeting Android and JVM, and then
androidApp
and
desktopApp
depending on that library:
Copy code
/androidApp
   module.yaml
/desktopApp
   module.yaml
/shared
   module.yaml