Pin Cross-module Compose versions to 1.3.0-rc01
At this point, there isn't a dependency reason
for cross-groups to depend on tip-of-tree, so we can
pin these to enable more granular updates.
Test: gw bOS
Change-Id: I9c2b0181c094ed2b518dab3852a95c9e52421105
diff --git a/compose/foundation/foundation/build.gradle b/compose/foundation/foundation/build.gradle
index f366a00..82c4643 100644
--- a/compose/foundation/foundation/build.gradle
+++ b/compose/foundation/foundation/build.gradle
@@ -34,16 +34,16 @@
* When updating dependencies, make sure to make the an an analogous update in the
* corresponding block above
*/
- api("androidx.annotation:annotation:1.1.0")
- api("androidx.compose.animation:animation:1.1.1")
- api(project(":compose:runtime:runtime"))
+ api("androidx.annotation:annotation:1.2.1")
+ api("androidx.compose.animation:animation:1.2.1")
+ api("androidx.compose.runtime:runtime:1.3.0-rc01")
api(project(":compose:ui:ui"))
implementation(libs.kotlinStdlibCommon)
implementation(project(":compose:foundation:foundation-layout"))
- implementation("androidx.compose.ui:ui-graphics:1.1.1")
- implementation("androidx.compose.ui:ui-text:1.0.0")
- implementation("androidx.compose.ui:ui-util:1.0.0")
+ implementation("androidx.compose.ui:ui-graphics:1.2.1")
+ implementation("androidx.compose.ui:ui-text:1.2.1")
+ implementation("androidx.compose.ui:ui-util:1.2.1")
testImplementation(project(":compose:test-utils"))
testImplementation(libs.testRules)
diff --git a/compose/material3/material3/build.gradle b/compose/material3/material3/build.gradle
index 4e70b4d..be01d8b 100644
--- a/compose/material3/material3/build.gradle
+++ b/compose/material3/material3/build.gradle
@@ -36,17 +36,16 @@
* corresponding block below
*/
implementation(libs.kotlinStdlibCommon)
- implementation("androidx.compose.animation:animation-core:1.1.1")
- implementation("androidx.compose.foundation:foundation-layout:1.2.0")
- implementation("androidx.compose.ui:ui-util:1.0.0")
- api("androidx.compose.foundation:foundation:1.2.0")
- api("androidx.compose.material:material-icons-core:1.0.2")
- api("androidx.compose.material:material-ripple:1.0.0")
- api("androidx.compose.runtime:runtime:1.0.1")
- api("androidx.compose.ui:ui-graphics:1.0.1")
- api(project(":compose:ui:ui"))
- // TODO: pin this to 1.3.0 stable, when PlatformTextStyle is not experimental
- api(project(":compose:ui:ui-text"))
+ implementation("androidx.compose.animation:animation-core:1.3.0-rc01")
+ implementation("androidx.compose.foundation:foundation-layout:1.3.0-rc01")
+ implementation("androidx.compose.ui:ui-util:1.3.0-rc01")
+ api("androidx.compose.foundation:foundation:1.3.0-rc01")
+ api("androidx.compose.material:material-icons-core:1.3.0-rc01")
+ api("androidx.compose.material:material-ripple:1.3.0-rc01")
+ api("androidx.compose.runtime:runtime:1.3.0-rc01")
+ api("androidx.compose.ui:ui-graphics:1.3.0-rc01")
+ api("androidx.compose.ui:ui:1.3.0-rc01")
+ api("androidx.compose.ui:ui-text:1.3.0-rc01")
// TODO: remove next 3 dependencies when b/202810604 is fixed
implementation("androidx.savedstate:savedstate-ktx:1.2.0")
diff --git a/compose/ui/ui-unit/samples/build.gradle b/compose/ui/ui-unit/samples/build.gradle
index 66f3c59..fe45003 100644
--- a/compose/ui/ui-unit/samples/build.gradle
+++ b/compose/ui/ui-unit/samples/build.gradle
@@ -32,8 +32,8 @@
implementation("androidx.compose.runtime:runtime:1.2.0")
implementation(project(":compose:ui:ui"))
implementation(project(":compose:ui:ui-unit"))
- implementation(project(":compose:foundation:foundation"))
- implementation(project(":compose:foundation:foundation-layout"))
+ implementation("androidx.compose.foundation:foundation:1.3.0-rc01")
+ implementation("androidx.compose.foundation:foundation-layout:1.3.0-rc01")
}
androidx {
diff --git a/compose/ui/ui/build.gradle b/compose/ui/ui/build.gradle
index cfd04cb..ba22b8b 100644
--- a/compose/ui/ui/build.gradle
+++ b/compose/ui/ui/build.gradle
@@ -39,8 +39,8 @@
implementation(libs.kotlinCoroutinesCore)
// when updating the runtime version please also update the runtime-saveable version
- implementation(project(":compose:runtime:runtime"))
- api(project(":compose:runtime:runtime-saveable"))
+ implementation("androidx.compose.runtime:runtime:1.3.0-rc01")
+ api("androidx.compose.runtime:runtime-saveable:1.3.0-rc01")
api(project(":compose:ui:ui-geometry"))
api(project(":compose:ui:ui-graphics"))