Meshtastic-Android/gradle
James Rich 2b8dbd6905 fix(deps): pin androidx-compose runtime-tracing/ui-test to CMP version
The libs.versions.toml entry 'androidx-compose = 1.11.0-rc01' was used by
two satellite AndroidX-coords artifacts:

  androidx-compose-runtime-tracing = androidx.compose.runtime:runtime-tracing
  androidx-compose-ui-test-manifest = androidx.compose.ui:ui-test-manifest

runtime-tracing is wired into every Android target as 'runtimeOnly' from
AndroidCompose.kt. At rc01 it transitively requests
androidx.compose.runtime:runtime:1.11.0-rc01, which Gradle's 'highest wins'
then upgrades the whole runtime artifact to — while AndroidCompose.kt's
resolutionStrategy still pins it to compose-multiplatform's version
(1.11.0-beta02). Net result in the shipped APK on main:

  runtime-tracing bytecode: compiled against 1.11.0-rc01 APIs
  runtime classes at runtime: 1.11.0-beta02 (force-pinned)
  ui / foundation / animation: 1.11.0-beta02

That ABI skew between runtime-tracing and the runtime it traces is a
plausible contributor to the recomposition / animation regressions we've
been chasing on internal builds.

Fix: both satellite artifacts now use version.ref = 'compose-multiplatform'
so they always match the AndroidX runtime that CMP itself ships. Drops the
unused 'androidx-compose' version ref.

Verified via :app:dependencies that runtime/ui/foundation/animation/runtime-tracing
all resolve to 1.11.0-beta02 cleanly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-17 15:45:05 -05:00
..
wrapper chore(deps): update gradle to v9.4.1 (#4850) 2026-03-19 14:15:38 +00:00
develocity.settings.gradle feat(ci): shard test suite and enable JUnit 5 parallel execution (#4977) 2026-04-03 13:08:49 +00:00
gradle-daemon-jvm.properties ci: Upgrade to JDK 21 and centralize CI configuration with new workflows (#4948) 2026-03-27 17:06:19 +00:00
libs.versions.toml fix(deps): pin androidx-compose runtime-tracing/ui-test to CMP version 2026-04-17 15:45:05 -05:00
publishing.gradle.kts build(ksp): ksp and publishing tuning (#4462) 2026-02-05 22:36:38 +00:00