CI Perf Lint

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:

Visible Gradle roots under workflow working directories or inline cd are included. Each root’s own gradle.properties and module build files are checked, so a nested project’s parallel setting is not mistaken for an absent root-level setting.

Exclusions

Does not report when:

Severity

warning — parallel execution is safe for most multi-project builds and the setting is purely additive.