From 75bb0b3da61035284e5e4b0ef5f5923c9338ac0b Mon Sep 17 00:00:00 2001 From: Jacob Bosco Date: Mon, 23 Jan 2023 11:32:30 +0530 Subject: [PATCH] WTA #71: Fixed crash is search page because of accompanist pager version. --- details/build.gradle.kts | 4 ++-- gradle/libs.versions.toml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/details/build.gradle.kts b/details/build.gradle.kts index 27245b25..31414eb3 100644 --- a/details/build.gradle.kts +++ b/details/build.gradle.kts @@ -7,6 +7,6 @@ android { } dependencies { - implementation("com.google.accompanist:accompanist-pager:0.29.0-alpha") - implementation("com.google.accompanist:accompanist-pager-indicators:0.29.0-alpha") + implementation(libs.accompanist.pager) + implementation(libs.accompanist.pager.indicators) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 82eb778b..8e684f12 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -18,6 +18,8 @@ ksp = "1.9.10-1.0.13" # https://goo.gle/ksp composeBom = "2023.08.00" # https://developer.android.com/jetpack/androidx/releases/compose composeCompiler = "1.5.3" # https://developer.android.com/jetpack/androidx/releases/compose-compiler +accompanistPager = "0.32.0" + hilt = "2.48" # https://github.com/google/dagger hiltNavigationCompose = "1.0.0" @@ -87,6 +89,9 @@ androidx-compose-material-iconsExtended = { module = "androidx.compose.material: androidx-compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4" } androidx-compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest" } +accompanist-pager = { module = "com.google.accompanist:accompanist-pager", version.ref = "accompanistPager" } +accompanist-pager-indicators = { module = "com.google.accompanist:accompanist-pager-indicators", version.ref = "accompanistPager" } + hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" } hilt-compiler = { module = "com.google.dagger:hilt-android-compiler", version.ref = "hilt" } hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "hiltNavigationCompose" }