mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
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>
96 lines
2.5 KiB
JSON
96 lines
2.5 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
":dependencyDashboard",
|
|
":semanticCommitTypeAll(chore)",
|
|
":ignoreModulesAndTests",
|
|
"group:recommended",
|
|
"replacements:all",
|
|
"workarounds:all"
|
|
],
|
|
"commitMessageTopic": "{{depName}}",
|
|
"labels": [
|
|
"dependencies"
|
|
],
|
|
"git-submodules": {
|
|
"enabled": true
|
|
},
|
|
"bundler": {
|
|
"enabled": true
|
|
},
|
|
"packageRules": [
|
|
{
|
|
"description": "Automerge non-major updates for stable versions",
|
|
"matchUpdateTypes": [
|
|
"minor",
|
|
"patch",
|
|
"pin",
|
|
"digest"
|
|
],
|
|
"matchCurrentVersion": "!/^0/",
|
|
"automerge": true
|
|
},
|
|
{
|
|
"description": "Automerge patch updates for unstable (0.x) versions",
|
|
"matchUpdateTypes": [
|
|
"patch",
|
|
"pin",
|
|
"digest"
|
|
],
|
|
"matchCurrentVersion": "/^0/",
|
|
"automerge": true
|
|
},
|
|
{
|
|
"description": "Automerge pins and digests regardless of version",
|
|
"matchUpdateTypes": [
|
|
"pin",
|
|
"digest"
|
|
],
|
|
"automerge": true
|
|
},
|
|
{
|
|
"description": "Meshtastic Protobufs changelog link",
|
|
"matchPackageNames": [
|
|
"https://github.com/meshtastic/protobufs.git"
|
|
],
|
|
"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": [
|
|
"minor"
|
|
],
|
|
"matchPackageNames": [
|
|
"/^org\\.jetbrains\\.kotlin/",
|
|
"/^org\\.jetbrains\\.kotlinx/",
|
|
"/^org\\.jetbrains\\.compose/",
|
|
"/^com\\.google\\.dagger/",
|
|
"/^androidx\\.hilt/",
|
|
"/^com\\.google\\.protobuf/",
|
|
"/^androidx\\.lifecycle/",
|
|
"/^androidx\\.navigation/",
|
|
"/^androidx\\.datastore/",
|
|
"/^androidx\\.compose\\.material3\\.adaptive/",
|
|
"/^androidx\\.compose\\.material3:material3-adaptive-navigation-suite$/"
|
|
],
|
|
"automerge": false
|
|
},
|
|
{
|
|
"description": "Disable automerge for major updates (safety net)",
|
|
"matchUpdateTypes": [
|
|
"major"
|
|
],
|
|
"automerge": false
|
|
}
|
|
]
|
|
}
|