From 12b69992d9af701924f4e2eeb5b7f55e38920627 Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Tue, 25 Jun 2024 20:26:47 +0700 Subject: [PATCH] fix(deps): Use snapshot compose REF: https://issuetracker.google.com/issues/343750859 REF: https://android-review.googlesource.com/c/platform/frameworks/support/+/3137316 --- gradle/compose.versions.toml | 4 ++-- settings.gradle.kts | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gradle/compose.versions.toml b/gradle/compose.versions.toml index 2e902e7db5..e82833943c 100644 --- a/gradle/compose.versions.toml +++ b/gradle/compose.versions.toml @@ -4,8 +4,8 @@ compose-bom = "2024.06.00" [libraries] bom = { module = "androidx.compose:compose-bom", version.ref = "compose-bom" } animation = { module = "androidx.compose.animation:animation" } -foundation = { module = "androidx.compose.foundation:foundation" } -material3 = { module = "androidx.compose.material3:material3", version = "1.3.0-beta02" } +foundation = { module = "androidx.compose.foundation:foundation", version = "1.8.0-SNAPSHOT" } +material3 = { module = "androidx.compose.material3:material3", version = "1.3.0-beta03" } material-motion = { module = "io.github.fornewid:material-motion-compose-core", version = "1.0.7" } ui = { module = "androidx.compose.ui:ui" } ui-tooling = { module = "androidx.compose.ui:ui-tooling" } diff --git a/settings.gradle.kts b/settings.gradle.kts index 563486f6cf..4de07d293b 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -22,8 +22,10 @@ dependencyResolutionManagement { repositories { mavenCentral() google() - maven { setUrl("https://jitpack.io") } - maven { setUrl("https://plugins.gradle.org/m2/") } + maven("https://jitpack.io") + maven("https://plugins.gradle.org/m2/") + // FIXME: Remove on Compose 1.8.0-alpha01 + maven("https://androidx.dev/snapshots/builds/11925800/artifacts/repository") } }