From 196dc5f133b61eb56f8ab1c3150fffe68d6f2fd6 Mon Sep 17 00:00:00 2001 From: Johannes Jank Date: Fri, 12 Jul 2024 12:52:20 +0200 Subject: [PATCH] Add Micrometer 1.13.x upgrade to Spring Boot 3.3.x migration (#551) * Add Micrometer 1.13.x upgrade to Spring Boot 3.3.x migration Partially resolves #526 * Sort dependencies; drop comment --------- Co-authored-by: Tim te Beek --- 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 f1824c5cb..2bfba480c 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-testing-frameworks:$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 931044a1f..616a3298b 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-33.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-33.yml @@ -54,6 +54,7 @@ recipeList: newGroupId: org.apache.cassandra oldArtifactId: "*" + - org.openrewrite.micrometer.UpgradeMicrometer13 --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot3.SpringBoot3BestPractices