Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 106 for BuildCache (0.24 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt

    import okhttp3.Response
    import okhttp3.internal.connection.Exchange
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.connection.RealConnection
    import okio.FileSystem
    import okio.Path
    
    internal fun buildCache(
      file: Path,
      maxSize: Long,
      fileSystem: FileSystem,
    ): Cache {
      return Cache(fileSystem, file, maxSize)
    }
    
    internal var RealConnection.idleAtNsAccessor: Long
      get() = idleAtNs
      set(value) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheConfigurationsContinuousIntegrationTest.groovy

                        downloadedResources.removeUnusedEntriesAfterDays = 10
                        createdResources.removeUnusedEntriesAfterDays = 5
                        buildCache.removeUnusedEntriesAfterDays = 15
                    }
                }
            """
            settingsFile << """
                caches {
                    assert markingStrategy.get() == MarkingStrategy.NONE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/CachedKotlinTaskExecutionIntegrationTest.groovy

            'build.gradle.kts'
        }
    
        def setup() {
            settingsFile << "rootProject.buildFileName = '$defaultBuildFileName'"
    
            file("buildSrc/settings.gradle.kts") << """
                buildCache {
                    local {
                        directory = "${cacheDir.absoluteFile.toURI()}"
                        isPush = true
                    }
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache_concepts.adoc

    ====
    include::sample[dir="snippets/buildCache/timestamp-in-manifest/kotlin",files="build.gradle.kts[tags=timestamp]"]
    include::sample[dir="snippets/buildCache/timestamp-in-manifest/groovy",files="build.gradle[tags=timestamp]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/CacheableTaskOutcomeCrossVersionSpec.groovy

                        outputFile.text = "done"
                    }
                }
    """
            def cacheDir = file("task-output-cache")
            settingsFile << """
                buildCache {
                    local {
                        directory = "${TextUtil.escapeString(cacheDir.absolutePath)}"
                    }
                }
            """
            file("input").text = "input file"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/cache/CacheConfigurations.java

        /**
         * Configures caching for entries in the local build cache.
         * By default, build cache entries are removed after 7 days of not being used.
         *
         * @since 8.8
         */
        void buildCache(Action<? super CacheResourceConfiguration> cacheConfiguration);
    
        /**
         * Returns the cache configuration for local build cache.
         *
         * @since 8.8
         */
        CacheResourceConfiguration getBuildCache();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:02:29 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache-spi/src/integTest/groovy/org/gradle/caching/BuildCacheServiceExtensibilityIntegrationTest.groovy

                        $additionalLogic
                    }
    
                    @Override
                    void close() throws IOException {
                    }
                }
    
                buildCache {
                    registerBuildCacheService(CustomBuildCache, CustomBuildCacheServiceFactory)
    
                    local {
                        enabled = false
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:09:36 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheConfigurationsCompositeBuildTest.groovy

                        downloadedResources.removeUnusedEntriesAfterDays = 10
                        createdResources.removeUnusedEntriesAfterDays = 5
                        buildCache.removeUnusedEntriesAfterDays = 15
                    }
                }
            """
    
            file('foo').createDir().createFile('settings.gradle')
            file('bar').createDir().createFile('settings.gradle')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:02:29 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCacheIntegrationTest.groovy

                    inputFile = file("input")
                    outputFile = new File(buildDir, "output")
                }
                """
            def cacheDir = file("task-output-cache")
            settingsFile << """
                buildCache {
                    local {
                        directory = "${TextUtil.escapeString(cacheDir.absolutePath)}"
                    }
                }
            """
            file("gradle.properties") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. 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)
Back to top