Hello! In ui-desktop dependency there is composable AppWindow. It exists only for jvm target. Is there any plans to make it common? (For native linux, windows, mac os)
j
jim
03/29/2021, 2:56 PM
I do not understand the question.
AppWindow
is defined in
desktopMain
so it works on linux, windows, and mac os.
p
PHondogo
03/29/2021, 6:13 PM
I mean that i have kotlin MPP. Where common sourceset depends on compose libraries. And in common sourceset i can't use AppWindow, only in jmv target. I want to use it in common and share for jvm and native.
n
Nikky
03/31/2021, 8:09 AM
there should not be native targets for compose-desktop, its all on jvm
j
jim
03/31/2021, 3:55 PM
As @Nikky mentioned, Compose currently requires the JVM so trying to use it in a non-jvm target doesn't make any sense. There may be a day when Compose can be built without a JVM (eg, see #compose-web) but these are still early experiments.