https://kotlinlang.org logo
a

andylamax

12/31/2020, 5:01 AM
I agree with you, having Jetpack Compose, then Jetbrains Compose, or Compose for desktop is all really confusing First, the compose compiler should be given its own name as @jw suggests, also compose runtime can keep its name. but change the package from
androidx.compose.ui
to something like
compose
is enough. Now the android compose ui toolkit could be called
compose android
and the desktop ui toolkit could be called
compose desktop.
Any shared ui code, can be packaged under
compose.ui
while
compose android
and
compose-desktop
can all be packaged under
compose.ui.android
and
compose.ui.desktop
respectively. This still gives room for things like
compose web
and
compose native
which you already guessed, will be under
compose.ui.web
and
compose.ui.native