Migrate to Scala 3
ProprietaryRewrites Scala 2 source that Scala 3 no longer accepts, such as do-while loops, on top of the Scala 2.13 migration, and finds the constructs that need a manual change: existential types, DelayedInit, implicit definitions without an explicit type, _ type wildcards and XML literals. The Scala version in the build has to be changed separately.
org. openrewrite. scala. migrate. UpgradeToScala3mod run . --recipe= org. openrewrite. scala. migrate. UpgradeToScala3Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.