diff --git a/build.gradle.kts b/build.gradle.kts index a50ab824..e81037de 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -120,9 +120,9 @@ dependencies { implementation("org.openrewrite.gradle.tooling:model:${rewriteVersion}") runtimeOnly("org.openrewrite:rewrite-java-17:$rewriteVersion") - runtimeOnly("org.openrewrite.recipe:rewrite-testing-frameworks:$rewriteVersion") + runtimeOnly("org.openrewrite.recipe:rewrite-hibernate:$rewriteVersion") runtimeOnly("org.openrewrite.recipe:rewrite-migrate-java:$rewriteVersion") - runtimeOnly("org.openrewrite:rewrite-java-17:$rewriteVersion") + runtimeOnly("org.openrewrite.recipe:rewrite-testing-frameworks:$rewriteVersion") testRuntimeOnly("ch.qos.logback:logback-classic:1.+") testRuntimeOnly(gradleApi()) diff --git a/src/main/resources/META-INF/rewrite/spring-boot-30.yml b/src/main/resources/META-INF/rewrite/spring-boot-30.yml index c5975efb..4d59a356 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-30.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-30.yml @@ -64,6 +64,7 @@ recipeList: - org.openrewrite.java.spring.boot3.MigrateThymeleafDependencies - org.openrewrite.java.spring.security6.UpgradeSpringSecurity_6_0 - org.openrewrite.java.spring.cloud2022.UpgradeSpringCloud_2022 + - org.openrewrite.hibernate.MigrateToHibernate61 --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot3.ActuatorEndpointSanitization diff --git a/src/main/resources/META-INF/rewrite/spring-boot-31.yml b/src/main/resources/META-INF/rewrite/spring-boot-31.yml index a495d7e7..d7cb7e35 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-31.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-31.yml @@ -37,6 +37,7 @@ recipeList: pluginIdPattern: org.springframework.boot newVersion: 3.1.x - org.openrewrite.java.spring.boot3.SpringBootProperties_3_1 + - org.openrewrite.hibernate.MigrateToHibernate62 --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot3.SpringBootProperties_3_1