Migrate to Scala 2.12.+

MSAL

Upgrade the Scala version for compatibility with newer Java versions.

org.openrewrite.scala.migrate.UpgradeScala_2_12
mod run . --recipe=org.openrewrite.scala.migrate.UpgradeScala_2_12

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 Gradle or Maven dependency versions org.scala-lang:scala-*:2.12.x