Add compose UI

This commit is contained in:
Alex Gabor 2022-02-28 08:40:39 +02:00
parent 8866ac8477
commit a9dc65d0b6
11 changed files with 377 additions and 2 deletions

View file

@ -34,6 +34,10 @@ android {
buildFeatures {
viewBinding true
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = project.androidx_compose
}
sourceSets {
@ -73,7 +77,18 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$androidx_livedata_version"
implementation "androidx.swiperefreshlayout:swiperefreshlayout:$androidx_swiperefreshlayout_version"
implementation "androidx.activity:activity-compose:$activity_ktx_version"
implementation "androidx.navigation:navigation-compose:$androidx_navigation"
implementation "androidx.compose.ui:ui:$androidx_compose"
implementation "androidx.compose.ui:ui-tooling:$androidx_compose"
implementation "androidx.compose.foundation:foundation:$androidx_compose"
implementation "androidx.compose.material:material:$androidx_compose"
implementation "com.google.accompanist:accompanist-insets:$google_accompanist"
implementation "com.google.accompanist:accompanist-swiperefresh:$google_accompanist"
implementation "io.insert-koin:koin-android:$koin_version"
implementation "io.insert-koin:koin-androidx-compose:$koin_version"
implementation "androidx.room:room-runtime:$androidx_room_version"
kapt "androidx.room:room-compiler:$androidx_room_version"