Skip to content

Compose BOM 2026.02.01 Update#1665

Closed
dturner wants to merge 1 commit intomainfrom
compose-update-2026-03-10
Closed

Compose BOM 2026.02.01 Update#1665
dturner wants to merge 1 commit intomainfrom
compose-update-2026-03-10

Conversation

@dturner
Copy link
Collaborator

@dturner dturner commented Mar 10, 2026

Updates Compose BOM to version 2026.02.01 and other dependencies.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request primarily focuses on a comprehensive update of build dependencies and tools across multiple Android projects within the repository. The core objective is to bring the Compose BOM, Android Gradle Plugin, and Gradle Wrapper to their latest stable versions, ensuring improved performance, stability, and access to new features. Additionally, it includes minor updates to other development tools and a specific code change to enhance type safety in the Jetcaster project.

Highlights

  • Compose BOM Update: The AndroidX Compose Bill of Materials (BOM) has been updated to version 2026.02.01 across all projects (JetLagged, JetNews, Jetchat, Jetsnack, Reply).
  • Android Gradle Plugin Update: The Android Gradle Plugin (AGP) has been updated from 9.0.1 to 9.1.0 in all projects.
  • Gradle Wrapper Update: The Gradle Wrapper has been updated to version 9.3.1 for all projects. Notably, Jetcaster was updated from Gradle 8.14.2 directly to 9.3.1.
  • Spotless Update: The Spotless plugin, used for code formatting, has been updated from version 8.2.1 to 8.3.0 across all projects.
  • Jetcaster BaseDao Constraint: A type constraint T : Any was added to the BaseDao interface in Jetcaster to ensure that generic types are non-nullable.
  • Gradle JVM Arguments: A new gradle.properties file was added at the root, setting org.gradle.jvmargs=-Xmx4g to increase the JVM memory for Gradle tasks.
  • ANDROID_HOME Export: The scripts/gradlew_recursive.sh script now explicitly exports the ANDROID_HOME environment variable.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • JetLagged/gradle/libs.versions.toml
    • Updated androidGradlePlugin from 9.0.1 to 9.1.0.
    • Updated androidx-compose-bom from 2026.02.00 to 2026.02.01.
    • Updated spotless from 8.2.1 to 8.3.0.
  • JetLagged/gradle/wrapper/gradle-wrapper.properties
    • Updated Gradle distribution URL from 9.1.0 to 9.3.1.
  • JetNews/gradle/libs.versions.toml
    • Updated androidGradlePlugin from 9.0.1 to 9.1.0.
    • Updated androidx-compose-bom from 2026.02.00 to 2026.02.01.
    • Updated spotless from 8.2.1 to 8.3.0.
  • JetNews/gradle/wrapper/gradle-wrapper.properties
    • Updated Gradle distribution URL from 9.1.0 to 9.3.1.
  • Jetcaster/core/data/src/main/java/com/example/jetcaster/core/data/database/dao/BaseDao.kt
    • Added 'Any' type constraint to the generic 'BaseDao' interface.
  • Jetcaster/gradle/wrapper/gradle-wrapper.properties
    • Updated Gradle distribution URL from 8.14.2 to 9.3.1.
  • Jetchat/gradle/libs.versions.toml
    • Updated androidGradlePlugin from 9.0.1 to 9.1.0.
    • Updated androidx-compose-bom from 2026.02.00 to 2026.02.01.
    • Updated spotless from 8.2.1 to 8.3.0.
  • Jetchat/gradle/wrapper/gradle-wrapper.properties
    • Updated Gradle distribution URL from 9.1.0 to 9.3.1.
  • Jetsnack/gradle/libs.versions.toml
    • Updated androidGradlePlugin from 9.0.1 to 9.1.0.
    • Updated androidx-compose-bom from 2026.02.00 to 2026.02.01.
    • Updated spotless from 8.2.1 to 8.3.0.
  • Jetsnack/gradle/wrapper/gradle-wrapper.properties
    • Updated Gradle distribution URL from 9.1.0 to 9.3.1.
  • Reply/gradle/libs.versions.toml
    • Updated androidGradlePlugin from 9.0.1 to 9.1.0.
    • Updated androidx-compose-bom from 2026.02.00 to 2026.02.01.
    • Updated spotless from 8.2.1 to 8.3.0.
  • Reply/gradle/wrapper/gradle-wrapper.properties
    • Updated Gradle distribution URL from 9.1.0 to 9.3.1.
  • gradle.properties
    • Added 'org.gradle.jvmargs=-Xmx4g' to increase JVM memory for Gradle.
  • scripts/gradlew_recursive.sh
    • Added an export for the ANDROID_HOME environment variable.
Activity
  • No specific review comments or activity were provided in the context for this pull request.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@dturner dturner force-pushed the compose-update-2026-03-10 branch from 33b57b9 to 3632cca Compare March 10, 2026 21:04
Copy link
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 various Gradle dependencies and plugin versions across multiple projects (JetLagged, JetNews, Jetchat, Jetsnack, Reply), including androidGradlePlugin, androidx-compose-bom, and spotless. It also upgrades the Gradle wrapper distribution URL to gradle-9.3.1-bin.zip in several projects and gradle-8.14.2-bin.zip to gradle-9.3.1-bin.zip in Jetcaster. Additionally, the BaseDao interface in Jetcaster was updated to include an Any upper bound for its generic type, and a gradle.properties file was added with org.gradle.jvmargs. A new line export ANDROID_HOME was added to scripts/gradlew_recursive.sh. The review comments highlight critical issues: the distributionSha256Sum in several gradle-wrapper.properties files must be updated to match the new Gradle 9.3.1 version to prevent build failures, and the Jetcaster project's gradle-wrapper.properties is missing this crucial security checksum entirely. Furthermore, the hardcoded ANDROID_HOME path in scripts/gradlew_recursive.sh is a PII leak, makes the script non-portable, and will cause build failures for other users and CI, requiring it to be made dynamic.

I am having trouble creating individual review comments. Click here to see my feedback.

JetLagged/gradle/wrapper/gradle-wrapper.properties (18)

critical

The distributionSha256Sum on line 17 needs to be updated to match the new Gradle version (9.3.1). The current checksum is for Gradle 9.1.0 and will cause the build to fail. The correct SHA256 for gradle-9.3.1-bin.zip is 213233b7ab49ed59b3921b473f7c327299a555925c431d52a23460741496b029.

JetNews/gradle/wrapper/gradle-wrapper.properties (18)

critical

The distributionSha256Sum on line 17 is incorrect for the updated Gradle version. It should be updated to the checksum for gradle-9.3.1-bin.zip to prevent build failures. The correct SHA256 is 213233b7ab49ed59b3921b473f7c327299a555925c431d52a23460741496b029.

Jetchat/gradle/wrapper/gradle-wrapper.properties (18)

critical

The distributionSha256Sum on line 17 has not been updated along with the distributionUrl. Please update it to the checksum for Gradle 9.3.1 to ensure the build works correctly. The correct SHA256 is 213233b7ab49ed59b3921b473f7c327299a555925c431d52a23460741496b029.

Jetsnack/gradle/wrapper/gradle-wrapper.properties (18)

critical

The distributionSha256Sum on line 17 is outdated. It needs to be updated to match the new distributionUrl for Gradle 9.3.1. The correct SHA256 is 213233b7ab49ed59b3921b473f7c327299a555925c431d52a23460741496b029.

Reply/gradle/wrapper/gradle-wrapper.properties (18)

critical

The distributionSha256Sum on line 17 is for a previous Gradle version and needs to be updated to correspond with Gradle 9.3.1. The correct SHA256 is 213233b7ab49ed59b3921b473f7c327299a555925c431d52a23460741496b029.

Jetcaster/gradle/wrapper/gradle-wrapper.properties (17)

high

This file is missing the distributionSha256Sum property. For security, it's crucial to include the checksum to verify the integrity of the downloaded Gradle distribution. Please add distributionSha256Sum=213233b7ab49ed59b3921b473f7c327299a555925c431d52a23460741496b029 to this file.

scripts/gradlew_recursive.sh (29)

security-medium medium

This line hardcodes ANDROID_HOME to a user-specific path (donturner), which leaks Personally Identifiable Information (PII) and makes the script non-portable. This will also cause the script to fail for other developers and on CI systems. ANDROID_HOME should be set in the environment or detected, not hardcoded. Please update this line to address the PII leakage and ensure the script's portability and functionality across different environments.

export ANDROID_HOME="${ANDROID_HOME:-/path/to/android_sdk}"

@dturner dturner force-pushed the compose-update-2026-03-10 branch 2 times, most recently from 7b20d79 to 2631a57 Compare March 10, 2026 21:29
@dturner dturner force-pushed the compose-update-2026-03-10 branch from 2631a57 to 8ec52c7 Compare March 10, 2026 21:33
@dturner dturner closed this Mar 10, 2026
@dturner dturner deleted the compose-update-2026-03-10 branch March 10, 2026 22:18
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.

1 participant