MarkingStrategy

Represents a method of marking a cache directory. This is used to mark Gradle's cache directories.

You may implement your own marking strategy by implementing this interface and setting getMarkingStrategy.

Since

8.1

Properties

Link copied to clipboard
Marking strategy that marks the cache directory with a CACHEDIR.TAG file.
Link copied to clipboard
Marking strategy that does not mark the cache directory.

Functions

Link copied to clipboard
abstract fun tryMarkCacheDirectory(file: File)
Try to mark the given cache directory.