Copied from Agendula, which is the family's current template: AGP 9.x conventions, the shared version catalog, and the F-Droid reproducibility invariants that are load-bearing rather than cosmetic — no foojay toolchain resolver anywhere, vcsInfo off on release, dependenciesInfo out of the APK. floret-kit comes in as a git submodule wired up as a Gradle composite build, so the kit is built from source and pinned by commit, exactly as its ARCHITECTURE.md prescribes. Two deliberate divergences from Agendula's catalog: - Room replaces Glance. Clockula owns its storage (docs/PLAN.md §0) and ships no widget in v1 (§1, decision 2). The schema is exported to a committed directory, because a migration is only reviewable against a recorded previous version. - :provider and core-reminders are dropped. There is no vendored task provider here, and Agendula's reminder lead-time model is not the shape Clockula's scheduling takes. Version starts at 0.1.0 / 100. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L94fydiJC37LtxVusNQBDy
109 lines
5.5 KiB
TOML
109 lines
5.5 KiB
TOML
[versions]
|
|
agp = "9.2.1"
|
|
kotlin = "2.3.21"
|
|
ksp = "2.3.9"
|
|
hilt = "2.59.2"
|
|
coreKtx = "1.19.0"
|
|
appcompat = "1.7.1"
|
|
lifecycleRuntime = "2.10.0"
|
|
activityCompose = "1.13.0"
|
|
composeBom = "2026.05.01"
|
|
# Material 3 Expressive APIs currently live only in the 1.5 alpha line.
|
|
# Pin explicitly to override the BOM (which ships stable 1.4.0).
|
|
# Re-evaluate when 1.5.0 stable lands.
|
|
material3 = "1.5.0-alpha21"
|
|
datastore = "1.2.1"
|
|
# SAF directory writing for export/backup (DocumentFile).
|
|
documentfile = "1.1.0"
|
|
junit = "6.1.0"
|
|
junitPlatform = "6.1.0"
|
|
truth = "1.4.5"
|
|
androidxJunit = "1.3.0"
|
|
espressoCore = "3.7.0"
|
|
kotlinxDatetime = "0.7.0"
|
|
kotlinxCoroutines = "1.10.2"
|
|
turbine = "1.2.0"
|
|
hiltNavigationCompose = "1.3.0"
|
|
navigationCompose = "2.9.0"
|
|
lifecycleCompose = "2.10.0"
|
|
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"
|
|
|
|
[libraries]
|
|
# AndroidX core
|
|
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
|
|
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
|
|
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntime" }
|
|
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
|
|
|
|
# Compose BOM + libs
|
|
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
|
|
androidx-ui = { group = "androidx.compose.ui", name = "ui" }
|
|
androidx-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
|
|
androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
|
|
androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
|
|
androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
|
|
androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
|
|
|
|
# Material 3 (Expressive lives in this artifact for 1.5+)
|
|
androidx-material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "material3" }
|
|
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" }
|
|
|
|
# Hilt
|
|
hilt-android = { group = "com.google.dagger", name = "hilt-android", version.ref = "hilt" }
|
|
hilt-compiler = { group = "com.google.dagger", name = "hilt-android-compiler", version.ref = "hilt" }
|
|
|
|
# DataStore
|
|
androidx-datastore-preferences = { group = "androidx.datastore", name = "datastore-preferences", version.ref = "datastore" }
|
|
|
|
# SAF — writing the export into a user-chosen folder
|
|
androidx-documentfile = { group = "androidx.documentfile", name = "documentfile", version.ref = "documentfile" }
|
|
|
|
# Unit tests
|
|
junit-jupiter-api = { group = "org.junit.jupiter", name = "junit-jupiter-api", version.ref = "junit" }
|
|
junit-jupiter-engine = { group = "org.junit.jupiter", name = "junit-jupiter-engine", version.ref = "junit" }
|
|
junit-platform-launcher = { group = "org.junit.platform", name = "junit-platform-launcher", version.ref = "junitPlatform" }
|
|
truth = { group = "com.google.truth", name = "truth", version.ref = "truth" }
|
|
|
|
# Android tests
|
|
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "androidxJunit" }
|
|
androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
|
|
|
|
# Domain time
|
|
kotlinx-datetime = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime", version.ref = "kotlinxDatetime" }
|
|
|
|
# Coroutines (transitively pulled by hilt-android, pinned explicit)
|
|
kotlinx-coroutines-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "kotlinxCoroutines" }
|
|
kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "kotlinxCoroutines" }
|
|
|
|
# Test - Flow assertions
|
|
turbine = { group = "app.cash.turbine", name = "turbine", version.ref = "turbine" }
|
|
|
|
# Hilt navigation-compose (for hiltViewModel() in Composables)
|
|
androidx-hilt-navigation-compose = { group = "androidx.hilt", name = "hilt-navigation-compose", version.ref = "hiltNavigationCompose" }
|
|
|
|
# Navigation-compose (the NavHost / back stack)
|
|
androidx-navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "navigationCompose" }
|
|
|
|
# Lifecycle compose (for collectAsStateWithLifecycle)
|
|
androidx-lifecycle-runtime-compose = { group = "androidx.lifecycle", name = "lifecycle-runtime-compose", version.ref = "lifecycleCompose" }
|
|
|
|
# Room
|
|
androidx-room-runtime = { group = "androidx.room", name = "room-runtime", version.ref = "room" }
|
|
androidx-room-ktx = { group = "androidx.room", name = "room-ktx", version.ref = "room" }
|
|
androidx-room-compiler = { group = "androidx.room", name = "room-compiler", version.ref = "room" }
|
|
androidx-room-testing = { group = "androidx.room", name = "room-testing", version.ref = "room" }
|
|
|
|
# Android tests - GrantPermissionRule
|
|
androidx-test-rules = { group = "androidx.test", name = "rules", version.ref = "androidxTestRules" }
|
|
|
|
[plugins]
|
|
android-application = { id = "com.android.application", version.ref = "agp" }
|
|
android-library = { id = "com.android.library", version.ref = "agp" }
|
|
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
|
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
|
|
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
|