From 6df60d7eda3aec77640210fbea9ce97091cddef5 Mon Sep 17 00:00:00 2001 From: Ryan Brooks Date: Wed, 6 Nov 2024 16:50:41 -0800 Subject: [PATCH] Lower compose version to avoid breaking change added in 1.7.0 --- gradle/libs.versions.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 55a23a2a..193ded69 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,13 @@ androidx-test = "1.5.0" androidx-test-ext = "1.1.5" agp = "8.5.2" androidxactivity = "1.7.1" -compose-bom = "2024.10.01" +# 2024.08.00 is 1.6.8 +# 1.7.0+ updates ComposableLambda to leverage a new rememberComposableLambda function that +# is implicitly added by the compose compiler. This is a breaking change for consumers before 1.7.0, +# so we'll need to lock ourselves to an older version and later add restrictions for what compose +# versions are supported when we decided to update. +# https://android-review.googlesource.com/c/platform/frameworks/support/+/2692852/37/compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/internal/ComposableLambda.kt#625 +compose-bom = "2024.08.00" detekt = "1.22.0" kotlin = "2.0.21" kotlin-coroutines = "1.8.0" @@ -26,7 +32,7 @@ foundation-layout-android = "1.7.3" emerge-gradle-plugin = "4.0.2" emerge-performance = "2.1.2" emerge-reaper = "1.0.0-rc03" -emerge-snapshots = "1.3.0-rc03" +emerge-snapshots = "1.3.0-rc02" emerge-distribution = "0.0.1" [plugins]