# DirectoryBuildCache

API Documentation: | `DirectoryBuildCache`

Note: This class is incubating and may change in a future version of Gradle.

Configuration object for the local directory build cache.

### Properties

Property | Description
`directory` | Incubating The directory to use to store the build cache.
`enabled` | Incubating Whether the build cache is enabled.
`push` | Incubating Whether pushing to the build cache is enabled.

### Methods

No methods

### Script blocks

No script blocks

### Property details

#### `Object` `directory`

Note: This property is incubating and may change in a future version of Gradle.

The directory to use to store the build cache.

#### `boolean` `enabled`

Note: This property is incubating and may change in a future version of Gradle.

Whether the build cache is enabled.

#### `boolean` `push`

Note: This property is incubating and may change in a future version of Gradle.

Whether pushing to the build cache is enabled.