GitHub
Join us on Slack
Join us on Discord
Ask on Stack Overflow
Search…
⌃K
Links
Introduction to OpenRewrite
Running Recipes
Quickstart: Setting up your project and running recipes
Running Rewrite on a Gradle project without modifying the build
Running Rewrite on a Maven project without modifying the build
Running Rewrite without build tool plugins
Popular recipe guides
Authoring Recipes
Recipe development environment
Writing a Java refactoring recipe
Recipe testing
Recipe conventions and best practices
Modifying methods with JavaTemplate
Creating multiple visitors in one recipe
Writing recipes over multiple source file types
Using multiple versions of a library in a project
Changelog
Snapshot (2023-03-20)
7.38.0 Release (2023-03-15)
7.37.2 Release (2023-03-02)
7.36.0 Release (2023-02-16)
7.35.0 Release (2023-01-20)
7.34.2 Release (2022-12-16)
7.34.0 Release (2022-12-09)
7.33.0 Release (2022-11-16)
Reference
Latest versions of every OpenRewrite module
Maven plugin configuration
Gradle plugin configuration
Snapshot versions
JsonPath and JsonPathMatcher
Declarative YAML format
Method patterns
Dependency version selectors
Framework provided markers
Building OpenRewrite from source
Recipe catalog
CircleCI
Concourse
Github Actions
Java
Kubernetes
Quarkus
Maven
Terraform
Cloud suitability analyzer
Core
Config
Search
Gradle
Activate Style in Gradle Project
Add @DelegatesTo to the Gradle API
Add Gradle dependency
Add Gradle property
Add Gradle wrapper
Change Gradle dependency artifact
Change Gradle dependency group
Change Gradle project Java compatibility
Change a Gradle dependency classifier
Change a Gradle dependency configuration
Change a Gradle dependency extension
Change a Gradle dependency version
Enable Gradle build cache
Enable Gradle parallel execution
Remove a Gradle dependency
Remove repository
Update Gradle wrapper
Upgrade Gradle dependencies who use a fixed literal version
Use Map notation for Gradle dependency declarations
Use String notation for Gradle dependency declarations
Plugins
Search
Security
Groovy
Hcl
JSON
Properties
XML
YAML
Concepts & Explanations
Lossless Semantic Trees (LST)
Java LST examples
YAML LST examples
TreeVisitingPrinter
Recipes
Visitors
Styles
Environment
Markers
JavaTemplate
Pointcut expressions
Powered By
GitBook
Gradle
Recipes
Activate Style in Gradle Project
Add
@DelegatesTo
to the Gradle API
Add Gradle dependency
Add Gradle property
Add Gradle wrapper
Change Gradle dependency artifact
Change Gradle dependency group
Change Gradle project Java compatibility
Change a Gradle dependency classifier
Change a Gradle dependency configuration
Change a Gradle dependency extension
Change a Gradle dependency version
Enable Gradle build cache
Enable Gradle parallel execution
Remove a Gradle dependency
Remove repository
Update Gradle wrapper
Upgrade Gradle dependencies who use a fixed literal version
Use
Map
notation for Gradle dependency declarations
Use
String
notation for Gradle dependency declarations
Subcategories
Plugins
Search
Security
Previous
Find language composition
Next
Activate Style in Gradle Project
Last modified
1mo ago