Use kotlin.math.min instead of java.lang.Math.min
ProprietaryPrefer the multiplatform-friendly kotlin.math.min over the JVM-only Math.min.
org. openrewrite. kotlin. migrate. UseKotlinMathMin$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseKotlinMathMin$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.