Add Spring Boot 4.1 gRPC starters to modules using Spring gRPC
ProprietaryAdd the Spring Boot 4.1 gRPC server and client starters based on the use of io.grpc types, but only to modules that already use Spring gRPC. Plain io.grpc usage is not enough: Boot's gRPC auto-configuration would start a second gRPC server in projects that run their own, such as competing gRPC starters.
io. moderne. java. spring. boot4. AddGrpcStarters_4_1mod run . --recipe= io. moderne. java. spring. boot4. AddGrpcStarters_4_1Install 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.
- Add Gradle or Maven dependency
org.springframework.boot:spring-boot-starter-grpc-server:4.1.x - Add Gradle or Maven dependency
org.springframework.boot:spring-boot-starter-grpc-server-test:4.1.x - Add Gradle or Maven dependency
org.springframework.boot:spring-boot-starter-grpc-client:4.1.x - Add Gradle or Maven dependency
org.springframework.boot:spring-boot-starter-grpc-client-test:4.1.x - Add Gradle or Maven dependency
org.springframework.boot:spring-boot-starter-grpc-client:4.1.x