CI Perf Lint

dockerfile-gradle-build-without-cache-mount

Detects Java Dockerfiles that run Gradle build tasks without a visible BuildKit cache mount on the same instruction.

This rule looks for:

Why it matters:

What to do:

This rule intentionally does not require tests to be skipped or the daemon to be disabled, because those choices are repository policy dependent.