Set the Develocity server
Recipe ID
org.openrewrite.gradle.plugins.SetDevelocityServerArtifact
org.openrewrite:rewrite-gradleSets the server in the develocity block of a Gradle settings file, adding it as the first statement when absent or updating it when it differs. Use this to point builds at a different Develocity server, for example when migrating between servers.
Usage
You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.gradle.plugins.SetDevelocityServer --recipe-option "server=https://community.develocity.cloud/"If the recipe isn’t available locally, install it with:
mod config recipes jar install org.openrewrite:rewrite-gradle:8.88.0Options
| Name | Type | Description |
|---|---|---|
serverrequired | String | The value to set for server.e.g. https://community.develocity.cloud/ |
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