- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for MarkingStrategy (0.24 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/cache/DefaultCacheConfigurationsTest.groovy
assertCannotConfigureErrorIsThrown(e, "cleanup") when: cacheConfigurations.markingStrategy."${method}"(MarkingStrategy.CACHEDIR_TAG) then: e = thrown(IllegalStateException) assertCannotConfigureErrorIsThrown(e, "markingStrategy") where: method << ["set", "value", "convention"] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 20:26:37 UTC 2024 - 9.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheConfigurationsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 20:02:29 UTC 2024 - 7.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheConfigurationsContinuousIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 9.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/cache/DefaultCacheConfigurations.java
this.cleanup = new ContextualErrorMessageProperty<>(propertyHost, Cleanup.class, "cleanup").convention(createCleanupConvention()); this.markingStrategy = new ContextualErrorMessageProperty<>(propertyHost, MarkingStrategy.class, "markingStrategy").convention(MarkingStrategy.CACHEDIR_TAG); this.legacyCacheCleanupEnablement = legacyCacheCleanupEnablement; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 20:26:37 UTC 2024 - 14.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheMarkingStrategyIntegrationTest.groovy
} def writeInitScript(String markingStrategy) { def initDir = new File(executer.gradleUserHomeDir, "init.d") initDir.mkdirs() new File(initDir, "cache-settings.gradle") << """ beforeSettings { settings -> settings.caches { markingStrategy = MarkingStrategy.$markingStrategy } } """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 15:10:38 UTC 2024 - 4.3K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/cache/CacheConfigurations.java
/** * Configures how caches should be marked, if at all. * * <p> * By default, caches are marked using {@link MarkingStrategy#CACHEDIR_TAG}. * </p> * * @since 8.1 */ Property<MarkingStrategy> getMarkingStrategy();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 20:02:29 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt
cacheConfigurations.cleanup.value(readNonNull<Provider<Cleanup>>()) cacheConfigurations.markingStrategy.value(readNonNull<Provider<MarkingStrategy>>()) } if (gradle.isRootBuild) { gradle.serviceOf<CacheConfigurationsInternal>().setCleanupHasBeenConfigured(true) } } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 34.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc
// Disable cache marking for all caches markingStrategy.set(MarkingStrategy.NONE) } } ---- ===== [.multi-language-sample] ===== .init.gradle [source,groovy] ---- beforeSettings { settings -> settings.caches { // Disable cache marking for all caches markingStrategy = MarkingStrategy.NONE } } ---- ===== ====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 17:01:07 UTC 2024 - 90.7K bytes - Viewed (0)