Update SDKMAN! Java version
MSALUpdate the SDKMAN! JDK version in the .sdkmanrc file. Given a major release (e.g., 17), the recipe will update the current distribution to the current default SDKMAN! version of the specified major release. The distribution option can be used to specify a specific JVM distribution. Note that these must correspond to valid SDKMAN! distributions.
org. openrewrite. java. migrate. UpdateSdkManOptional
The Java version to update to. Use latest.patch to upgrade to the latest version within the current major version.
The JVM distribution to use.
mod run . --recipe= org. openrewrite. java. migrate. UpdateSdkManInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.