https://kotlinlang.org logo
#compose
Title
# compose
c

chris

08/19/2020, 6:36 PM
From a dependency standpoint, what are the top libraries for compose that I can put in my Gradle file that will resolve all the libraries needed to work with compose?
z

Zach Klippenstein (he/him) [MOD]

08/19/2020, 6:37 PM
Maybe the
-material
library?
t

tcracknell

08/19/2020, 7:29 PM
Here's the complete list of compose libraries including the mapping to the old package name: https://developer.android.com/jetpack/androidx/releases/compose#package-refactor
c

chris

08/19/2020, 7:40 PM
So for my company I have to fill out forms to request the libraries to be imported. Any transitive dependencies I get for free. I’m trying to fill out the minimum number of requests. So if I can find the top level libraries that would get me everything, it’d be super helpful
Here’s what I’ve come up with:
Copy code
androidx.compose:compose-compiler:0.1.0-dev17
androidx.compose.foundation:foundation-text:0.1.0-dev17
androidx.compose.material:material:0.1.0-dev17
androidx.compose.material:material-icons-extended:0.1.0-dev17
androidx.compose.runtime:runtime-livedata:0.1.0-dev17
androidx.compose.runtime:runtime-rxjava2:0.1.0-dev17
androidx.compose.ui:ui-text-android:0.1.0-dev17
androidx.compose.ui:ui-viewbinding:0.1.0-dev17
androidx.ui:ui-tooling:0.1.0-dev17
Does this look right?
6 Views