Commit da586a7
fix(catalog): add 16 missing libs.versions.toml aliases — unblocks gradle script compilation
CI failure on PR openMF#2691 commit 463426d (Test Coverage Floor workflow): script
compilation errors in cmp-android/build.gradle.kts — unresolved `libs.plugins.
android.application.convention`, `libs.plugins.android.application.compose.
convention`, `libs.plugins.aboutLibraries`. Root cause: build.gradle.kts files
across the project (cmp-android, core-base/*, libs/*) were sync'd from upstream
template via sync-dirs.yaml but the matching catalog entries in gradle/libs.
versions.toml weren't included in the sync (the toml is intentionally consumer-
local — it carries the project's package namespaces + version overrides).
This is the SAME failure mode that openMF/kmp-project-template#163 fixes
upstream by making sync-dirs self-healing. Until that PR merges + the next
sync-dirs run propagates the heal logic, field-officer needs a manual catch-up
of every catalog entry referenced by sync'd build.gradle.kts files.
Audit: project-wide grep of every `libs.<X>` reference in `**/*.kts` + `**/*.kt`
against gradle/libs.versions.toml found 16 unresolved aliases (180 total refs
scanned, 16 missing).
Added to [versions]:
kmptoolkit = "3.2.3"
aboutLibraries = "13.2.1"
androidxHiltNavigationCompose = "1.2.0"
androidxSecurityCrypto = "1.1.0-alpha06"
bouncycastle = "1.78.1"
sqliteWeb = "2.6.2"
store = "5.1.0-alpha08"
turbine = "1.2.1"
Added to [libraries]:
aboutlibraries-core, aboutlibraries-compose-core, aboutlibraries-compose-m3
androidx-hilt-navigation-compose
androidx-security-crypto
androidx-sqlite-web
androidx-test-ext-junit (uses existing junitVersion = "1.2.1" which is
actually the ext-junit version, not junit4)
bouncycastle
cmp-network-monitor + cmp-network-monitor-compose (both use kmptoolkit version)
junit (uses existing junit4 = "4.13.2" — separate from junitVersion)
kermit-koin
store5 + store5-cache
turbine
Added to [plugins]:
aboutLibraries = { id = "com.mikepenz.aboutlibraries.plugin", … }
android-application-convention = { id = "org.convention.android.application" }
android-application-compose-convention = { id = "org.convention.android.application.compose" }
The 3 plugin convention aliases match plugin IDs registered in
build-logic/convention/build.gradle.kts — the registration was already there;
only the alias entry was missing.
Verification: full re-run of the libs-resolution audit (the exact algorithm
that the upstream PR openMF#163 ships as a sync-dirs heal step) now reports 0
unresolved references project-wide:
scanned: 188 libs.* refs
missing: 0
Categories of the 188 refs:
- 14 in build-logic/convention/build.gradle.kts (fixed in commit 4077e85)
- ~50 in cmp-android, cmp-shared, cmp-navigation, cmp-desktop, cmp-web, cmp-ios
- ~80 in core-base/*, libs/* (vendored modules sync'd from template)
- rest in feature/*, core/*
This unblocks the next CI run on PR openMF#2691. Expected outcome: kover coverage
job progresses past script compilation; surfaces whatever non-catalog compile
issues remain (likely a smaller surface from B4/B6/B6.10 cross-tier moves).1 parent 463426d commit da586a7
1 file changed
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
120 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
121 | 133 | | |
122 | 134 | | |
123 | 135 | | |
| |||
333 | 345 | | |
334 | 346 | | |
335 | 347 | | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
336 | 365 | | |
337 | 366 | | |
338 | 367 | | |
| |||
528 | 557 | | |
529 | 558 | | |
530 | 559 | | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
531 | 568 | | |
532 | 569 | | |
533 | 570 | | |
| |||
0 commit comments