Add the Develocity Gradle plugin
Recipe ID
org.openrewrite.gradle.plugins.AddDevelocityGradlePluginArtifact
org.openrewrite:rewrite-gradleAdd the Develocity Gradle plugin to settings.gradle files.
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.plugins.AddDevelocityGradlePluginIf the recipe isn’t available locally, install it with:
mod config recipes jar install org.openrewrite:rewrite-gradle:8.88.0Options
| Name | Type | Description |
|---|---|---|
version | String | An exact version number or node-style semver selector used to select the version number. You can also use latest.release for the latest available version and latest.patch if the current version is a valid semantic version. For more details, you can look at the documentation page of version selectors. Defaults to latest.release.e.g. 3.x |
server | String | The URL of the Develocity server. If omitted the recipe will set no URL and Gradle will direct scans to https://scans.gradle.com/ e.g. https://scans.gradle.com/ |
allowUntrustedServer | Boolean | When set to true the plugin will be configured to allow unencrypted http connections with the server. If set to false or omitted, the plugin will refuse to communicate without transport layer security enabled.e.g. true |
captureTaskInputFiles | Boolean | When set to true the plugin will capture additional information about the inputs to Gradle tasks. This increases the size of build scans, but is useful for diagnosing issues with task caching. e.g. true |
uploadInBackground | Boolean | When set to true the plugin will capture additional information about the outputs of Gradle tasks. This increases the size of build scans, but is useful for diagnosing issues with task caching. e.g. true |
publishCriteria | PublishCriteria | When set to Always the plugin will publish build scans of every single build. When set to Failure the plugin will only publish build scans when the build fails. When omitted scans will be published only when the --scan option is passed to the build.e.g. Always |
Data tables
Structured output this recipe can produce.
- Maven metadata failuresAttempts to resolve maven metadata that failed.
org.openrewrite.maven.table.MavenMetadataFailures - 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