Upgrade build to Java 21

MSAL

Updates build files to use Java 21 as the target/source.

org.openrewrite.java.migrate.UpgradeBuildToJava21
mod run . --recipe=org.openrewrite.java.migrate.UpgradeBuildToJava21

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. Upgrade Java version 21