diff --git a/android/ui/mobile/android-ui-mobile.gradle.kts b/android/ui/mobile/android-ui-mobile.gradle.kts index 3948b0b3f4..fe1ec19a11 100644 --- a/android/ui/mobile/android-ui-mobile.gradle.kts +++ b/android/ui/mobile/android-ui-mobile.gradle.kts @@ -51,6 +51,7 @@ dependencies { libs.apply { common.apply { testImplementation(test) + implementation(navigationCompose) implementation(kermit) } compose.apply { @@ -60,7 +61,6 @@ dependencies { } android.apply { implementation(activityCompose) - implementation(composeNavigation) implementation(androidMaterial) implementation(constraintLayout) implementation(navigation) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index e0f1ab1723..3a9cc5e9e3 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -7,6 +7,7 @@ composeCompiler = "1.5.13" jetbrainsCompose = "1.6.2" glance = "1.0.0" activityCompose = "1.8.2" +navigationCompose = "2.7.0-alpha03" detekt = "1.23.6" androidDesugaring = "2.0.4" androidMaterial = "1.12.0" @@ -48,9 +49,10 @@ konsist = "0.15.1" [libraries] # COMMON -common-composeCompiler = { module = "androidx.compose.compiler:compiler", version.ref = "composeCompiler" } # Workaround for compose compiler update common-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" } common-testAnnotations = { module = "org.jetbrains.kotlin:kotlin-test-annotations-common", version.ref = "kotlin" } +common-composeCompiler = { module = "androidx.compose.compiler:compiler", version.ref = "composeCompiler" } # Workaround for compose compiler update +common-navigationCompose = { module = "org.jetbrains.androidx.navigation:navigation-compose", version.ref = "navigationCompose" } common-koinCore = { module = "io.insert-koin:koin-core", version.ref = "koinCore" } common-multiplatformSettings = { module = "com.russhwolf:multiplatform-settings", version.ref = "multiplatformSettings" } common-kotlinXDateTime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinXDateTime" } @@ -72,7 +74,6 @@ android-androidDesugaring = { module = "com.android.tools:desugar_jdk_libs", ver android-androidMaterial = { module = "com.google.android.material:material", version.ref = "androidMaterial" } android-constraintLayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "constraintLayout" } android-activityCompose = { module = "androidx.activity:activity-compose", version.ref = "activityCompose" } -android-composeNavigation = { module = "androidx.navigation:navigation-compose", version.ref = "navigation" } android-glance = { module = "androidx.glance:glance-appwidget", version.ref = "glance" } android-navigation = { module = "androidx.navigation:navigation-fragment-ktx", version.ref = "navigation" } android-appCompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }