Use kotlin.math.sqrt instead of java.lang.Math.sqrt
ProprietaryPrefer the multiplatform-friendly kotlin.math.sqrt over the JVM-only Math.sqrt.
org. openrewrite. kotlin. migrate. UseKotlinMathSqrt$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseKotlinMathSqrt$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.