Skip to content

oberkem/rewrite

 
 

Repository files navigation

Logo

Semantic code search and transformation

ci Apache 2.0 Maven Central

The Rewrite project is a mass refactoring ecosystem for Java and other source code, designed to eliminate technical debt across an engineering organization. It consists of a platform of prepackaged refactoring recipes for common framework migration and stylistic consistency tasks in Java, ready for you to apply in your build via Maven or Gradle plugins.

Read the full documentation at docs.openrewrite.org.

Feel free to join us on Slack!

Building & Developing Openrewrite

We use Gradle to build this project. The gradle wrapper checked into this project defines the gradle version to use.
When building from the command line invoke the wrapper with ./gradlew build on unix-style terminals and gradlew build on windows-style terminals.

CLI Environment Configuration:

  • JDK version: 11
  • JDK language & bytecode level: 1.8
  • Gradle version: Defined in wrapper
  • Kotlin version: 1.4
  • Kotlin language level: 1.4
  • Kotlin JVM bytecode level: 1.8

IDE Configuration

We use IntelliJ IDEA to develop this project. Other IDEs or versions of this IDE can be made to work. These are one set of versions we know works:

  • IDEA version: 2020.3.2

You must set the -parameters compiler flag to run Rewrite tests. Add this to the "additional command line parameters" field in IntelliJ -> Preferences -> Build, Execution, Deployment -> Compiler -> Java Compiler.

About

Semantic code search and transformation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 64.3%
  • Kotlin 35.2%
  • Other 0.5%