From c9b67b5ebf9c50d742b4c794c23fd13704dabebe Mon Sep 17 00:00:00 2001 From: rosariopf Date: Tue, 19 Mar 2024 22:07:38 +0000 Subject: [PATCH] chore: use lifecycle versions that are compatible with each other --- auth/build.gradle.kts | 1 - buildSrc/src/main/kotlin/Config.kt | 11 +++++------ proguard-tests/build.gradle.kts | 1 - 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/auth/build.gradle.kts b/auth/build.gradle.kts index 2a0ed1518..5c56dc4e4 100644 --- a/auth/build.gradle.kts +++ b/auth/build.gradle.kts @@ -73,7 +73,6 @@ dependencies { implementation(Config.Libs.Androidx.customTabs) implementation(Config.Libs.Androidx.constraint) - implementation(Config.Libs.Androidx.lifecycleExtensions) annotationProcessor(Config.Libs.Androidx.lifecycleCompiler) implementation(platform(Config.Libs.Firebase.bom)) diff --git a/buildSrc/src/main/kotlin/Config.kt b/buildSrc/src/main/kotlin/Config.kt index 0a50adb11..823c82e47 100644 --- a/buildSrc/src/main/kotlin/Config.kt +++ b/buildSrc/src/main/kotlin/Config.kt @@ -31,14 +31,13 @@ object Config { const val cardView = "androidx.cardview:cardview:1.0.0" const val constraint = "androidx.constraintlayout:constraintlayout:2.0.4" const val fragment = "androidx.fragment:fragment:1.3.5" - const val lifecycleCompiler = "androidx.lifecycle:lifecycle-compiler:2.3.1" - const val lifecycleExtensions = "androidx.lifecycle:lifecycle-extensions:2.2.0" - const val lifecycleRuntime = "androidx.lifecycle:lifecycle-runtime:2.3.1" - const val lifecycleViewModel = "androidx.lifecycle:lifecycle-viewmodel:2.3.1" + const val lifecycleCompiler = "androidx.lifecycle:lifecycle-compiler:2.5.1" + const val lifecycleRuntime = "androidx.lifecycle:lifecycle-runtime:2.5.1" + const val lifecycleViewModel = "androidx.lifecycle:lifecycle-viewmodel:2.5.1" const val legacySupportv4 = "androidx.legacy:legacy-support-v4:1.0.0" const val multidex = "androidx.multidex:multidex:2.0.1" - const val paging = "androidx.paging:paging-runtime:3.0.0" - const val pagingRxJava = "androidx.paging:paging-rxjava3:3.0.0" + const val paging = "androidx.paging:paging-runtime:3.2.0" + const val pagingRxJava = "androidx.paging:paging-rxjava3:3.2.0" const val recyclerView = "androidx.recyclerview:recyclerview:1.2.1" const val materialDesign = "com.google.android.material:material:1.4.0" diff --git a/proguard-tests/build.gradle.kts b/proguard-tests/build.gradle.kts index 1eeae30ca..2adbfa954 100644 --- a/proguard-tests/build.gradle.kts +++ b/proguard-tests/build.gradle.kts @@ -75,7 +75,6 @@ dependencies { implementation(project(":database")) implementation(project(":storage")) - implementation(Config.Libs.Androidx.lifecycleExtensions) } apply(plugin = "com.google.gms.google-services")