From 5d11921c19cc562ed0900e94db6efa72ebff6852 Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Tue, 22 Sep 2026 13:05:04 +0200 Subject: [PATCH] build: pin androidx.graphics:graphics-shapes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The analog face imports `androidx.graphics.shapes.Morph` directly rather than inheriting it transitively from Material 3. Pinned to the version that already resolved, so nothing about the resolved graph changes โ€” only its honesty. --- app/build.gradle.kts | 1 + gradle/libs.versions.toml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index c6de827..bd99a03 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -164,6 +164,7 @@ dependencies { implementation(libs.androidx.ui.tooling.preview) implementation(libs.androidx.material3) implementation(libs.androidx.material3.adaptive.navigation.suite) + implementation(libs.androidx.graphics.shapes) implementation(libs.androidx.compose.material.icons.core) implementation(libs.androidx.compose.material.icons.extended) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 3526bbd..f0c4c3e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -30,6 +30,10 @@ androidxTestRules = "1.7.0" # Room โ€” Clockula's own storage (docs/PLAN.md ยง5). Schema is exported and # committed so migrations stay reviewable and testable. room = "2.8.3" +# `MaterialShapes` lives in material3, but `Morph` and `RoundedPolygon` are +# androidx.graphics.shapes โ€” pulled in transitively today. M8 imports that +# package directly, so it is declared at the version that already resolves. +graphicsShapes = "1.0.1" [libraries] # AndroidX core @@ -52,6 +56,8 @@ androidx-material3 = { group = "androidx.compose.material3", name = "material3", # M3 Expressive adaptive navigation: the short navigation bar on a phone, # the wide rail on a tablet, chosen by window size class rather than by hand. androidx-material3-adaptive-navigation-suite = { group = "androidx.compose.material3", name = "material3-adaptive-navigation-suite", version.ref = "material3" } +# The polygon morph behind the world clock's analog face (M8 D8). +androidx-graphics-shapes = { group = "androidx.graphics", name = "graphics-shapes", version.ref = "graphicsShapes" } androidx-compose-material-icons-core = { group = "androidx.compose.material", name = "material-icons-core" } androidx-compose-material-icons-extended = { group = "androidx.compose.material", name = "material-icons-extended" }