diff --git a/dependencies.gradle b/dependencies.gradle index d2a51fb8e09..0b25eb7df20 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 547692b3272..71000d8a346 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 3923b3f114a..f3eda80c75e 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'