Migrate to Spring Boot 4.1 modular starters

Proprietary

Add Spring Boot 4.1 starter dependencies for modules introduced in 4.1 (gRPC server, gRPC client, and Spring Batch with MongoDB support). The gRPC starters are only added to modules that already use Spring gRPC. This recipe complements MigrateToModularStarters from 4.0 and only adds the new starters; it does not rewrite or remove anything else.

io.moderne.java.spring.boot4.MigrateToModularStarters_4_1
mod run . --recipe=io.moderne.java.spring.boot4.MigrateToModularStarters_4_1

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Add Spring Boot 4.1 gRPC starters to modules using Spring gRPC
  2. Add Gradle or Maven dependency org.springframework.boot:spring-boot-starter-batch-data-mongodb:4.1.x