gradle-parallel-not-enabled
Detects multi-project Gradle repositories that do not have parallel build execution enabled.
Why it matters
Gradle parallel execution can reduce CI wall-clock time for multi-project builds by allowing independent modules and tasks to execute concurrently. Many repositories unintentionally run large Gradle builds with the default serial configuration.
Detection
Reports when:
- The repository uses Gradle
- CI executes Gradle lifecycle tasks (
build,check,test,assemble,publish) - Multiple
build.gradleorbuild.gradle.ktsfiles are detected (indicating a multi-project build) org.gradle.parallel=trueis not set ingradle.properties- No
--parallelflag is used in CI Gradle commands
Exclusions
Does not report when:
org.gradle.parallel=trueis set ingradle.propertiesorg.gradle.parallel=falseis set--parallelflag is present in CI commands--no-parallelflag is present- Only a single
build.gradle(.kts)is found (single-module project)
Severity
warning — parallel execution is safe for most multi-project builds and the setting is purely additive.