Skip to content

Commit 4c05dc6

Browse files
authored
Pin versions for 1.10.0-beta02 (#2566)
- Bumped lifecycle/savedstate pins to the latest patch to resolve possible redirect issues - Pin Compose in material3 to make it compatible with Compose Multiplatform 1.9.x - Use direct references to androidx annotation/collection in pins since our wrappers will be in transitive dependencies anyway, so KT-60874 is not the case here ## Release Notes N/A
1 parent 065a5d2 commit 4c05dc6

File tree

15 files changed

+48
-44
lines changed

15 files changed

+48
-44
lines changed

compose/material3/material3-adaptive-navigation-suite/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ kotlin {
5050
dependencies {
5151
implementation(libs.kotlinStdlib)
5252
implementation(project(":compose:material3:material3"))
53-
implementation(project(":compose:material3:adaptive:adaptive"))
54-
implementation(project(":compose:ui:ui"))
55-
implementation(project(":window:window-core"))
56-
api(project(":annotation:annotation"))
53+
implementation("org.jetbrains.compose.material3.adaptive:adaptive:1.2.0")
54+
implementation("org.jetbrains.compose.ui:ui:1.9.3")
55+
implementation("org.jetbrains.androidx.window:window-core:1.4.0")
56+
api("androidx.annotation:annotation:1.9.1")
5757
}
5858
}
5959

compose/material3/material3-window-size-class/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ kotlin {
4141
commonMain {
4242
dependencies {
4343
implementation(libs.kotlinStdlib)
44-
implementation(project(":compose:ui:ui-util"))
45-
api(project(":compose:runtime:runtime"))
46-
api(project(":compose:ui:ui"))
47-
api(project(":compose:ui:ui-unit"))
44+
implementation("org.jetbrains.compose.ui:ui-util:1.9.3")
45+
api("org.jetbrains.compose.runtime:runtime:1.9.3")
46+
api("org.jetbrains.compose.ui:ui:1.9.3")
47+
api("org.jetbrains.compose.ui:ui-unit:1.9.3")
4848
}
4949
}
5050

compose/material3/material3/build.gradle

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -98,20 +98,20 @@ if(AndroidXComposePlugin.isMultiplatformEnabled(project)) {
9898
sourceSets {
9999
commonMain.dependencies {
100100
implementation(libs.kotlinStdlib)
101-
implementation(project(":compose:animation:animation-core"))
102-
103-
api(project(":compose:foundation:foundation"))
104-
api(project(":compose:material:material-ripple"))
105-
api(project(":compose:runtime:runtime"))
106-
api(project(":compose:ui:ui-graphics"))
107-
api(project(":compose:ui:ui-text"))
108-
api("androidx.graphics:graphics-shapes:1.1.0-beta01")
109-
110-
implementation(project(":compose:ui:ui-util"))
111-
implementation(project(":compose:ui:ui-backhandler"))
112-
implementation(project(":compose:foundation:foundation-layout"))
113-
implementation(project(":annotation:annotation"))
114-
implementation(project(":collection:collection"))
101+
implementation("org.jetbrains.compose.animation:animation-core:1.9.3")
102+
103+
api("org.jetbrains.compose.foundation:foundation:1.9.3")
104+
api("org.jetbrains.compose.material:material-ripple:1.9.3")
105+
api("org.jetbrains.compose.runtime:runtime:1.9.3")
106+
api("org.jetbrains.compose.ui:ui-graphics:1.9.3")
107+
api("org.jetbrains.compose.ui:ui-text:1.9.3")
108+
api("androidx.graphics:graphics-shapes:1.1.0")
109+
110+
implementation("org.jetbrains.compose.ui:ui-util:1.9.3")
111+
implementation("org.jetbrains.compose.ui:ui-backhandler:1.9.3")
112+
implementation("org.jetbrains.compose.foundation:foundation-layout:1.9.3")
113+
implementation("androidx.annotation:annotation:1.9.1")
114+
implementation("androidx.collection:collection:1.5.0")
115115
}
116116

117117
androidMain.dependencies {
@@ -183,6 +183,10 @@ if(AndroidXComposePlugin.isMultiplatformEnabled(project)) {
183183

184184
skikoTest.dependencies {
185185
implementation(libs.kotlinTest)
186+
// Test against project dependencies
187+
implementation(project(":compose:foundation:foundation"))
188+
implementation(project(":compose:ui:ui"))
189+
implementation(project(":compose:runtime:runtime"))
186190
implementation(project(":compose:ui:ui-test"))
187191
def navigationEventVersion = project.findProperty('artifactRedirection.version.androidx.navigationevent')
188192
implementation("androidx.navigationevent:navigationevent-testing:$navigationEventVersion")

compose/runtime/runtime-saveable-compatibility-stub/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ kotlin {
6060
// Keep direct references to fork versions to correctly resolve
6161
// New redirections to Google's artifacts
6262
api(project(":compose:runtime:runtime"))
63-
implementation("org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose:2.9.5")
64-
api("org.jetbrains.androidx.savedstate:savedstate-compose:1.3.5")
63+
implementation("org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose:2.9.6")
64+
api("org.jetbrains.androidx.savedstate:savedstate-compose:1.3.6")
6565
}
6666
}
6767
}

compose/runtime/runtime-saveable/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ if(AndroidXComposePlugin.isMultiplatformEnabled(project)) {
9595
commonMain.dependencies {
9696
implementation(libs.kotlinStdlib)
9797
implementation(project(":collection:collection"))
98-
implementation("org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose:2.9.5")
98+
implementation("org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose:2.9.6")
9999
api(project(":compose:runtime:runtime"))
100-
api("org.jetbrains.androidx.savedstate:savedstate-compose:1.3.5")
100+
api("org.jetbrains.androidx.savedstate:savedstate-compose:1.3.6")
101101
}
102102

103103
androidMain.dependencies {

compose/ui/ui-test/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ if (AndroidXComposePlugin.isMultiplatformEnabled(project)) {
153153

154154
// Required to properly resolve supertypes of DefaultArchitectureComponentsOwner
155155
// Keep in sync with :ui:ui module
156-
implementation("org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose:2.9.5")
157-
implementation("org.jetbrains.androidx.lifecycle:lifecycle-viewmodel:2.9.5")
158-
implementation("org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-savedstate:2.9.5")
156+
implementation("org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose:2.9.6")
157+
implementation("org.jetbrains.androidx.lifecycle:lifecycle-viewmodel:2.9.6")
158+
implementation("org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-savedstate:2.9.6")
159159

160160
// Use direct dependency to AOSP's artifact instead of using project reference
161161
// because this module supports all KMP platforms from the beginning

compose/ui/ui/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,11 @@ if(AndroidXComposePlugin.isMultiplatformEnabled(project)) {
175175
api project(":compose:ui:ui-text")
176176
api project(":compose:ui:ui-unit")
177177
api project(":compose:ui:ui-util")
178-
api("org.jetbrains.androidx.lifecycle:lifecycle-common:2.9.5")
179-
implementation("org.jetbrains.androidx.lifecycle:lifecycle-runtime:2.9.5")
180-
implementation("org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose:2.9.5")
181-
implementation("org.jetbrains.androidx.lifecycle:lifecycle-viewmodel:2.9.5")
182-
implementation("org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-savedstate:2.9.5")
178+
api("org.jetbrains.androidx.lifecycle:lifecycle-common:2.9.6")
179+
implementation("org.jetbrains.androidx.lifecycle:lifecycle-runtime:2.9.6")
180+
implementation("org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose:2.9.6")
181+
implementation("org.jetbrains.androidx.lifecycle:lifecycle-viewmodel:2.9.6")
182+
implementation("org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-savedstate:2.9.6")
183183
}
184184

185185
androidMain.dependencies {

lifecycle/lifecycle-runtime-compose-compatibility-stub/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ kotlin {
6565
// New redirections to Google's artifacts
6666
implementation(project(":lifecycle:lifecycle-common"))
6767
api(project(":lifecycle:lifecycle-runtime"))
68-
api(project(":compose:runtime:runtime"))
68+
api("org.jetbrains.compose.runtime:runtime:1.9.3")
6969
}
7070
}
7171
}

lifecycle/lifecycle-runtime-compose/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ kotlin {
6161
dependencies {
6262
api(project(":annotation:annotation"))
6363
implementation(project(":lifecycle:lifecycle-common"))
64-
api project(":lifecycle:lifecycle-runtime")
65-
api project(":compose:runtime:runtime")
64+
api(project(":lifecycle:lifecycle-runtime"))
65+
api("org.jetbrains.compose.runtime:runtime:1.9.3")
6666

6767
implementation(libs.kotlinStdlib)
6868
}

lifecycle/lifecycle-viewmodel-navigation3/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ kotlin {
5353
api(project(":lifecycle:lifecycle-viewmodel-compose"))
5454
def lifecycleVersion = project.findProperty('artifactRedirection.version.androidx.lifecycle')
5555
api("androidx.lifecycle:lifecycle-viewmodel-savedstate:$lifecycleVersion")
56-
api("org.jetbrains.compose.runtime:runtime:1.9.1")
57-
api("org.jetbrains.compose.runtime:runtime-saveable:1.9.1")
56+
api("org.jetbrains.compose.runtime:runtime:1.9.3")
57+
api("org.jetbrains.compose.runtime:runtime-saveable:1.9.3")
5858
def navigation3Version = project.findProperty('artifactRedirection.version.androidx.navigation3')
5959
api("androidx.navigation3:navigation3-runtime:$navigation3Version")
6060
def savedstateVersion = project.findProperty('artifactRedirection.version.androidx.savedstate')

0 commit comments

Comments
 (0)