Enable Gradle parallel execution

Apache 2.0

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 for more information.

org.openrewrite.gradle.EnableGradleParallelExecution
mod run . --recipe=org.openrewrite.gradle.EnableGradleParallelExecution

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Add Gradle property org.gradle.parallel=true