Enable Gradle parallel execution
org.openrewrite.gradle.EnableGradleParallelExecution Most builds consist of more than one project and some of those projects are usually independent of one another. Yet Gradle will only run one task at a time by default, regardless of the project structure. By using the
--parallelswitch, you can force Gradle to execute tasks in parallel as long as those tasks are in different projects. See the Gradle performance documentation for more information.
- groupId: org.openrewrite
- artifactId: rewrite-gradle
- version: 7.35.0
This recipe has no required configuration options and can be activated directly after taking a dependency on org.openrewrite:rewrite-gradle:7.35.0 in your build file:
Maven Command Line
mvn org.openrewrite.maven:rewrite-maven-plugin:4.39.0:run \
Recipes can also be activated directly from the command line by adding the argument
Yaml Recipe List
displayName: Enable Gradle parallel execution
description: Most builds consist of more than one project and some of those projects are usually independent of one another. Yet Gradle will only run one task at a time by default, regardless of the project structure. By using the `--parallel` switch, you can force Gradle to execute tasks in parallel as long as those tasks are in different projects. See the [Gradle performance documentation](https://docs.gradle.org/current/userguide/performance.html#parallel_execution) for more information.
The Moderne public SaaS instance enables you to easily run recipes across thousands of open-source repositories.