CI Perf Lint

missing-gradle-build-cache

Flags workflows that visibly run Gradle tasks while no repository-level Gradle build cache configuration is visible.

Why it matters

Gradle build cache reuses task outputs instead of recomputing them. That is different from dependency caching: the goal here is to avoid repeating build and test work itself.

This rule only fires when:

Suggested fix

If this repository repeats the same Gradle tasks in CI, configure Gradle build cache in the repository and keep it only if total job time improves.

Measurement hint

Compare:

References