From 974b9aebac3f0a618b10fc47d4aef4ac5260f900 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Mon, 12 Aug 2024 20:05:27 +0200 Subject: [PATCH] Upgrade Micrometer 1.13 as part of Spring Boot 3.3 Follows - https://github.com/openrewrite/rewrite-spring/pull/551 - https://github.com/openrewrite/rewrite-spring/commit/3edc1e0e45edf7e66b72435b2380aac1371bb49e - https://github.com/openrewrite/rewrite-micrometer/pull/13 --- build.gradle.kts | 1 + src/main/resources/META-INF/rewrite/spring-boot-33.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 6ac364abf..d086f11c3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -123,6 +123,7 @@ dependencies { runtimeOnly("org.openrewrite:rewrite-java-17") runtimeOnly("org.openrewrite.recipe:rewrite-hibernate:$rewriteVersion") + runtimeOnly("org.openrewrite.recipe:rewrite-micrometer:$rewriteVersion") runtimeOnly("org.openrewrite.recipe:rewrite-migrate-java:$rewriteVersion") runtimeOnly("org.openrewrite.recipe:rewrite-openapi:${rewriteVersion}") runtimeOnly("org.openrewrite.recipe:rewrite-reactive-streams:$rewriteVersion") diff --git a/src/main/resources/META-INF/rewrite/spring-boot-33.yml b/src/main/resources/META-INF/rewrite/spring-boot-33.yml index 0c0ea8b7f..64b49b6cf 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-33.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-33.yml @@ -48,6 +48,7 @@ recipeList: - org.openrewrite.gradle.plugins.UpgradePluginVersion: pluginIdPattern: org.springframework.boot newVersion: 3.3.x + - org.openrewrite.micrometer.UpgradeMicrometer_1_13 - org.openrewrite.gradle.plugins.UpgradePluginVersion: pluginIdPattern: org.graalvm.buildtools.native