Add Gradle property
Apache 2.0Add a property to the gradle.properties file.
org. openrewrite. gradle. AddPropertyRequired
The name of the property to add.
The value of the property to add.
If a property with the same key exists, overwrite.
Optional
A glob expression that can be used to constrain which directories or source files should be searched. When not set, all source files are searched.
mod run . --recipe= org. openrewrite. gradle. AddProperty \
-P key= org. gradle. caching \
-P value= true \
-P overwrite= trueInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.