ursus
02/05/2023, 1:41 AMimport androidx.compose.foundation
ui
etc work in compose desktop? In my android project I tried to use those dependencies in a pure kotlin
(jvm) module (just some extensions, no @Composable stuff), and gradle complained about the module not applying `kotlin-android`so I figured those have an android dependency?
Or did I mess something up?Albert Chang
02/05/2023, 2:50 AMursus
02/05/2023, 2:52 AMMaterialTheme
class, its exactly the same
is it just a copy? they take all of the android compose sources, and strip the android stuff, and publish?Albert Chang
02/05/2023, 2:54 AMursus
02/05/2023, 2:54 AMAlbert Chang
02/05/2023, 3:02 AMursus
02/05/2023, 3:05 AMephemient
02/05/2023, 5:40 AMdependencies { implementation(compose.foundation) }
), substituting them as appropriate for Androidursus
02/05/2023, 12:07 PMMaterialTheme.kt
, is in both the jetbrains and in androidx package, is it
1) pulled in via som dependency (not visible in the graph
2) or is it a "copy paste"