Skip to content

Commit fa2001c

Browse files
authored
Unpin compose dependencies (#2368)
Fix from #2367 to `jb-main` We'll need to keep it unpinned at least before 1.9.0 release. Redirects in 1.10.0-alpha02 are also valid ## Release Notes N/A
1 parent 87b1de7 commit fa2001c

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ kotlin {
6161
dependencies {
6262
def version = project.findProperty('artifactRedirection.version.androidx.lifecycle')
6363
api("androidx.lifecycle:lifecycle-runtime-compose:$version")
64+
65+
// Keep direct reference to Compose multiplatform 1.9.x to correctly resolve
66+
// New redirections to Google's artifacts
67+
implementation(project(":compose:runtime:runtime"))
6468
}
6569
}
6670
}

lifecycle/lifecycle-runtime-compose/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ kotlin {
6262
api(project(":annotation:annotation"))
6363
implementation(project(":lifecycle:lifecycle-common"))
6464
api project(":lifecycle:lifecycle-runtime")
65-
api(project(":compose:runtime:runtime"))
65+
api project(":compose:runtime:runtime")
6666

6767
implementation(libs.kotlinStdlib)
6868
}

savedstate/savedstate-compose-compatibility-stub/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ kotlin {
6161
dependencies {
6262
def version = project.findProperty('artifactRedirection.version.androidx.savedstate')
6363
api("androidx.savedstate:savedstate-compose:$version")
64+
65+
// Keep direct reference to Compose multiplatform 1.9.x to correctly resolve
66+
// New redirections to Google's artifacts
67+
implementation(project(":compose:runtime:runtime"))
6468
}
6569
}
6670
}

0 commit comments

Comments
 (0)