Migrate to Java 21 when using jOOQ

Proprietary

Spring Boot 4.1 keeps a Java 17 baseline, but the jOOQ version it manages (3.21) requires Java 21 or later. This recipe upgrades modules that depend on jOOQ to Java 21 so they remain compatible after the Spring Boot 4.1 upgrade. Modules that do not use jOOQ are left on their current Java baseline. See https://github.com/spring-projects/spring-boot/issues/48619.

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

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. Migrate to Java 21