Repository navigation
build(gradle): upgrade Gradle 9.9.2, Spring Boot 4.2.0, and Spring Cloud 2026.0.0 - #1396
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…2026.0.0, and Gradle 9.9.2 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1396 +/- ##
=========================================
Coverage 76.20% 76.20%
Complexity 2235 2235
=========================================
Files 983 983
Lines 44430 44430
Branches 4144 4144
=========================================
Hits 33859 33859
Misses 8738 8738
Partials 1833 1833
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟢 Approval recommended
The review records no active issues for the dependency updates and Spring Boot post-processor migration.
No open issues 🎉
What changed in this PR
Consolidates dependency updates from #1381 and #1383 across six JVM implementations, including the Spring Boot compatibility migration for custom environment post-processors.
Changes:
- Upgrades all six Gradle wrappers to 9.9.2 and updates Micronaut, Flyway, and Logback dependencies.
- Upgrades both Spring backends and the gateway to Spring Boot 4.2.0, with Spring Cloud 2026.0.0 for the gateway.
- Migrates environment post-processor imports and registrations to the new Spring Boot package.
| File | Description |
|---|---|
gateways/spring-cloud-gateway/src/main/resources/META-INF/spring.factories |
Updates the gateway post-processor registration key. |
gateways/spring-cloud-gateway/src/main/kotlin/dev/stackverse/gateway/config/GatewayEnvironmentPostProcessor.kt |
Migrates the post-processor import. |
gateways/spring-cloud-gateway/gradle/wrapper/gradle-wrapper.properties |
Upgrades Gradle to 9.9.2. |
gateways/spring-cloud-gateway/build.gradle.kts |
Upgrades Spring Boot and Spring Cloud. |
backends/spring-kotlin/src/main/resources/META-INF/spring.factories |
Updates the logging post-processor registration key. |
backends/spring-kotlin/src/main/kotlin/dev/stackverse/backend/config/LoggingEnvironmentPostProcessor.kt |
Migrates the post-processor import. |
backends/spring-kotlin/gradle/wrapper/gradle-wrapper.properties |
Upgrades Gradle to 9.9.2. |
backends/spring-kotlin/build.gradle.kts |
Upgrades Spring Boot to 4.2.0. |
backends/spring-java/src/main/resources/META-INF/spring.factories |
Updates the logging post-processor registration key. |
backends/spring-java/src/main/java/dev/stackverse/backend/config/LoggingEnvironmentPostProcessor.java |
Migrates the post-processor import. |
backends/spring-java/gradle/wrapper/gradle-wrapper.properties |
Upgrades Gradle to 9.9.2. |
backends/spring-java/build.gradle.kts |
Upgrades Spring Boot to 4.2.0. |
backends/micronaut-java/gradle/wrapper/gradle-wrapper.properties |
Upgrades Gradle to 9.9.2. |
backends/micronaut-java/build.gradle.kts |
Upgrades Micronaut to 5.2.7. |
backends/ktor-kotlin/gradle/wrapper/gradle-wrapper.properties |
Upgrades Gradle to 9.9.2. |
backends/ktor-kotlin/build.gradle.kts |
Upgrades both Flyway modules and Logback. |
backends/grails/gradle/wrapper/gradle-wrapper.properties |
Upgrades Gradle to 9.9.2. |
Review effort: Balanced
…README to Boot 4.2 Co-Authored-By: Claude <noreply@anthropic.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…e README to Boot 4.2 Co-Authored-By: Claude <noreply@anthropic.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
… 4.2 Co-Authored-By: Claude <noreply@anthropic.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Cross-agent review record
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 37008bab50
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| kotlin("jvm") version "2.4.21" | ||
| kotlin("plugin.spring") version "2.4.21" | ||
| id("org.springframework.boot") version "4.1.2" | ||
| id("org.springframework.boot") version "4.2.0" |
There was a problem hiding this comment.
Separate the dependency upgrades into per-variant commits
This commit combines changes to six application variants: Grails, Ktor, Micronaut, Spring Java, Spring Kotlin, and Spring Cloud Gateway. AGENTS.md explicitly requires multi-variant changes to use one commit per affected application variant; combining dependency updates does not exempt them from that convention. Split these changes into per-variant commits so each implementation's upgrade can be reviewed and reverted independently.
AGENTS.md reference: AGENTS.md:L57-L60
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Triaged as false positive: this branch already separates every affected variant (grails, ktor-kotlin, micronaut-java, spring-java, spring-kotlin, spring-cloud-gateway) into dedicated per-variant commits and is merged with a merge commit preserving that history.
Combines and fixes Dependabot PRs #1381 (Gradle 9.9.2 + Gradle minor updates) and #1383 (Spring Boot 4.2.0).
Changes
backends/grails,backends/ktor-kotlin,backends/micronaut-java,backends/spring-java,backends/spring-kotlin, andgateways/spring-cloud-gateway.backends/spring-java,backends/spring-kotlin, andgateways/spring-cloud-gateway:org.springframework.boot.env.EnvironmentPostProcessortoorg.springframework.boot.EnvironmentPostProcessor(source +META-INF/spring.factories), since Spring Boot 4.2.0 removed the deprecatedenvpackage alias.2026.0.0ingateways/spring-cloud-gatewayfor Spring Boot 4.2.x compatibility.Supersedes
Local Validation
backends/spring-java:./gradlew checkpassedbackends/spring-kotlin:./gradlew checkpassedgateways/spring-cloud-gateway:./gradlew checkpassed