Skip to content

chore(deps): update maven dependencies#8216

Open
LeFrosch wants to merge 1 commit intobazelbuild:masterfrom
LeFrosch:pull/d143bdfeec06809962ebcd5c3ca3fabb802e7ba5
Open

chore(deps): update maven dependencies#8216
LeFrosch wants to merge 1 commit intobazelbuild:masterfrom
LeFrosch:pull/d143bdfeec06809962ebcd5c3ca3fabb802e7ba5

Conversation

@LeFrosch
Copy link
Collaborator

@LeFrosch LeFrosch commented Mar 5, 2026

Nothing interesting here :)

@gemini-code-assist
Copy link

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 focuses on a routine maintenance task: updating various Maven dependencies to their newer versions. The changes ensure that the project utilizes the latest features, bug fixes, and performance improvements from libraries such as Mockito, Objenesis, and the Kotlin standard and serialization libraries. The MODULE.bazel file was updated to specify these new versions, and the maven_install.json file was subsequently regenerated to synchronize the dependency metadata, including checksums and package structures.

Highlights

  • Dependency Version Updates: Updated several key Maven dependencies to their latest stable versions, including Mockito, Objenesis, J2ObjC annotations, JetBrains annotations, and Kotlin standard library and serialization libraries.
  • Maven Install Configuration Regeneration: The maven_install.json file was regenerated to reflect the new dependency versions, updating checksums and adjusting internal package listings for mockito-core.
Changelog
  • MODULE.bazel
    • Updated org.mockito:mockito-core from version 5.8.0 to 5.22.0.
    • Updated org.objenesis:objenesis from version 3.3 to 3.5.
    • Updated com.google.j2objc:j2objc-annotations from version 2.8 to 3.1.
    • Updated org.jetbrains:annotations from version 26.0.2 to 26.1.0.
    • Updated org.jetbrains.kotlin:kotlin-stdlib from version 2.1.21 to 2.2.21.
    • Updated org.jetbrains.kotlinx:kotlinx-serialization-json from version 1.8.0 to 1.10.0.
  • maven_install.json
    • Updated checksums and version entries for com.google.j2objc:j2objc-annotations, org.jetbrains.kotlin:kotlin-stdlib, org.jetbrains.kotlinx:kotlinx-serialization-json, org.jetbrains:annotations, org.mockito:mockito-core, and org.objenesis.
    • Updated versions and checksums for org.jetbrains.kotlinx:kotlinx-serialization-core-jvm and org.jetbrains.kotlinx:kotlinx-serialization-json-jvm.
    • Modified the conflict_resolution entry to address org.jetbrains.kotlin:kotlin-stdlib.
    • Adjusted the listed packages for org.mockito:mockito-core, removing org.mockito.codegen and adding org.mockito.internal.creation.bytebuddy.access and org.mockito.internal.creation.bytebuddy.codegen.
Activity
  • No specific activity has been recorded for this pull request yet.
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.

Copy link

@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 several Maven dependencies. The changes are mostly straightforward version bumps. I've found one area for improvement regarding the version of kotlin-stdlib. It's being updated to 2.2.21, but rules_kotlin is at 2.3.0, which forces a conflict resolution. I've suggested aligning the kotlin-stdlib version to 2.3.0 for consistency and to simplify the build configuration.

# Only required for the maintenance script, otherwise use the stdlib for the sdk
"org.jetbrains.kotlin:kotlin-stdlib:2.1.21",
"org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0",
"org.jetbrains.kotlin:kotlin-stdlib:2.2.21",

Choose a reason for hiding this comment

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

medium

The rules_kotlin dependency is at version 2.3.0 in this file (line 37). To maintain consistency and simplify dependency resolution, it's better to align the kotlin-stdlib version with it. This will also remove the need for the conflict_resolution entry that was added to maven_install.json.

Suggested change
"org.jetbrains.kotlin:kotlin-stdlib:2.2.21",
"org.jetbrains.kotlin:kotlin-stdlib:2.3.0",

@LeFrosch LeFrosch marked this pull request as ready for review March 5, 2026 11:02
@github-actions github-actions bot added the awaiting-review Awaiting review from Bazel team on PRs label Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review Awaiting review from Bazel team on PRs

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

2 participants