This is an automated email from the ASF dual-hosted git repository. jamesfredley pushed a commit to branch deps/micronaut-5.0.0 in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 2e5d8dbd9190f96bbd19f1292e644a468112f73b Author: James Fredley <[email protected]> AuthorDate: Fri May 22 13:35:27 2026 -0400 feat(deps): Bump Micronaut platform 5.0.0-M2 to 5.0.0 (GA) Micronaut Platform 5.0.0 shipped on Maven Central (io.micronaut.platform:micronaut-platform:5.0.0). Replace the 5.0.0-M2 milestone we were tracking with the released GA. Accompanying alignments required to keep validateDependencyVersions green: - dependencies.gradle: bump the grails-micronaut-bom Groovy override from 5.0.5 to 5.0.6 so the strict pin matches Micronaut 5 GA's managed groovy.version. spock stays at 2.4-groovy-5.0 (unchanged in GA). - grails-bom/micronaut/build.gradle: refresh the comment on the tools.jackson exclude. Micronaut 5.0.0 ships jackson-bom 3.1.3 while Spring Boot 4.0.6 ships 3.1.2 - the two platforms still disagree on the patch, but the direction is now reversed (Micronaut ahead of Spring Boot rather than behind). The exclude itself stays in place so spring-boot-dependencies remains the single source of truth for Jackson 3. This is the first commit of a draft PR; more fallout is expected as downstream modules pick up the new platform. Assisted-by: claude-code:claude-opus-4-7 --- dependencies.gradle | 2 +- gradle.properties | 2 +- grails-bom/micronaut/build.gradle | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/dependencies.gradle b/dependencies.gradle index d2a51fb8e0..0b25eb7df2 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -219,7 +219,7 @@ ext { // enforcedPlatform(:grails-micronaut-bom). else if (project.name == 'grails-micronaut-bom') { customBomVersions = [ - 'groovy.version' : '5.0.5', + 'groovy.version' : '5.0.6', 'spock.version' : '2.4-groovy-5.0', 'protobuf.version': '4.30.2', ] diff --git a/gradle.properties b/gradle.properties index 547692b327..71000d8a34 100644 --- a/gradle.properties +++ b/gradle.properties @@ -53,7 +53,7 @@ gradleChecksumPluginVersion=1.4.0 gradleCycloneDxPluginVersion=3.0.0 # micronaut libraries not in the bom due to the potential for spring mismatches -micronautPlatformVersion=5.0.0-M2 +micronautPlatformVersion=5.0.0 micronautRxjava2Version=2.9.0 micronautSerdeJacksonVersion=2.11.0 diff --git a/grails-bom/micronaut/build.gradle b/grails-bom/micronaut/build.gradle index 3923b3f114..f3eda80c75 100644 --- a/grails-bom/micronaut/build.gradle +++ b/grails-bom/micronaut/build.gradle @@ -76,9 +76,11 @@ dependencies { // managed versions transitively and don't need to declare the platform themselves. // Exclude Groovy since we declare the required version explicitly below via customBomDependencies. // Exclude Spock since the base BOM manages that version. - // Exclude Jackson 3 (tools.jackson) since spring-boot-dependencies manages that version, - // and Micronaut can lag behind Spring Boot's patch bumps (e.g. SB 4.0.6 ships - // jackson-bom 3.1.2 while micronaut-platform 5.0.0-M2 still pins 3.1.0). + // Exclude Jackson 3 (tools.jackson) since spring-boot-dependencies manages that version + // and the two platforms routinely disagree on the patch (e.g. SB 4.0.6 ships + // jackson-bom 3.1.2 while micronaut-platform 5.0.0 pins 3.1.3). Let Spring Boot + // remain the single source of truth so the dependency-version validator does not + // see drift between probe and project resolution. api(platform("io.micronaut.platform:micronaut-platform:$micronautPlatformVersion")) { exclude group: 'org.apache.groovy' exclude group: 'org.spockframework'
