Migrate the monolithic Spring Boot starters
ProprietaryIn modules on a monolithic Spring Boot starter, rewrites the classic starters to the minimal spring-boot-starter / spring-boot-starter-test, adds the modular starters implied by the module's package usage, and removes spring-boot-autoconfigure.
io. moderne. java. spring. boot4. MigrateMonolithicStartersmod run . --recipe= io. moderne. java. spring. boot4. MigrateMonolithicStartersInstall 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.
- Change Gradle or Maven dependency
org.springframework.boot:spring-boot-starter-classic - Change Gradle or Maven dependency
org.springframework.boot:spring-boot-starter-test-classic - Add Spring Boot 4.0 starters for the libraries in use
- Remove a Gradle or Maven dependency
org.springframework.boot:spring-boot-autoconfigure