Skip to content

Commit d6128b3

Browse files
committed
Add Jetpack Compose dependencies
1 parent 6d5ab74 commit d6128b3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

buildSrc/src/main/kotlin/Config.kt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,22 @@ object Config {
4141
const val recyclerView = "androidx.recyclerview:recyclerview:1.1.0"
4242

4343
const val design = "com.google.android.material:material:1.2.1"
44+
45+
46+
object Compose {
47+
const val composeVersion = "1.0.0-beta01"
48+
const val ui = "androidx.compose.ui:ui:$composeVersion"
49+
// Tooling support (Previews, etc.)
50+
const val ui_tooling = "androidx.compose.ui:ui-tooling:$composeVersion"
51+
// Foundation (Border, Background, Box, Image, Scroll, shapes, animations, etc.)
52+
const val foundation = "androidx.compose.foundation:foundation:$composeVersion"
53+
// Material Design
54+
const val material = "androidx.compose.material:material:$composeVersion"
55+
// Integration with activities
56+
const val activity = "androidx.activity:activity-compose:1.3.0-alpha03"
57+
// Integration with ViewModels
58+
const val viewmodel = "androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha02"
59+
}
4460
}
4561

4662
object Firebase {

0 commit comments

Comments
 (0)