Skip to content

Conversation

@cartland
Copy link
Contributor

@cartland cartland commented Oct 16, 2025

Updated by running this command:

./gradlew wrapper

Updated by running this command:

`./gradlew wrapper``
@gemini-code-assist
Copy link

Summary of Changes

Hello @cartland, 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 systematically updates the Gradle wrapper to version 6.7.1 for the BiometricAuthentication, BiometricLoginKotlin, and DirectBoot projects. The update ensures that these projects leverage the latest features and improvements of Gradle 6.7.1, and standardizes the wrapper scripts by incorporating automatically generated changes for better maintainability and compatibility across different operating systems.

Highlights

  • Gradle Wrapper Version Update: The Gradle wrapper has been upgraded to version 6.7.1 across all affected projects: BiometricAuthentication, BiometricLoginKotlin, and DirectBoot.
  • Wrapper Script Modernization: Both the Unix (gradlew) and Windows (gradlew.bat) wrapper scripts have been updated with changes generated by the new Gradle version, including the addition of Apache 2.0 license headers, refined APP_HOME resolution, and improved argument parsing.
  • Distribution Type Change: The gradle-wrapper.properties files now specify the gradle-6.7.1-bin.zip distribution instead of gradle-6.7.1-all.zip, indicating a switch to the binary-only distribution for a smaller download size.
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 the Gradle wrapper files across multiple projects. While the title suggests an update to version 6.7.1, the version was already set. The main changes are updating the gradlew and gradlew.bat scripts to a more modern and portable version, and changing the Gradle distribution type from -all to -bin. The script updates are solid improvements. However, I've added comments recommending to revert the switch to the -bin distribution. While it offers performance benefits by reducing download size, it removes access to Gradle's source code, which can be valuable for developers, especially in a repository with sample projects. Please review these comments.

#Mon Oct 07 10:54:41 PDT 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip

Choose a reason for hiding this comment

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

medium

The Gradle distribution type was changed from all to bin. The bin distribution is smaller, which is good for CI, but it lacks Gradle sources and documentation. For local development, the all distribution is often preferred as it allows IDEs to provide better support, like navigating to Gradle source code. Given that this repository contains sample projects, retaining the all distribution would be better for developers exploring the code. It is recommended to revert this change. To generate the wrapper with the all distribution in the future, you can run ./gradlew wrapper --distribution-type all.

distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip

#Thu Feb 27 09:22:57 PST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip

Choose a reason for hiding this comment

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

medium

The Gradle distribution type was changed from all to bin. The bin distribution is smaller, which is good for CI, but it lacks Gradle sources and documentation. For local development, the all distribution is often preferred as it allows IDEs to provide better support, like navigating to Gradle source code. Given that this repository contains sample projects, retaining the all distribution would be better for developers exploring the code. It is recommended to revert this change. To generate the wrapper with the all distribution in the future, you can run ./gradlew wrapper --distribution-type all.

distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip

#Thu Jul 18 14:56:29 PDT 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip

Choose a reason for hiding this comment

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

medium

The Gradle distribution type was changed from all to bin. The bin distribution is smaller, which is good for CI, but it lacks Gradle sources and documentation. For local development, the all distribution is often preferred as it allows IDEs to provide better support, like navigating to Gradle source code. Given that this repository contains sample projects, retaining the all distribution would be better for developers exploring the code. It is recommended to revert this change. To generate the wrapper with the all distribution in the future, you can run ./gradlew wrapper --distribution-type all.

distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip

@cartland cartland merged commit 61cc914 into main Oct 16, 2025
4 checks passed
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