Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 65 for BuildCache (0.14 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionErrorHandlingIntegrationTest.groovy

                        }
                    }
    
                    @Override
                    void close() throws IOException {
                    }
                }
    
                buildCache {
                    registerBuildCacheService(FailingBuildCache, FailingBuildCacheServiceFactory)
    
                    local {
                        enabled = false
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/cache/internal/GradleUserHomeCleanupFixture.groovy

        void withDownloadedResourcesRetentionInDays(int days) {
            withCacheRetentionInDays(days, "downloadedResources")
        }
    
        void withBuildCacheRetentionInDays(int days) {
            withCacheRetentionInDays(days, "buildCache")
        }
    
        void withCacheRetentionInDays(int days, String resources) {
            def initDir = new File(gradleUserHomeDir, "init.d")
            initDir.mkdirs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:02:29 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCacheServiceFactory.java

                config("removeUnusedEntriesAfter", removeUnusedEntriesAfterDays + " days");
    
            // Use the deprecated retention period if configured on `DirectoryBuildCache`, or use the central 'buildCache' cleanup config if not.
            // If the deprecated property remains at the default, we can safely use the central value (which has the same default).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:35:55 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginTasksIntegrationTest.kt

            val secondLocation = "second-location"
            val cacheDir = newDir("cache-dir")
    
            withDefaultSettingsIn(firstLocation).appendText(
                """
                rootProject.name = "test"
                buildCache {
                    local {
                        directory = file("${cacheDir.normalisedPath}")
                    }
                }
                """
            )
            withBuildScriptIn(
                firstLocation,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 10:30:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/test/TestTaskPropertiesServiceIntegrationTest.groovy

                }
            }
        }
    
        def "can be used to disable storing task in build cache"() {
            given:
            def cacheDir = createDir("cache-dir")
            settingsFile << """
                buildCache {
                    local {
                        directory = file("${cacheDir.name}")
                    }
                }
            """
            buildFile << """
                plugins {
                    id 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/TaskOutputCachingJavaPerformanceTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.performance.regression.buildcache
    
    import org.gradle.performance.annotations.RunFor
    import org.gradle.performance.annotations.Scenario
    import org.gradle.performance.fixture.CrossVersionPerformanceTestRunner
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. platforms/enterprise/enterprise-plugin-performance/src/performanceTest/groovy/org/gradle/performance/BuildScanPluginPerformanceTest.groovy

                def cacheDir = projectTestDir.file('local-build-cache')
                def settingsFile = projectTestDir.file('settings.gradle')
                settingsFile << """
                        buildCache {
                            local {
                                directory = '${cacheDir.absoluteFile.toURI()}'
                            }
                        }
                    """.stripIndent()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 09:04:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. platforms/jvm/war/src/integTest/groovy/org/gradle/api/tasks/bundling/WarTaskIntegrationTest.groovy

            createDir('web-inf') {
                webinf1 {
                    file 'file1.txt'
                }
            }
            and:
            settingsFile << """
                buildCache {
                    local {
                        directory = file("local-build-cache")
                    }
                }
            """
            buildFile << """
                apply plugin: "base"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 13:20:44 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top