Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for BuildCache (0.24 sec)

  1. 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)
  2. 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)
  3. .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)
  4. 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)
  5. .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)
  6. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

                    description = "Generates a 1MB file"
                }
            """
        }
    
        def withDeprecatedBuildCacheRetentionInDays(long period) {
            settingsFile << """
                buildCache {
                    local {
                        removeUnusedEntriesAfterDays = ${period}
                    }
                }
            """
        }
    
        def expectRetentionMethodDeprecationWarning() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/cache/DefaultCacheConfigurations.java

        private static final String DOWNLOADED_RESOURCES = "downloadedResources";
        private static final String CREATED_RESOURCES = "createdResources";
        private static final String BUILD_CACHE = "buildCache";
        static final String UNSAFE_MODIFICATION_ERROR = "The property '%s' was modified from an unsafe location (for instance a settings script or plugin).  " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy

                text = text.replaceAll("\\\$${var}".toString(), value)
            }
            file.text = text
        }
    
        protected void setupLocalBuildCache() {
            settingsFile << """
                buildCache {
                    local {
                        directory = new File("${TextUtil.normaliseFileSeparators(buildCacheDir.absolutePath)}")
                    }
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 08:14:32 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/buildid.go

    		return ""
    	}
    	return buildid.HashToString(sum)
    }
    
    var (
    	counterCacheHit  = telemetry.NewCounter("go/buildcache/hit")
    	counterCacheMiss = telemetry.NewCounter("go/buildcache/miss")
    
    	onceIncStdlibRecompiled sync.Once
    	stdlibRecompiled        = telemetry.NewCounter("go/buildcache/stdlib-recompiled")
    )
    
    // useCache tries to satisfy the action a, which has action ID actionHash,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. settings.gradle.kts

    FeaturePreviews.Feature.values().forEach { feature ->
        if (feature.isActive) {
            enableFeaturePreview(feature.name)
        }
    }
    
    fun remoteBuildCacheEnabled(settings: Settings) = settings.buildCache.remote?.isEnabled == true
    
    fun getBuildJavaHome() = System.getProperty("java.home")
    
    gradle.settingsEvaluated {
        if ("true" == System.getProperty("org.gradle.ignoreBuildJavaVersionCheck")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top