mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
chore(deps): split androidx-compose version ref from CMP
The compose-multiplatform version ref in libs.versions.toml was shared
between the org.jetbrains.compose.* artifacts (plus Gradle plugin) and
the two androidx.compose.{runtime,ui} test/tracing artifacts. Google
ships the androidx side first; when Renovate noticed androidx
1.11.0-rc01 it bumped the shared variable and the build choked because
JetBrains had not yet published the org.jetbrains.compose plugin at
that version (see PR #5180).
Introduce a dedicated androidx-compose-bom-aligned version ref for the
two androidx artifacts so Renovate can bump them without dragging CMP,
and add a Renovate group rule that keeps both ecosystems updated
together so they stay aligned in practice. AndroidCompose.kt's
resolutionStrategy continues to force these groups to the CMP version
at resolution time, so runtime behavior is unchanged.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
14e86b90f1
commit
a1af9ef9fd
2 changed files with 20 additions and 5 deletions
9
.github/renovate.json
vendored
9
.github/renovate.json
vendored
|
|
@ -56,6 +56,15 @@
|
|||
"changelogUrl": "https://github.com/meshtastic/protobufs/compare/{{currentDigest}}...{{newDigest}}",
|
||||
"automerge": true
|
||||
},
|
||||
{
|
||||
"description": "Group CMP and the androidx.compose artifacts that track it so Renovate bumps them together (see PR #5180)",
|
||||
"groupName": "compose-multiplatform",
|
||||
"matchPackageNames": [
|
||||
"/^org\\.jetbrains\\.compose/",
|
||||
"androidx.compose.runtime:runtime-tracing",
|
||||
"androidx.compose.ui:ui-test-manifest"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Restrict sensitive infrastructure to manual minor updates",
|
||||
"matchUpdateTypes": [
|
||||
|
|
|
|||
|
|
@ -35,11 +35,17 @@ turbine = "1.2.1"
|
|||
# Compose Multiplatform
|
||||
compose-multiplatform = "1.11.0-beta02"
|
||||
compose-multiplatform-material3 = "1.11.0-alpha06"
|
||||
# `androidx-compose-bom-aligned` tracks androidx.compose.{runtime,ui} test/tracing
|
||||
# artifacts that ship in lockstep with CMP. Kept as a separate version ref so Renovate
|
||||
# can bump androidx releases (which often land first) without dragging the
|
||||
# `org.jetbrains.compose:*` artifacts and Gradle plugin to a version JetBrains
|
||||
# hasn't published yet (see PR #5180). Should normally match `compose-multiplatform`;
|
||||
# AndroidCompose.kt's resolutionStrategy force-aligns these groups to the CMP version
|
||||
# at resolution time regardless of the declared value here.
|
||||
androidx-compose-bom-aligned = "1.11.0-beta02"
|
||||
# `androidx-compose-material` (M2) is independent of CMP and pinned separately
|
||||
# because some third-party libs (maps-compose-widgets, datadog) drag in
|
||||
# unversioned material transitives. Test/tracing artifacts in the
|
||||
# androidx.compose.{runtime,ui} groups MUST track CMP — use compose-multiplatform
|
||||
# as their version ref, not a separate pin.
|
||||
# unversioned material transitives.
|
||||
androidx-compose-material = "1.7.8"
|
||||
jetbrains-adaptive = "1.3.0-alpha06"
|
||||
|
||||
|
|
@ -122,8 +128,8 @@ androidx-work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version
|
|||
androidx-work-testing = { module = "androidx.work:work-testing", version = "2.11.2" }
|
||||
|
||||
# AndroidX Compose (explicit versions — BOM removed; CMP is the sole version authority)
|
||||
androidx-compose-runtime-tracing = { module = "androidx.compose.runtime:runtime-tracing", version.ref = "compose-multiplatform" }
|
||||
androidx-compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "compose-multiplatform" } # Required by Robolectric Compose tests (registers ComponentActivity)
|
||||
androidx-compose-runtime-tracing = { module = "androidx.compose.runtime:runtime-tracing", version.ref = "androidx-compose-bom-aligned" }
|
||||
androidx-compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "androidx-compose-bom-aligned" } # Required by Robolectric Compose tests (registers ComponentActivity)
|
||||
|
||||
# Compose Multiplatform
|
||||
compose-multiplatform-animation = { module = "org.jetbrains.compose.animation:animation", version.ref = "compose-multiplatform" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue