Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for MarkingStrategy (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to top