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" }