From 8d8e49d31f5afbcee566bd412fce13c29e96147c Mon Sep 17 00:00:00 2001 From: taetae98coding Date: Mon, 13 May 2024 16:40:56 +0900 Subject: [PATCH 1/2] upgrade 2.8.0-rc01 --- build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 1fc57d7..8f425cc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -155,7 +155,7 @@ dependencies { aar("com.google.firebase:firebase-config:21.6.0") aar("com.google.firebase:firebase-installations:17.2.0") // extracted aar dependencies - api(fileTree(mapOf("dir" to "build/jar", "include" to listOf("*.jar")))) + api(fileTree(mapOf("dir" to "build/jar", "include" to listOf("*.jar"), "exclude" to listOf("lifecycle-*")))) // polyfill dependencies implementation("org.jetbrains.kotlin:kotlin-stdlib") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3") @@ -165,12 +165,12 @@ dependencies { // firebase dependencies implementation("javax.inject:javax.inject:1") implementation("com.squareup.okhttp3:okhttp:3.12.13") - implementation("android.arch.lifecycle:common:1.1.1") implementation("io.grpc:grpc-protobuf-lite:1.52.1") implementation("io.grpc:grpc-stub:1.52.1") implementation("androidx.collection:collection:1.2.0") - implementation("androidx.lifecycle:lifecycle-common:2.4.0") implementation("io.grpc:grpc-okhttp:1.52.1") + implementation("androidx.lifecycle:lifecycle-common:2.8.0-rc01") + implementation("androidx.lifecycle:lifecycle-viewmodel:2.8.0-rc01") } tasks.named("publishToMavenLocal").configure { From ac9573078603259f05b701606f6218cc834d1d5f Mon Sep 17 00:00:00 2001 From: Nicholas Bransby-Williams Date: Tue, 14 May 2024 09:04:35 +0100 Subject: [PATCH 2/2] Update build.gradle.kts --- build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle.kts b/build.gradle.kts index 8f425cc..dfc44a4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -155,6 +155,7 @@ dependencies { aar("com.google.firebase:firebase-config:21.6.0") aar("com.google.firebase:firebase-installations:17.2.0") // extracted aar dependencies + // exclude lifecycle libs due to https://github.com/GitLiveApp/firebase-java-sdk/pull/15 - remove the exclude once the dependencies in the aars are updated to the required version api(fileTree(mapOf("dir" to "build/jar", "include" to listOf("*.jar"), "exclude" to listOf("lifecycle-*")))) // polyfill dependencies implementation("org.jetbrains.kotlin:kotlin-stdlib")