Use Lifecycle 2.3.1 prebuilts
Replace project dependencies on Lifecycle artifacts
with prebuilts of Lifecycle 2.3.1.
Test: ./gradlew bOS
Change-Id: I48ca008f688ded2abf8ba14b0fe81e6b125e3841
diff --git a/camera/camera-camera2-pipe-integration/build.gradle b/camera/camera-camera2-pipe-integration/build.gradle
index 53f190b..e3ecb5c 100644
--- a/camera/camera-camera2-pipe-integration/build.gradle
+++ b/camera/camera-camera2-pipe-integration/build.gradle
@@ -46,7 +46,7 @@
api(project(":camera:camera-core"))
// Classes and types that are only needed at runtime
- implementation(project(":lifecycle:lifecycle-livedata-ktx"))
+ implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.3.1")
implementation("androidx.concurrent:concurrent-futures:1.0.0")
implementation(libs.kotlinCoroutinesGuava)
implementation(libs.kotlinStdlib)
diff --git a/camera/integration-tests/coretestapp/build.gradle b/camera/integration-tests/coretestapp/build.gradle
index 78c6756..64426dd 100644
--- a/camera/integration-tests/coretestapp/build.gradle
+++ b/camera/integration-tests/coretestapp/build.gradle
@@ -99,7 +99,7 @@
androidTestImplementation(project(":concurrent:concurrent-futures"))
androidTestImplementation(project(":concurrent:concurrent-futures-ktx"))
androidTestImplementation(project(":internal-testutils-runtime"))
- androidTestImplementation(project(":lifecycle:lifecycle-runtime-testing"))
+ androidTestImplementation("androidx.lifecycle:lifecycle-runtime-testing:2.3.1")
testImplementation(libs.junit)
testImplementation(libs.truth)
diff --git a/camera/integration-tests/viewtestapp/build.gradle b/camera/integration-tests/viewtestapp/build.gradle
index 215772c..3cf0b60 100644
--- a/camera/integration-tests/viewtestapp/build.gradle
+++ b/camera/integration-tests/viewtestapp/build.gradle
@@ -60,7 +60,7 @@
// Internal library
implementation("androidx.camera:camera-camera2:${VIEW_ATOMIC_GROUP_PINNED_VER}")
implementation("androidx.camera:camera-lifecycle:${VIEW_ATOMIC_GROUP_PINNED_VER}")
- implementation(project(":lifecycle:lifecycle-runtime"))
+ implementation("androidx.lifecycle:lifecycle-runtime:2.3.1")
implementation(project(":camera:camera-view"))
implementation(libs.guavaAndroid)
implementation("androidx.exifinterface:exifinterface:1.3.2")
@@ -87,8 +87,8 @@
androidTestImplementation(libs.testRules)
androidTestImplementation(libs.testUiautomator)
androidTestImplementation(libs.espressoCore)
- androidTestImplementation(project(":lifecycle:lifecycle-runtime-testing"))
- androidTestImplementation(project(":lifecycle:lifecycle-runtime"))
+ androidTestImplementation("androidx.lifecycle:lifecycle-runtime-testing:2.3.1")
+ androidTestImplementation("androidx.lifecycle:lifecycle-runtime:2.3.1")
androidTestImplementation("androidx.lifecycle:lifecycle-livedata-ktx:2.2.0")
androidTestImplementation(libs.truth)
debugImplementation(libs.testCore)
diff --git a/leanback/leanback-paging/build.gradle b/leanback/leanback-paging/build.gradle
index 579f307..f4cb872d 100644
--- a/leanback/leanback-paging/build.gradle
+++ b/leanback/leanback-paging/build.gradle
@@ -39,7 +39,7 @@
androidTestImplementation(libs.kotlinTest)
androidTestImplementation(libs.kotlinCoroutinesTest)
androidTestImplementation("androidx.arch.core:core-testing:2.1.0")
- androidTestImplementation(project(":lifecycle:lifecycle-runtime-testing"))
+ androidTestImplementation("androidx.lifecycle:lifecycle-runtime-testing:2.3.1")
}
android {
diff --git a/loader/loader-ktx/build.gradle b/loader/loader-ktx/build.gradle
index eced1e8..10676a6 100644
--- a/loader/loader-ktx/build.gradle
+++ b/loader/loader-ktx/build.gradle
@@ -31,7 +31,7 @@
api(libs.kotlinStdlib)
androidTestImplementation(libs.truth)
- androidTestImplementation(project(":lifecycle:lifecycle-runtime-testing"))
+ androidTestImplementation("androidx.lifecycle:lifecycle-runtime-testing:2.3.1")
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.testCore)
androidTestImplementation(libs.testRunner)
diff --git a/loader/loader/build.gradle b/loader/loader/build.gradle
index a663653..e9eab15d 100644
--- a/loader/loader/build.gradle
+++ b/loader/loader/build.gradle
@@ -13,7 +13,7 @@
implementation("androidx.collection:collection:1.0.0")
implementation("androidx.lifecycle:lifecycle-livedata-core:2.0.0")
- androidTestImplementation(project(":lifecycle:lifecycle-runtime-testing"))
+ androidTestImplementation("androidx.lifecycle:lifecycle-runtime-testing:2.3.1")
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.testCore)
androidTestImplementation(libs.testRunner)
diff --git a/vectordrawable/integration-tests/testapp/build.gradle b/vectordrawable/integration-tests/testapp/build.gradle
index 1742dc1..95b524e 100644
--- a/vectordrawable/integration-tests/testapp/build.gradle
+++ b/vectordrawable/integration-tests/testapp/build.gradle
@@ -24,7 +24,7 @@
implementation(project(":vectordrawable:vectordrawable-animated"))
implementation(project(":vectordrawable:vectordrawable-seekable"))
implementation(project(":appcompat:appcompat"))
- implementation(project(":lifecycle:lifecycle-viewmodel"))
+ implementation("androidx.lifecycle:lifecycle-viewmodel:2.3.1")
}
android {