From 13be4e4eb168aafd6a29ec8e730ed127e10aac56 Mon Sep 17 00:00:00 2001 From: FooIbar <118464521+FooIbar@users.noreply.github.com> Date: Sun, 5 May 2024 02:20:00 +0800 Subject: [PATCH] Remove Navigation Compose dependency It's transitively provided by Compose Destinations, we should not directly depend on it in case they are incompatible. --- app/build.gradle.kts | 3 --- gradle/libs.versions.toml | 3 --- 2 files changed, 6 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 972ee2f18..d8a91d3f8 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -219,9 +219,6 @@ dependencies { implementation(libs.androidx.lifecycle.process) implementation(libs.androidx.lifecycle.compose) - // https://developer.android.com/jetpack/androidx/releases/navigation - implementation(libs.androidx.navigation.compose) - // https://developer.android.com/jetpack/androidx/releases/paging implementation(libs.androidx.paging.compose) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 283401a5b..1944d19e8 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -11,7 +11,6 @@ androidx-core = "1.14.0-alpha01" androidx-core-splashscreen = "1.2.0-alpha01" androidx-graphics-path = "1.0.1" androidx-lifecycle = "2.8.0-rc01" -androidx-navigation = "2.8.0-alpha08" androidx-paging = "3.3.0-rc01" androidx-recyclerview = "1.4.0-alpha01" androidx-room = "2.7.0-alpha01" @@ -47,8 +46,6 @@ androidx-graphics-path = { module = "androidx.graphics:graphics-path", version.r androidx-lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version.ref = "androidx-lifecycle" } androidx-lifecycle-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version.ref = "androidx-lifecycle" } -androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "androidx-navigation" } - androidx-paging-compose = { module = "androidx.paging:paging-compose", version.ref = "androidx-paging" } androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version.ref = "androidx-recyclerview" }