Modularize legacy raw Spring Data Redis dependency

Proprietary

In modules that directly declare org.springframework.data:spring-data-redis, add spring-boot-starter-data-redis (no-op if already present transitively — for example via spring-boot-starter-session-data-redis after its rename) and remove the raw dependency.

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

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 Gradle or Maven dependency org.springframework.boot:spring-boot-starter-data-redis:4.0.x
  2. Remove a Gradle or Maven dependency org.springframework.data:spring-data-redis