Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for BuildCache (0.12 sec)

  1. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/BuildCacheLocalCacheIntegrationTest.groovy

            settingsFile << """
                buildCache {
                    $localCacheConfig
                }
            """
            execute()
    
            then:
            cached()
            localCache.empty
    
            when:
            assert remoteCache.cacheDir.deleteDir()
            settingsFile << """
                buildCache.remote.enabled = false
                buildCache.local.enabled = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AbstractResolveCachingStateStep.java

        private final BuildCacheController buildCache;
        private final boolean emitDebugLogging;
    
        public AbstractResolveCachingStateStep(
            BuildCacheController buildCache,
            boolean emitDebugLogging
        ) {
            this.buildCache = buildCache;
            this.emitDebugLogging = emitDebugLogging;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/DirectoryBuildCacheFixture.groovy

    @SelfType(AbstractIntegrationSpec)
    trait DirectoryBuildCacheFixture {
        private TestBuildCache buildCache
    
        @Before
        void setupCacheDirectory() {
            // Make sure cache dir is empty for every test execution
            buildCache = new TestBuildCache(temporaryFolder.file("cache-dir").deleteDir().createDir())
            settingsFile << buildCache.localCacheConfiguration()
        }
    
        // Spock 2 executes @Before after the setup() methods
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/caching/internal/services/AbstractBuildCacheControllerFactory.java

            private final ImmutableSortedMap<String, String> config;
    
            private BuildCacheDescription(BuildCache buildCache, String type, ImmutableSortedMap<String, String> config) {
                this.className = GeneratedSubclasses.unpackType(buildCache).getName();
                this.push = buildCache.isPush();
                this.type = type;
                this.config = config;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 17:08:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/BuildCacheBuildOperationsIntegrationTest.groovy

            def artifactFileCopy = file("artifact")
            // move it out of the local for us to use
            buildCache.getCacheEntry(initialPackOp.details.cacheKey.toString()).copyBytesTo(artifactFileCopy)
            buildCache.deleteCacheEntry(initialPackOp.details.cacheKey.toString())
            assert !buildCache.hasCacheEntry(initialPackOp.details.cacheKey.toString())
    
            when:
            settingsFile.text = ""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

            then:
            skipped ":compileJava"
        }
    
        def "credentials can be specified via DSL"() {
            httpBuildCacheServer.withBasicAuth("user", "pass")
            settingsFile << """
                buildCache {
                    remote.credentials {
                        username = "user"
                        password = "pass"
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache.adoc

    .Custom cacheable BundleTask
    ====
    include::sample[dir="snippets/buildCache/cacheable-bundle-task/kotlin",files="build.gradle.kts[tags=bundle-task]"]
    include::sample[dir="snippets/buildCache/cacheable-bundle-task/groovy",files="build.gradle[tags=bundle-task]"]
    ====
    - (1) Add `@CacheableTask` to enable caching for the task.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 11:30:10 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/buildCache/configure-built-in-caches/kotlin/settings.gradle.kts

    rootProject.name = "configure-built-in-caches"
    // tag::configure-directory-build-cache[]
    buildCache {
        local {
            directory = File(rootDir, "build-cache")
        }
    }
    // end::configure-directory-build-cache[]
    
    // tag::configure-http-build-cache[]
    buildCache {
        remote<HttpBuildCache> {
            url = uri("https://example.com:8123/cache/")
            credentials {
                username = "build-cache-user"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 21:43:36 UTC 2024
    - 516 bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ResolveIncrementalCachingStateStepTest.groovy

        @Override
        ResolveIncrementalCachingStateStep<IncrementalChangesContext> createStep() {
            return new ResolveIncrementalCachingStateStep<>(buildCache, false, delegate)
        }
    
        def executionStateChanges = Mock(ExecutionStateChanges)
        def previousExecutionState = Mock(PreviousExecutionState)
    
        def "uses cache key from execution history when no changes"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. .teamcity/performance-test-durations.json

        "linux" : 428
      } ]
    }, {
      "scenario" : "org.gradle.performance.regression.buildcache.TaskOutputCachingJavaPerformanceTest.clean assemble for abi change with local cache",
      "durations" : [ {
        "testProject" : "largeJavaMultiProject",
        "linux" : 828
      } ]
    }, {
      "scenario" : "org.gradle.performance.regression.buildcache.TaskOutputCachingJavaPerformanceTest.clean assemble for non-abi change with local cache",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:30:45 UTC 2024
    - 27.9K bytes
    - Viewed (1)
Back to top