From 24535e00b69c2727bddb75309ff6a5c7b70de4c6 Mon Sep 17 00:00:00 2001 From: Abdourahamane Boinaidi Date: Fri, 20 Sep 2024 10:58:07 +0200 Subject: [PATCH] Add temporary compose alpha --- app/build.gradle.kts | 1 + gradle/libs.versions.toml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index a4c75305b..19b93c19e 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -72,6 +72,7 @@ dependencies { // Compose implementation(libs.androidx.activity.compose) implementation(platform(libs.compose.bom)) + implementation(libs.compose.foundation) //TODO: To be removed when compose 1.8.0 is stable implementation(libs.compose.ui) implementation(libs.compose.ui.graphics) implementation(libs.compose.material3) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 75f87ca6f..5c95d1969 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,6 +2,7 @@ activityCompose = "1.9.2" adaptiveLayout = "1.0.0" agp = "8.6.1" +composeAlpha = "1.8.0-alpha02" composeBom = "2024.09.02" constraintlayoutCompose = "1.0.1" coreKtx = "1.13.1" @@ -24,6 +25,7 @@ androidx-constraintlayout-compose = { module = "androidx.constraintlayout:constr androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" } androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" } compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" } +compose-foundation = { group = "androidx.compose.foundation", name = "foundation", version.ref = "composeAlpha" } #TODO: To be removed when compose 1.8.0 is stable compose-material3 = { group = "androidx.compose.material3", name = "material3" } compose-material3-adaptative-navigation = { group = "androidx.compose.material3", name = "material3-adaptive-navigation-suite" } compose-ui = { group = "androidx.compose.ui", name = "ui" }