Gradle - Cache (.gradle)

Management

Default

Defaults to .gradle in the root project directory.

Specify

Specify the project-specific cache directory.

gradle --project-cache-dir  

Disable

gradle --rerun-tasks            
  • Disables the Gradle build cache.
gradle --no-build-cache          
  • Enables the Gradle build cache. Gradle will try to reuse outputs from previous builds.
gradle --build-cache

Powered by ComboStrap