Skip to content

EPMRPP-111932 || Upgrade Java 21 → 25#57

Merged
Evelina02 merged 3 commits intodevelopfrom
EPMRPP-111932-java-25
Feb 11, 2026
Merged

EPMRPP-111932 || Upgrade Java 21 → 25#57
Evelina02 merged 3 commits intodevelopfrom
EPMRPP-111932-java-25

Conversation

@Evelina02
Copy link
Contributor

@Evelina02 Evelina02 commented Feb 6, 2026

Summary by CodeRabbit

  • Chores
    • Updated Java compatibility to version 25.
    • Upgraded Gradle from 8.10.2 to 9.3.1.
    • Upgraded Spring Boot from 3.4.2 to 3.5.9.
    • Enhanced build tooling and test infrastructure.

@coderabbitai
Copy link

coderabbitai bot commented Feb 6, 2026

Warning

Rate limit exceeded

@Evelina02 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 12 minutes and 8 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

Walkthrough

Toolchain and framework version upgrades across the build system, including Java 25, Gradle 9.3.1, Spring Boot 3.5.9, and wrapper script refactoring. Gradle shadow plugin added, repository URL syntax modernized, and wrapper invocation method refactored from classpath-based to JAR-based execution.

Changes

Cohort / File(s) Summary
JDK & Java Compatibility
.github/workflows/build.yml, build.gradle
Updated Java version from 21 to 25 for GitHub Actions workflow and Gradle compiler settings (sourceCompatibility, targetCompatibility).
Gradle Version & Wrapper
gradle.properties, gradle/wrapper/gradle-wrapper.properties, gradlew, gradlew.bat
Updated Gradle distribution from 8.10.2 to 9.3.1. Refactored wrapper scripts to invoke gradle directly via -jar instead of classpath-based approach. Added validateDistributionUrl flag and improved error handling. Added SPDX license headers and stderr redirection.
Build Configuration & Dependencies
build.gradle
Added Gradle shadow plugin (9.3.1), modernized repository URL syntax (url = "..."), updated reportportal service-api dependency commit reference, and added org.junit.platform:junit-platform-launcher as testRuntimeOnly dependency. Updated shadowJar zip64 syntax to assignment form.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~35 minutes

Poem

🐰 Our build hops into the future bright,
Java twenty-five, Gradle shines with might,
Wrapper scripts dance in a new-fashioned way,
Shadow plugins flutter—an upgrade day!
Spring Boot blooms, dependencies align,
What once was old now sparkles and will shine! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately reflects the main objective of the changeset: upgrading Java version from 21 to 25 across build configurations and workflows.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch EPMRPP-111932-java-25

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
build.gradle (1)

13-13: ⚠️ Potential issue | 🟡 Minor

$buildDir is deprecated in Gradle 9.x — use layout.buildDirectory instead.

Project.buildDir has been deprecated since Gradle 7.1 and produces warnings in Gradle 9.x. Replace with the layout.buildDirectory provider API to avoid deprecation warnings and ensure forward-compatibility.

♻️ Suggested fix
-    pluginsDir = "$buildDir/plugins"
+    pluginsDir = layout.buildDirectory.dir("plugins").get().asFile

Or, if pluginsDir consumers accept a Provider, use the lazy variant for better task composition:

-    pluginsDir = "$buildDir/plugins"
+    pluginsDir = layout.buildDirectory.dir("plugins")
🧹 Nitpick comments (1)
build.gradle (1)

29-29: Redundant URL override on mavenCentral().

mavenCentral() already configures the repository with https://repo1.maven.org/maven2. Overriding it with the same URL inside the closure is a no-op. Consider simplifying to just mavenCentral().

♻️ Suggested simplification
-    mavenCentral { url = "https://repo1.maven.org/maven2" }
+    mavenCentral()

@Evelina02 Evelina02 merged commit 6732f78 into develop Feb 11, 2026
4 of 5 checks passed
@Evelina02 Evelina02 deleted the EPMRPP-111932-java-25 branch February 11, 2026 13:13
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