Rename package name in String literals
Apache 2.0A recipe that will rename a package name in String literals.
org. openrewrite. java. ChangePackageInStringLiteralRequired
The package name to replace.
New package name to replace the old package name with.
mod run . --recipe= org. openrewrite. java. ChangePackageInStringLiteral \
-P oldPackageName= com. yourorg. foo \
-P newPackageName= com. yourorg. barInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.