Skip to content

fix(build): add explicit compose-multiplatform-animation dependency#5095

Merged
jamesarich merged 1 commit intomainfrom
fix/add-compose-animation-dependency
Apr 12, 2026
Merged

fix(build): add explicit compose-multiplatform-animation dependency#5095
jamesarich merged 1 commit intomainfrom
fix/add-compose-animation-dependency

Conversation

@jamesarich
Copy link
Copy Markdown
Collaborator

Summary

  • Add org.jetbrains.compose.animation:animation as an explicit dependency — 29 source files import androidx.compose.animation.* but the artifact was never declared, relying on fragile transitive resolution through foundation/material3 that breaks across CMP version bumps.
  • Add workspace bootstrap directions to AGENTS.md and .skills/project-overview/SKILL.md so agents auto-detect ANDROID_HOME and init the proto submodule in new worktrees.

Changes

Animation dependency (fixes broken animations)

File Change
gradle/libs.versions.toml Add compose-multiplatform-animation catalog entry at 1.11.0-beta02
KmpFeatureConventionPlugin.kt Add animation to commonMain deps (covers all 6 feature modules)
core/ui/build.gradle.kts Add explicit animation dep (8 files, 25 animation imports)
app/build.gradle.kts Add explicit animation dep (2 files with animation imports in flavor source sets)

Agent workspace bootstrap

File Change
AGENTS.md Add "Workspace Bootstrap" directive to <process> — SDK detection + proto submodule init
.skills/project-overview/SKILL.md Add Section 5 with full bootstrap script, update troubleshooting

Version alignment verified

All CMP artifacts confirmed aligned with the 1.11.0-beta02 release manifest:

  • Runtime/UI/Foundation/Animation: 1.11.0-beta02
  • Material3: 1.11.0-alpha06
  • Material3 Adaptive: 1.3.0-alpha06
  • Lifecycle: 2.11.0-alpha03
  • Navigation3: 1.1.0-rc01
  • NavigationEvent: 1.1.0-alpha01

Animation APIs (androidx.compose.animation) are used across 29 source files
but were never declared as an explicit dependency — they resolved transitively
through foundation/material3 which is fragile across CMP version bumps.

- Add compose-multiplatform-animation to version catalog at 1.11.0-beta02
- Wire into KmpFeatureConventionPlugin commonMain (covers all feature modules)
- Add explicitly in core:ui and app (not covered by the convention plugin)
- Add workspace bootstrap directions to AGENTS.md and project-overview skill
  so agents auto-detect ANDROID_HOME and init the proto submodule
@jamesarich jamesarich enabled auto-merge April 12, 2026 22:12
@github-actions github-actions bot added the bugfix PR tag label Apr 12, 2026
@jamesarich jamesarich added this pull request to the merge queue Apr 12, 2026
Merged via the queue into main with commit e424d4d Apr 12, 2026
12 checks passed
@jamesarich jamesarich deleted the fix/add-compose-animation-dependency branch April 12, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant