Java 21 migration — Gradle build config#19
Merged
devin-ai-integration[bot] merged 1 commit intoMay 4, 2026
Merged
Conversation
- Bump spring-boot-gradle-plugin from 2.0.2.RELEASE to 3.2.5 - Set source/target compatibility to 21 - Replace deprecated compile/testCompile with implementation/testImplementation - Rename bootJar baseName/version to archiveBaseName/archiveVersion - Bump Gradle wrapper from 4.6 to 8.7 (required for Java 21) Co-Authored-By: Phil Bedford <phil.bedford@cognition.ai>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
396bb0c
into
devin/1777913688-java21-migration-base
1 check passed
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the Gradle build configuration to support the Java 8 → Java 21 / Spring Boot 2.0.2 → 3.2.5 migration. This PR is scoped to Gradle build config only —
pom.xml, the Maven wrapper, and.javasources are owned by sibling PRs.Changes:
build.gradleorg.springframework.boot:spring-boot-gradle-pluginfrom2.0.2.RELEASEto3.2.5.sourceCompatibilityandtargetCompatibilityfrom1.8to21.compile(...)withimplementation(...)andtestCompile(...)withtestImplementation(...).bootJar { baseName / version }tobootJar { archiveBaseName / archiveVersion }(required by modern Gradle).gradle/wrapper/gradle-wrapper.propertiesdistributionUrlfromgradle-4.6-bin.ziptogradle-8.7-bin.zip(Gradle 8.5+ is required for Java 21).Review & Testing Checklist for Human
./gradlew build../gradlew bootJarstill produces an artifact namedgs-spring-boot-0.1.0.jarafter thearchiveBaseName/archiveVersionrename.compile/testCompileor the old plugin version.Notes
devin/1777913688-java21-migration-base.Link to Devin session: https://app.devin.ai/sessions/af6995a13ace421a845a182fbdc7759e
Requested by: @dr-phil
Devin Review