Skip to content

Update dependencies#887

Open
MagicalMeghan wants to merge 3 commits intomainfrom
mm/snippet-update-2026-04-27
Open

Update dependencies#887
MagicalMeghan wants to merge 3 commits intomainfrom
mm/snippet-update-2026-04-27

Conversation

@MagicalMeghan
Copy link
Copy Markdown
Contributor

Update dependencies for Compose 1.11

@MagicalMeghan MagicalMeghan requested review from a team, kkuan2011 and yrezgui as code owners April 27, 2026 20:50
@MagicalMeghan MagicalMeghan requested a review from dturner April 27, 2026 20:50
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates numerous dependency versions in the version catalog, migrates Compose test imports to the v2 package, and increments the Gradle wrapper version. Review feedback identifies several likely typos in version numbers for the Compose BOM, Kotlin, and Mockito-Kotlin. Additionally, there is a concern regarding the activation of a specific AndroidX snapshot version in the Gradle properties, which may impact build stability and reproducibility.

Comment thread gradle/libs.versions.toml
androidx-cameraX = "1.6.0"
androidx-car = "1.7.0"
androidx-compose-bom = "2026.03.00"
androidx-compose-bom = "2026.04.01"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The Compose BOM version 2026.04.01 appears to be a typo. BOM versions typically follow the YYYY.MM.VV format, and 2026 is in the future. Please verify if 2024.04.01 or a similar current version was intended.

Suggested change
androidx-compose-bom = "2026.04.01"
androidx-compose-bom = "2024.10.01"

Comment thread gradle/libs.versions.toml
horologist = "0.8.3-alpha"
junit = "4.13.2"
kotlin = "2.3.10"
kotlin = "2.3.21"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Kotlin version 2.3.21 is not a valid release. The current stable versions are in the 2.0.x or 2.1.x range. This is likely a typo for 2.0.21 or 2.1.0.

Suggested change
kotlin = "2.3.21"
kotlin = "2.0.21"

Comment thread gradle/libs.versions.toml
mockitoKotlin = "5.3.1"
media3 = "1.10.0"
media3Ui = "1.10.0"
mockitoKotlin = "6.3.0"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The version 6.3.0 for mockitoKotlin appears to be invalid. The current stable major version is 5.x. Using a non-existent version will cause dependency resolution to fail.

Suggested change
mockitoKotlin = "6.3.0"
mockitoKotlin = "5.4.0"

Comment thread gradle.properties
# Use an AndroidX snapshot build.
# https://androidx.dev/snapshots/builds
# snapshotVersion=14793336 No newline at end of file
snapshotVersion=14793336
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Uncommenting snapshotVersion forces the build to use a specific AndroidX snapshot. This is typically used for temporary testing of unreleased features and can lead to non-reproducible builds. If this PR is intended for a stable baseline, this should remain commented out.

# snapshotVersion=14793336

@MagicalMeghan MagicalMeghan requested a review from a team as a code owner April 28, 2026 20:55
Copy link
Copy Markdown
Contributor

@kul3r4 kul3r4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for updating Wear dependenciws

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants