Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for BuildCache (0.26 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. .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)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

            gradle.settings.buildCache.let { buildCache ->
                write(buildCache.local)
                write(buildCache.remote)
                write(buildCache.registrations)
            }
        }
    
        private
        suspend fun DefaultReadContext.readBuildCacheConfiguration(gradle: GradleInternal) {
            gradle.settings.buildCache.let { buildCache ->
                buildCache.local = readNonNull()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  7. 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)
  8. .teamcity/performance-tests-ci.json

      }, {
        "testId" : "org.gradle.performance.regression.buildcache.TaskOutputCachingJavaPerformanceTest.clean check on ephemeral ci with remote http cache",
        "groups" : [ {
          "testProject" : "smallJavaMultiProjectManyExternalDependencies",
          "coverage" : {
            "per_day" : [ "linux" ]
          }
        } ]
      }, {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 11 07:05:12 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy

            then:
            skipped ":compileJava"
            executedAndNotSkipped ":jar"
        }
    
        def "task results don't get stored when pushing is disabled"() {
            settingsFile << """
                buildCache {
                    local {
                        push = false
                    }
                }
            """
    
            when:
            withBuildCache().run "jar"
            then:
            noneSkipped()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheConfigurationsContinuousIntegrationTest.groovy

                        downloadedResources.removeUnusedEntriesAfterDays = 10
                        createdResources.removeUnusedEntriesAfterDays = 5
                        buildCache.removeUnusedEntriesAfterDays = 15
                    }
                }
            """
            settingsFile << """
                caches {
                    assert markingStrategy.get() == MarkingStrategy.NONE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top