Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for BuildCache (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. .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)
  5. 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)
  6. 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)
  7. .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)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/SettingsDelegate.kt

            delegate.includeFlat(projectNames)
        }
    
        override fun getStartParameter(): StartParameter =
            delegate.startParameter
    
        override fun buildCache(action: Action<in BuildCacheConfiguration>) =
            delegate.buildCache(action)
    
        override fun getSourceControl(): SourceControl =
            delegate.sourceControl
    
        override fun getProviders(): ProviderFactory =
            delegate.providers
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 08:36:37 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/caching_android_projects.adoc

    https://blog.jetbrains.com/kotlin/2018/01/kotlin-1-2-20-is-out/[You can opt into it] (which is recommended) by adding the following to build scripts:
    
    ====
    include::sample[dir="snippets/buildCache/caching-android-projects/kotlin",files="build.gradle.kts[tags=cacheKapt]"]
    include::sample[dir="snippets/buildCache/caching-android-projects/groovy",files="build.gradle[tags=cacheKapt]"]
    ====
    
    == Unit test execution
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 12:54:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache-example-client/build.gradle.kts

     */
    
    plugins {
        id("gradlebuild.internal.java")
        id("application")
    }
    
    description = "Example client application using the build-cache library"
    
    dependencies {
        implementation(projects.buildCache)
        implementation(projects.buildCacheBase)
        implementation(projects.buildCacheLocal)
        implementation(projects.buildCachePackaging)
        implementation(projects.buildCacheSpi)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top