Groovy GString curly braces

Apache 2.0

In Groovy GStrings, curly braces are optional for single variable expressions. This recipe adds them, so that the expression is always surrounded by curly braces.

org.openrewrite.groovy.format.GStringCurlyBraces
mod run . --recipe=org.openrewrite.groovy.format.GStringCurlyBraces

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