Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 93 for BuildCache (0.65 sec)

  1. subprojects/core/src/main/java/org/gradle/caching/configuration/internal/BuildCacheConfigurationInternal.java

         */
        <T extends BuildCache> Class<? extends BuildCacheServiceFactory<T>> getBuildCacheServiceFactoryType(Class<T> configurationType);
    
        /**
         * Replaces local directory build cache.
         */
        void setLocal(DirectoryBuildCache local);
    
        /**
         * Replaces remote build cache.
         */
        void setRemote(@Nullable BuildCache remote);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AbstractResolveCachingStateStepTest.groovy

    import java.time.Duration
    
    abstract class AbstractResolveCachingStateStepTest<C extends ValidationFinishedContext, S extends AbstractResolveCachingStateStep<C>> extends StepSpec<C> {
    
        def buildCache = Mock(BuildCacheController)
        S step
        def delegateResult = Stub(UpToDateResult)
        def beforeExecutionState = Stub(BeforeExecutionState) {
            inputFileProperties >> ImmutableSortedMap.of()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:26:04 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/caching_java_projects.adoc

    For example, declaring the operating system in use by Gradle as an input to a `Test` task called `integTest` would work as follows:
    
    ====
    include::sample[dir="snippets/buildCache/integration-tests/kotlin",files="build.gradle.kts[tags=integTest]"]
    include::sample[dir="snippets/buildCache/integration-tests/groovy",files="build.gradle[tags=integTest]"]
    ====
    
    === Archives as inputs
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/initScripts/multiVersionCacheRetention/kotlin/gradleUserHome/init.d/gradle8/cache-settings.gradle.kts

            snapshotWrappers { setRemoveUnusedEntriesAfterDays(10) }
            downloadedResources { setRemoveUnusedEntriesAfterDays(45) }
            createdResources { setRemoveUnusedEntriesAfterDays(10) }
            buildCache { setRemoveUnusedEntriesAfterDays(5) }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 21:43:36 UTC 2024
    - 359 bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveIncrementalCachingStateStep.java

        public ResolveIncrementalCachingStateStep(
            BuildCacheController buildCache,
            boolean emitDebugLogging,
            Step<? super IncrementalCachingContext, ? extends UpToDateResult> delegate
        ) {
            super(buildCache, emitDebugLogging);
            this.delegate = delegate;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/FinalizeBuildCacheConfigurationBuildOperationIntegrationTest.groovy

        def "local build cache configuration is exposed"() {
            given:
            def cacheDir = temporaryFolder.file("cache-dir").createDir()
            settingsFile << """
                buildCache {
                    local {
                        enabled = true
                        directory = '${cacheDir.absoluteFile.toURI().toString()}'
                        push = true
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/buildCache/configure-by-init-script/groovy/init.gradle

    gradle.settingsEvaluated { settings ->
        settings.buildCache {
            // vvv Your custom configuration goes here
            remote(HttpBuildCache) {
                url = 'https://example.com:8123/cache/'
            }
            // ^^^ Your custom configuration goes here
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 270 bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/cache/DefaultCacheConfigurationsTest.groovy

            cacheConfigurations.releasedWrappers.setRemoveUnusedEntriesAfterDays(2)
            cacheConfigurations.snapshotWrappers.setRemoveUnusedEntriesAfterDays(2)
            cacheConfigurations.buildCache.setRemoveUnusedEntriesAfterDays(2)
            cacheConfigurations.cleanup.set(Cleanup.DISABLED)
    
            then:
            noExceptionThrown()
    
            when:
            cacheConfigurations.finalizeConfigurationValues()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/BuildCacheStep.java

        private final BuildCacheController buildCache;
        private final Deleter deleter;
        private final FileSystemAccess fileSystemAccess;
        private final OutputChangeListener outputChangeListener;
        private final Step<? super C, ? extends AfterExecutionResult> delegate;
    
        public BuildCacheStep(
            BuildCacheController buildCache,
            Deleter deleter,
            FileSystemAccess fileSystemAccess,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/dsl/org.gradle.api.initialization.Settings.xml

            <title>Properties</title>
            <table>
                <thead>
                    <tr>
                        <td>Name</td>
                    </tr>
                </thead>
                <tr>
                    <td>buildCache</td>
                </tr>
                <tr>
                    <td>gradle</td>
                </tr>
                <tr>
                    <td>rootDir</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top