Migrate GlobalSettings to dependency injection (Play 2.6+)

Proprietary

Finds classes extending GlobalSettings and imports of play.api.GlobalSettings. GlobalSettings is deprecated in Play 2.6+; use dependency injection instead.

org.openrewrite.scala.migrate.play.MigratePlayGlobalSettings
mod run . --recipe=org.openrewrite.scala.migrate.play.MigratePlayGlobalSettings

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