Gradle - Cache (.gradle)

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





Discover More
Gradle - Build

A build is a lifecyle task that executes a graph of task Gradle executes build scripts in three fixed phases: Initialization: Sets up the environment for the build and determine which projects will...
Gradle - Task

A build process execute a graph of tasks. Task may just be: container (lifecycle task) or provided by plugin In execution with the wrapper of the project Tasks themselves consist of:...



Share this page:
Follow us:
Task Runner