aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrajakta Patil <prajakt@google.com>2024-05-06 23:34:49 +0000
committerPrajakta Patil <prajakt@google.com>2024-05-06 23:34:49 +0000
commitced5a191a0c68a4f2eca9a7a82a0129e39752b46 (patch)
tree8b5e6c779bc14bf334e569d8c52e0fa115b80a92
parentef147dd3b0345f010bab472f2c94ca2cc950183c (diff)
downloadsupport-ced5a191a0c68a4f2eca9a7a82a0129e39752b46.tar.gz
pinning lifecycle-runtime-compose:2.8.0 in compose runtime & compose ui
Change-Id: I2ab4cef63ca346ec13a13a923c8c61bad205835b
-rw-r--r--camera/integration-tests/avsynctestapp/build.gradle2
-rw-r--r--compose/runtime/runtime-livedata/build.gradle2
-rw-r--r--compose/ui/ui/build.gradle6
-rw-r--r--test/uiautomator/integration-tests/testapp/build.gradle2
-rw-r--r--wear/compose/integration-tests/navigation/build.gradle2
5 files changed, 7 insertions, 7 deletions
diff --git a/camera/integration-tests/avsynctestapp/build.gradle b/camera/integration-tests/avsynctestapp/build.gradle
index c46143f7524..a6ed4edfdf6 100644
--- a/camera/integration-tests/avsynctestapp/build.gradle
+++ b/camera/integration-tests/avsynctestapp/build.gradle
@@ -66,7 +66,7 @@ dependencies {
// Align dependencies in debugRuntimeClasspath and debugAndroidTestRuntimeClasspath.
androidTestImplementation("androidx.annotation:annotation-experimental:1.4.0")
androidTestImplementation("androidx.annotation:annotation:1.8.0")
- androidTestImplementation(project(":lifecycle:lifecycle-common"))
+ androidTestImplementation("androidx.lifecycle:lifecycle-common:2.8.0")
// Testing framework
testImplementation(libs.kotlinCoroutinesTest)
diff --git a/compose/runtime/runtime-livedata/build.gradle b/compose/runtime/runtime-livedata/build.gradle
index fdcb555283e..984fafca244 100644
--- a/compose/runtime/runtime-livedata/build.gradle
+++ b/compose/runtime/runtime-livedata/build.gradle
@@ -37,7 +37,7 @@ dependencies {
api(project(":compose:runtime:runtime"))
api("androidx.lifecycle:lifecycle-livedata:2.6.1")
api("androidx.lifecycle:lifecycle-runtime:2.6.1")
- api(project(":lifecycle:lifecycle-runtime-compose"))
+ api("androidx.lifecycle:lifecycle-runtime-compose:2.8.0")
androidTestImplementation(projectOrArtifact(":compose:ui:ui-test-junit4"))
androidTestImplementation(project(":compose:test-utils"))
diff --git a/compose/ui/ui/build.gradle b/compose/ui/ui/build.gradle
index 6af789d6745..a90d061b3de 100644
--- a/compose/ui/ui/build.gradle
+++ b/compose/ui/ui/build.gradle
@@ -94,7 +94,7 @@ androidXMultiplatform {
implementation('androidx.collection:collection:1.0.0')
implementation("androidx.customview:customview-poolingcontainer:1.0.0")
implementation("androidx.savedstate:savedstate-ktx:1.2.1")
- api(project(":lifecycle:lifecycle-runtime-compose"))
+ api("androidx.lifecycle:lifecycle-runtime-compose:2.8.0")
implementation("androidx.lifecycle:lifecycle-viewmodel:2.6.1")
implementation("androidx.emoji2:emoji2:1.2.0")
@@ -104,13 +104,13 @@ androidXMultiplatform {
// converting `lifecycle-runtime-compose` to KMP triggered a Gradle bug. Adding
// the `livedata` dependency directly works around the issue.
// See https://github.com/gradle/gradle/issues/14220 for details.
- compileOnly(projectOrArtifact(":lifecycle:lifecycle-livedata-core"))
+ compileOnly("androidx.lifecycle:lifecycle-livedata-core:2.8.0")
// `compose-ui` has a transitive dependency on `lifecycle-viewmodel-savedstate`, and
// converting `lifecycle-runtime-compose` to KMP triggered a Gradle bug. Adding
// the `lifecycle-viewmodel-savedstate` dependency directly works around the issue.
// See https://github.com/gradle/gradle/issues/14220 for details.
- compileOnly(projectOrArtifact(":lifecycle:lifecycle-viewmodel-savedstate"))
+ compileOnly("androidx.lifecycle:lifecycle-viewmodel-savedstate:2.8.0")
}
}
diff --git a/test/uiautomator/integration-tests/testapp/build.gradle b/test/uiautomator/integration-tests/testapp/build.gradle
index 74b468e124c..7aba758a815 100644
--- a/test/uiautomator/integration-tests/testapp/build.gradle
+++ b/test/uiautomator/integration-tests/testapp/build.gradle
@@ -40,7 +40,7 @@ dependencies {
androidTestImplementation(libs.testRunner)
// Align dependencies in debugRuntimeClasspath and debugAndroidTestRuntimeClasspath.
- androidTestImplementation(project(":lifecycle:lifecycle-common"))
+ androidTestImplementation("androidx.lifecycle:lifecycle-common:2.8.0")
androidTestImplementation("androidx.annotation:annotation:1.8.0")
}
diff --git a/wear/compose/integration-tests/navigation/build.gradle b/wear/compose/integration-tests/navigation/build.gradle
index a0c7ef36d3d..b6957c24b9a 100644
--- a/wear/compose/integration-tests/navigation/build.gradle
+++ b/wear/compose/integration-tests/navigation/build.gradle
@@ -54,6 +54,6 @@ dependencies {
implementation(project(':wear:compose:compose-navigation'))
// Align dependencies in debugRuntimeClasspath and debugAndroidTestRuntimeClasspath.
- androidTestImplementation(project(":lifecycle:lifecycle-common"))
+ androidTestImplementation("androidx.lifecycle:lifecycle-common:2.8.0")
androidTestImplementation("androidx.annotation:annotation:1.8.0")
}