Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for cacheDir (0.24 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy

            given:
            buildscriptWithDependency(snapshotModule)
    
            when:
            succeeds 'resolve'
    
            then:
            def resource = findFile(cacheDir, 'resources-*/**/maven-metadata.xml')
            def files = findFiles(cacheDir, "files-*/**/*")
            files.size() == 2
    
            when:
            forceCleanup(gcFile)
    
            and:
            succeeds 'help'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

            isFoundInDirectory(cacheDir, "sensitive_value1".getBytes()) == !enabled
            isFoundInDirectory(cacheDir, "sensitive_value2".getBytes()) == !enabled
            isFoundInDirectory(cacheDir, "sensitive_env_var_value".getBytes()) == !enabled
            isFoundInDirectory(cacheDir, "sensitive_value3".getBytes()) == !enabled
            isFoundInDirectory(cacheDir, "sensitive_convention".getBytes()) == !enabled
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathInstrumentationIntegrationTest.groovy

        }
    
        Set<TestFile> typeHierarchyAnalysisOutputs(String artifactName, File cacheDir = getCacheDir()) {
            return analyzeOutputs(artifactName, TYPE_HIERARCHY_ANALYSIS_FILE_NAME, cacheDir)
        }
    
        TestFile typeHierarchyAnalysisOutput(String artifactName, File cacheDir = getCacheDir()) {
            def analysis = typeHierarchyAnalysisOutputs(artifactName, cacheDir)
            if (analysis.size() == 1) {
                return analysis.first()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 29K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go

    	config.QPS = f.discoveryQPS
    
    	cacheDir := getDefaultCacheDir()
    
    	// retrieve a user-provided value for the "cache-dir"
    	// override httpCacheDir and discoveryCacheDir if user-value is given.
    	// user-provided value has higher precedence than default
    	// and KUBECACHEDIR environment variable.
    	if f.CacheDir != nil && *f.CacheDir != "" && *f.CacheDir != getDefaultCacheDir() {
    		cacheDir = *f.CacheDir
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

            output.contains("The remote build cache was disabled during the build due to errors.")
        }
    
        def "storing to cache does follow method preserving redirects"() {
            given:
            httpBuildCacheServer.cacheDir.createDir("redirect")
            httpBuildCacheServer.addResponder { req, res ->
                if (!req.requestURI.startsWith("/redirect")) {
                    res.setHeader("location", "redirect$req.requestURI")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy

            withBuildCache().run "jar"
            then:
            skipped ":compileJava"
        }
    
        def "cached tasks are executed with #rerunMethod"() {
            def taskPath = ":compileJava"
    
            expect:
            cacheDir.listFiles() as List == []
            buildFile << """
                def upToDate = providers.gradleProperty('upToDateWhenFalse')
                tasks.withType(JavaCompile).configureEach { it.outputs.upToDateWhen { !upToDate.present } }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

            def buildOp = operations.only("Clean up ${getBuildCacheName()} ($cacheDir)")
            buildOp.details.cacheLocation == cacheDir
            assert gcFile().lastModified() > lastCleanupCheck
        }
    
        void assertCacheWasNotCleanedUpSince(long lastCleanupCheck) {
            operations.none("Clean up ${getBuildCacheName()} ($cacheDir)")
            assert gcFile().lastModified() == lastCleanupCheck
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

        /**
         * Sets the path to the read-only dependency cache
         *
         * @param cacheDir the path to the RO dependency cache
         * @return this executer
         */
        GradleExecuter withReadOnlyCacheDir(File cacheDir);
    
        /**
         * Sets the path to the read-only dependency cache
         *
         * @param cacheDir the path to the RO dependency cache
         * @return this executer
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Interpreter.kt

                val compilationClassPath = targetScopeClassPath + accessorsClassPath
                val scriptTemplateId = programId.templateId
                val sourceHash = programId.sourceHash
    
                val cacheDir =
                    host.cachedDirFor(
                        scriptHost,
                        programId,
                        compilationClassPath,
                        accessorsClassPath
                    ) { outputDir ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/PrecompiledGroovyPluginsIntegrationTest.groovy

            given:
            def cacheDir = createDir("cache-dir")
    
            def firstDir = createDir("first-location")
            firstDir.file("settings.gradle") << """
                rootProject.name = "test"
                buildCache {
                    local {
                        directory = file("../${cacheDir.name}")
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 28.7K bytes
    - Viewed (0)
Back to top