diff --git a/build.gradle.kts b/build.gradle.kts index 3fbb265239dc..2d50b34c04be 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -61,3 +61,11 @@ subprojects { tasks.register("clean") { delete(rootProject.layout.buildDirectory) } + +// TODO: Remove once Annotation 1.8.0 and Lifecycle 2.8.0 are out +configurations.all { + resolutionStrategy.force( + "androidx.annotation:annotation:1.8.0-rc01", + "androidx.lifecycle:lifecycle-runtime-compose:2.8.0-rc01", + ) +} diff --git a/gradle/compose.versions.toml b/gradle/compose.versions.toml index d4061aec7d86..80233533f3b7 100644 --- a/gradle/compose.versions.toml +++ b/gradle/compose.versions.toml @@ -5,14 +5,14 @@ accompanist = "0.35.0-alpha" [libraries] activity = "androidx.activity:activity-compose:1.9.0" bom = { group = "dev.chrisbanes.compose", name = "compose-bom", version.ref = "compose-bom" } -foundation = { module = "androidx.compose.foundation:foundation" } +foundation = { module = "androidx.compose.foundation:foundation", version = "1.7.0-SNAPSHOT" } animation = { module = "androidx.compose.animation:animation" } animation-graphics = { module = "androidx.compose.animation:animation-graphics" } ui-tooling = { module = "androidx.compose.ui:ui-tooling" } ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" } ui-util = { module = "androidx.compose.ui:ui-util" } -material3-core = { module = "androidx.compose.material3:material3" } +material3-core = { module = "androidx.compose.material3:material3", version = "1.3.0-SNAPSHOT" } material-icons = { module = "androidx.compose.material:material-icons-extended" } glance = "androidx.glance:glance-appwidget:1.0.0" diff --git a/settings.gradle.kts b/settings.gradle.kts index 4db52ce31853..2a6e84a529c4 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -32,6 +32,8 @@ dependencyResolutionManagement { mavenCentral() google() maven(url = "https://www.jitpack.io") + // TODO: Remove on Compose 1.7.0-beta02 + maven("https://androidx.dev/snapshots/builds/11827948/artifacts/repository") } }