Change Maven and Gradle Java version property values to 21

Apache 2.0

Change maven.compiler.source and maven.compiler.target values to 21.

io.quarkus.updates.core.quarkus40.JavaVersion21
mod run . --recipe=io.quarkus.updates.core.quarkus40.JavaVersion21

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
  2. Use Maven compiler plugin release configuration 21