Skip to content

chore(deps): update dependency gradle to v8.14.2#9

Merged
bharathwaaj merged 1 commit intomainfrom
renovate/gradle-8.x
Jun 17, 2025
Merged

chore(deps): update dependency gradle to v8.14.2#9
bharathwaaj merged 1 commit intomainfrom
renovate/gradle-8.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Jun 9, 2025

This PR contains the following updates:

Package Update Change
gradle (source) minor 8.11.1 -> 8.14.2

Release Notes

gradle/gradle (gradle)

v8.14.2

Compare Source

v8.14.1

Compare Source

v8.14

Compare Source

v8.13

Compare Source

v8.12.1: 8.12.1

Compare Source

The Gradle team is excited to announce Gradle 8.12.1.

Read the Release Notes

We would like to thank the following community members for their contributions to this release of Gradle:
Abhiraj Adhikary,
Ayush Saxena,
Björn Kautler,
davidburstrom,
Dominic Fellbaum,
Emmanuel Ferdman,
Finn Petersen,
Johnny Lim,
Mahdi Hosseinzadeh,
Martin Bonnin,
Paint_Ninja,
Petter Måhlén,
Philip Wedemann,
stegeto22,
Tanish,
TheGoesen,
Tim Nielens,
Trout Zhang,
Victor Merkulov

Upgrade instructions

Switch your build to use Gradle 8.12.1 by updating your wrapper:

./gradlew wrapper --gradle-version=8.12.1

See the Gradle 8.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.

For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.

Reporting problems

If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.

We hope you will build happiness with Gradle, and we look forward to your feedback via Twitter or on GitHub.

v8.12: 8.12

Compare Source

The Gradle team is excited to announce Gradle 8.12.

Read the Release Notes

We would like to thank the following community members for their contributions to this release of Gradle:
Abhiraj Adhikary,
Ayush Saxena,
Björn Kautler,
davidburstrom,
Dominic Fellbaum,
Emmanuel Ferdman,
Finn Petersen,
Johnny Lim,
Mahdi Hosseinzadeh,
Martin Bonnin,
Paint_Ninja,
Petter Måhlén,
Philip Wedemann,
stegeto22,
Tanish,
TheGoesen,
Tim Nielens,
Trout Zhang,
Victor Merkulov

Upgrade instructions

Switch your build to use Gradle 8.12 by updating your wrapper:

./gradlew wrapper --gradle-version=8.12

See the Gradle 8.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.

For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.

Reporting problems

If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.

We hope you will build happiness with Gradle, and we look forward to your feedback via Twitter or on GitHub.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Jun 9, 2025

Walkthrough

The Gradle wrapper scripts and configuration have been updated. The Gradle version in the properties file was increased, with new timeout and validation options added. The shell and batch scripts were revised for improved POSIX compliance, quoting, error handling, and Java invocation, with updated copyright and license headers.

Changes

File(s) Change Summary
gradle/wrapper/gradle-wrapper.properties Updated Gradle version to 8.14.2; added networkTimeout and validateDistributionUrl properties.
gradlew Refactored for POSIX compliance, improved quoting, symlink resolution, error handling, Java detection, argument parsing, and documentation.
gradlew.bat Updated copyright, improved error redirection, exit code handling, and switched Java invocation to use -jar.

Poem

In the warren, scripts now shine bright,
With wrappers swift and error-free at night.
Gradle hops to a newer tune,
Timeout set, validation soon.
Batch and shell, both neat and spry—
A rabbit’s code, reaching for the sky!
🐇✨


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@codetortoiseai
Copy link
Copy Markdown

codetortoiseai bot commented Jun 9, 2025

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Jun 9, 2025

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (4)
gradlew.bat (1)

73-78: Remove the superfluous ‑classpath argument

java -jar ignores any preceding -classpath/-cp options.
Passing an empty class-path (-classpath "") is therefore unnecessary and may trigger a benign “option ignored” warning on some JVMs.

-@rem Execute Gradle
-"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*

Dropping the flag keeps the command line cleaner.

gradlew (3)

117-118: Double-escaped empty CLASSPATH is hard to read

CLASSPATH="\\\"\\\"" eventually becomes "" so that the JVM receives an empty string.
A simpler, more self-documenting approach is:

CLASSPATH=

and later pass -classpath "" explicitly.
Functionally equivalent, but much easier to maintain.


145-162: ulimit section may fail on shells lacking -n

ulimit -H -n / ulimit -n are not POSIX‐mandated and are missing on some busybox or dash builds.
You already guard for Cygwin/Darwin/NonStop, but consider feature-testing the command instead:

if command -v ulimit >/dev/null 2>&1; then
  # existing logic …
fi

This avoids emitting misleading warnings on minimal shells.


220-224: Graceful degradation when xargs is missing

The script aborts if xargs is absent. On some Alpine or embedded images, only busybox is available and may lack xargs.
If portability is a concern, you could fall back to the previous splitting logic instead of outright failure.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4c921a9 and 8c00a69.

⛔ Files ignored due to path filters (1)
  • gradle/wrapper/gradle-wrapper.jar is excluded by !**/*.jar
📒 Files selected for processing (3)
  • gradle/wrapper/gradle-wrapper.properties (1 hunks)
  • gradlew (3 hunks)
  • gradlew.bat (1 hunks)
🔇 Additional comments (3)
gradle/wrapper/gradle-wrapper.properties (1)

3-5: Validate distribution integrity and timeout value

The new validateDistributionUrl=true flag only checks that the URL points to services.gradle.org, but it does not protect against tampering.
Consider adding the SHA-256 checksum that Gradle 8+ supports (distributionSha256Sum=<hash>), so the wrapper verifies the downloaded archive’s integrity as well.

In addition, networkTimeout=10000 (10 s) can be tight for CI runners behind slow or proxied connections. If your pipeline occasionally downloads the wrapper from scratch, you might want to bump this to 30000 ms or rely on the default (30 s).

gradlew.bat (1)

86-89: Good catch capturing non-zero ERRORLEVEL

Storing ERRORLEVEL in EXIT_CODE and forcing it to a minimum of 1 prevents silent success exits―nicely done.

gradlew (1)

205-206: 64 MiB heap might be too restrictive for modern Gradle

Gradle 8.14 performs more byte-code scanning and Kotlin DSL evaluation. Several Android projects now require at least 256 MiB for configuration.
Unless you have compelling memory constraints, raising the defaults improves reliability:

-DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
+DEFAULT_JVM_OPTS='"-Xmx512m" "-Xms256m"'

@bharathwaaj bharathwaaj merged commit 09f181e into main Jun 17, 2025
1 check passed
@bharathwaaj bharathwaaj deleted the renovate/gradle-8.x branch June 17, 2025 11:20
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