Package org.gradle.caching.local
Klasse DirectoryBuildCache
java.lang.Object
org.gradle.caching.configuration.AbstractBuildCache
org.gradle.caching.local.DirectoryBuildCache
- Alle implementierten Schnittstellen:
BuildCache
Configuration object for the local directory build cache.
- Seit:
- 3.5
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the directory to use to store the build cache.intVeraltet.voidsetDirectory(Object directory) Sets the directory to use to store the build cache.voidsetRemoveUnusedEntriesAfterDays(int removeUnusedEntriesAfterDays) Veraltet.this is superseded byCacheConfigurations.buildCache.removeUnusedEntriesAfterDaysVon Klasse geerbte Methoden org.gradle.caching.configuration.AbstractBuildCache
isEnabled, isPush, setEnabled, setPush
-
Konstruktordetails
-
DirectoryBuildCache
public DirectoryBuildCache()
-
-
Methodendetails
-
getDirectory
Returns the directory to use to store the build cache. -
setDirectory
Sets the directory to use to store the build cache. The directory is evaluated as perProject.file(Object). -
getRemoveUnusedEntriesAfterDays
Veraltet.this is superseded byCacheConfigurations.buildCache.removeUnusedEntriesAfterDaysReturns the number of days after unused entries are garbage collected. Defaults to 7 days.- Seit:
- 4.6
-
setRemoveUnusedEntriesAfterDays
Veraltet.this is superseded byCacheConfigurations.buildCache.removeUnusedEntriesAfterDaysSets the number of days after unused entries are garbage collected. Defaults to 7 days. Must be greater than 1.- Seit:
- 4.6
-
CacheConfigurations.buildCache.removeUnusedEntriesAfterDays