Migrate to Gradle 7 from Gradle 6
Recipe ID
org.openrewrite.gradle.MigrateToGradle7Artifact
org.openrewrite:rewrite-gradleMigrate to version 7.x. See the Gradle upgrade guide from version 6.x to 7.0 for more information.
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.gradle.MigrateToGradle7If the recipe isn’t available locally, install it with:
mod config recipes jar install org.openrewrite:rewrite-gradle:8.88.0Definition
This recipe runs the following recipes in order.
- Migrate to Gradle 6 from Gradle 5
org.openrewrite.gradle.MigrateToGradle6 - Update Gradle wrapper
org.openrewrite.gradle.UpdateGradleWrapper - Remove an enabled Gradle preview feature
org.openrewrite.gradle.RemoveEnableFeaturePreview
Data tables
Structured output this recipe can produce.
- Source files that had resultsSource files that were modified by the recipe run.
org.openrewrite.table.SourcesFileResults - Source files that had search resultsSearch results that were found during the recipe run.
org.openrewrite.table.SearchResults - Source files that errored on a recipeThe details of all errors produced by a recipe run.
org.openrewrite.table.SourcesFileErrors - Recipe performanceStatistics used in analyzing the performance of recipes.
org.openrewrite.table.RecipeRunStats