Hello! In ui-desktop dependency there is composabl...
# compose-desktop
p
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
I do not understand the question.
AppWindow
is defined in
desktopMain
so it works on linux, windows, and mac os.
p
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
there should not be native targets for compose-desktop, its all on jvm
j
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.