demo: update androidx dependencies

This commit is contained in:
Oscar Mira 2024-02-28 01:23:54 +01:00
parent 147989ba3f
commit 2a26407258

View File

@ -3,10 +3,11 @@ apply plugin: 'org.jetbrains.kotlin.android'
apply plugin: 'com.google.devtools.ksp' apply plugin: 'com.google.devtools.ksp'
ext { ext {
composeVersion = '1.6.0-alpha08' composeVersion = '1.6.2'
composeCompilerVersion = '1.5.3' composeCompilerVersion = '1.5.3'
lifecycleVersion = '2.6.2' lifecycleVersion = '2.7.0'
roomVersion = '2.6.0' navigationVersion = '2.7.7'
roomVersion = '2.6.1'
} }
android { android {
@ -65,20 +66,19 @@ android {
dependencies { dependencies {
implementation "androidx.core:core-ktx:1.9.0" implementation "androidx.core:core-ktx:1.9.0"
implementation "androidx.compose.ui:ui:$composeVersion" implementation "androidx.compose.ui:ui:$composeVersion"
implementation "androidx.compose.material3:material3:1.2.0-alpha10" implementation "androidx.compose.material3:material3:1.2.0"
implementation "androidx.compose.ui:ui-tooling-preview:$composeVersion" implementation "androidx.compose.ui:ui-tooling-preview:$composeVersion"
implementation "com.google.accompanist:accompanist-systemuicontroller:0.32.0" implementation "com.google.accompanist:accompanist-systemuicontroller:0.32.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycleVersion" implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycleVersion"
implementation "androidx.lifecycle:lifecycle-runtime-compose:$lifecycleVersion" implementation "androidx.lifecycle:lifecycle-runtime-compose:$lifecycleVersion"
implementation "androidx.activity:activity-compose:1.8.0" implementation "androidx.lifecycle:lifecycle-service:$lifecycleVersion"
implementation "androidx.lifecycle:lifecycle-process:$lifecycleVersion"
implementation "androidx.activity:activity-compose:1.8.2"
implementation "androidx.datastore:datastore-preferences:1.0.0" implementation "androidx.datastore:datastore-preferences:1.0.0"
implementation "androidx.room:room-runtime:$roomVersion" implementation "androidx.room:room-runtime:$roomVersion"
implementation "androidx.room:room-ktx:$roomVersion" implementation "androidx.room:room-ktx:$roomVersion"
implementation "androidx.navigation:navigation-runtime-ktx:2.7.4" implementation "androidx.navigation:navigation-runtime-ktx:$navigationVersion"
implementation "androidx.navigation:navigation-compose:2.7.4" implementation "androidx.navigation:navigation-compose:$navigationVersion"
implementation 'androidx.lifecycle:lifecycle-service:2.6.2'
implementation 'androidx.lifecycle:lifecycle-process:2.6.2'
ksp "androidx.room:room-compiler:$roomVersion" ksp "androidx.room:room-compiler:$roomVersion"
implementation project(':lib') implementation project(':lib')