Skip to content

Commit

Permalink
[#3422] Replace android navigation with CMP navigation (#3423)
Browse files Browse the repository at this point in the history
* [#3419] Replace android compose dependencies with the Compose Multiplatform one

* [#3422] Replace android navigation with CMP navigation
  • Loading branch information
mustafaozhan authored May 9, 2024
1 parent 8947b8f commit 3d6d23f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion android/ui/mobile/android-ui-mobile.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ dependencies {
libs.apply {
common.apply {
testImplementation(test)
implementation(navigationCompose)
implementation(kermit)
}
compose.apply {
Expand All @@ -60,7 +61,6 @@ dependencies {
}
android.apply {
implementation(activityCompose)
implementation(composeNavigation)
implementation(androidMaterial)
implementation(constraintLayout)
implementation(navigation)
Expand Down
5 changes: 3 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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" }
Expand All @@ -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" }
Expand Down

0 comments on commit 3d6d23f

Please sign in to comment.