Skip to content

openrewrite/rewrite

Repository files navigation

OpenRewrite

ci Apache 2.0 Maven Central Revved up by Develocity Contributing Guide

Fast, repeatable refactoring for developers

The OpenRewrite project is an automated refactoring ecosystem for source code, enabling developers to effectively eliminate technical debt within their repositories.

It consists of an auto-refactoring engine that runs prepackaged, open source refactoring recipes for common framework migrations, security fixes, and stylistic consistency tasks—reducing your coding effort from hours or days to minutes. Build tool plugins like OpenRewrite Gradle Plugin and OpenRewrite Maven Plugin help you run these recipes on one repository at a time.

OpenRewrite recipes have bench strength in Java and are part of a growing community of languages, frameworks, and tech. It’s thousands of great individuals and teams working to make software seamless to update and continuously secure. You can also easily customize recipes for your code.

Start with our quickstart guide and let OpenRewrite handle the boring parts of software development for you.

Get and stay informed:

OpenRewrite is Apache2 licensed and maintained by Moderne. OpenRewrite's refactoring engine and recipes will always be open source.

Refactoring at scale with Moderne

Moderne is a commercial platform designed to run the OpenRewrite recipe catalog with incredible efficiency, supporting large codebases and multiple repositories. It’s a place where platform teams and developers can collaborate to drive migrations across their codebases, mass-commit code fixes, and perform large-scale impact analyses.

See how Moderne and OpenRewrite work in different ways to transform your code.

Moderne

Moderne freely runs an open public service for the benefit of tens of thousands of open source projects. The platform can streamline your recipe customization and creation, enabling quick assembly and testing. It also includes a multi-repo command line interface (CLI) to enable developers to run and customize recipes locally.

Moderne

To understand better how Moderne can help your team, contact us.

Contributing

We appreciate all types of contributions. See the contributing guide for detailed instructions on how to get started.