Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 97 for BuildCache (0.25 sec)

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

        @Nullable
        @Override
        public BuildCache getRemote() {
            return remote;
        }
    
        @Override
        public void setRemote(@Nullable BuildCache remote) {
            this.remote = remote;
        }
    
        @Override
        public <T extends BuildCache> T remote(Class<T> type) {
            return remote(type, Actions.doNothing());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 20 12:32:48 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheConfigurationBuildOperationIntegrationTest.groovy

        def "remote build cache configuration is exposed"() {
            given:
            httpBuildCacheServer.start()
            def url = "${httpBuildCacheServer.uri}/"
            settingsFile << """
                buildCache {
                    local {
                        enabled = false
                    }
                    remote(org.gradle.caching.http.HttpBuildCache) {
                        enabled = true
                        url = "$url"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/BuildCacheConfigurationExtensions.kt

     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl
    
    import org.gradle.caching.BuildCacheServiceFactory
    import org.gradle.caching.configuration.BuildCache
    import org.gradle.caching.configuration.BuildCacheConfiguration
    import kotlin.reflect.KClass
    
    
    /**
     * Registers a custom build cache type.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.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