Migrate JUnit JRE conditions

MSAL

Remove tests that can not run on the specified minimum JRE version or later, and drop JRE versions below that minimum from the @EnabledOnJre, @DisabledOnJre, @EnabledForJreRange and @DisabledForJreRange conditions of the remaining tests.

org.openrewrite.java.testing.junit6.MinimumJreConditions

Required

The minimum JRE version to use for test conditions.

mod run . --recipe=org.openrewrite.java.testing.junit6.MinimumJreConditions \ -P javaVersion=17

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.