I want to create a compose multiplatform library
I've created a multiplatform library by going into multiplatform->library in project creation dialog
But I don't know how to add compose to it
I also don't know how this library can be tested in the same project like this is a library project there's no separate app module in it like it is in the Android Studio , it only contains modules of libraries , where do it write "app" specific code
Waqas Tahir
09/29/2021, 5:04 PM
add compose plugin from org.jetbrains.compose
h
hfhbd
09/29/2021, 5:12 PM
1. There is no native support for Compose
2. Only
runtime
is shared with all targets.
w
Waqas Tahir
09/29/2021, 5:24 PM
so how can I build a library that's multiplatform compose
Waqas Tahir
09/29/2021, 5:28 PM
let's say I remove native from facets , I only want to target compose supported platforms
Waqas Tahir
09/29/2021, 5:30 PM
I am getting this error when I try to remove native facet