- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 212 for cacheDir (0.27 sec)
-
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginTasksIntegrationTest.kt
val firstLocation = "first-location" val secondLocation = "second-location" val cacheDir = newDir("cache-dir") withDefaultSettingsIn(firstLocation).appendText( """ rootProject.name = "test" buildCache { local { directory = file("${cacheDir.normalisedPath}") } } """ )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 21 10:30:22 UTC 2024 - 8.4K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/mutator/ClearArtifactTransformCacheWithoutInstrumentedJarsMutator.groovy
new File(it, "transforms") } (oldCaches + newCaches).forEach { cleanupCacheDir(it) } } protected void cleanupCacheDir(File cacheDir) { Files.walkFileTree(cacheDir.toPath(), new FileVisitor<Path>() { @Override FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 12:30:06 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/test/TestTaskPropertiesServiceIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 7.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultFileOperationsTest.groovy
@TempDir File cacheDir private final FileResolver resolver = Mock() { getPatternSetFactory() >> TestFiles.getPatternSetFactory() } private final TemporaryFileProvider temporaryFileProvider = new DefaultTemporaryFileProvider(() -> cacheDir); private final Instantiator instantiator = TestUtil.instantiatorFactory().decorateLenient()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 8.1K bytes - Viewed (0) -
platforms/enterprise/enterprise-plugin-performance/src/performanceTest/groovy/org/gradle/performance/BuildScanPluginPerformanceTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 19 09:04:53 UTC 2024 - 9.4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CacheFactory.java
@ServiceScope(Scope.Global.class) public interface CacheFactory { /** * Opens a cache with the given options. The caller must close the cache when finished with it. */ PersistentCache open(File cacheDir, String displayName, Map<String, ?> properties, LockOptions lockOptions, @Nullable Consumer<? super PersistentCache> initializer, CacheCleanupStrategy cacheCleanupStrategy) throws CacheOpenException; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 19:10:33 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersKotlinIntegrationTest.groovy
} } """ } private void withLocalBuildCache() { def cacheDir = createDir("cache-dir") settingsFile """ buildCache { local { directory = file("${cacheDir.name}") } } """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:02 UTC 2024 - 7.5K bytes - Viewed (0) -
docs/features/caching.md
server behaviour when ambiguous. # Basic Usage ```kotlin private val client: OkHttpClient = OkHttpClient.Builder() .cache(Cache( directory = File(application.cacheDir, "http_cache"), // $0.05 worth of phone storage in 2020 maxSize = 50L * 1024L * 1024L // 50 MiB )) .build() ``` ## EventListener events
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (0) -
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) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/CoreBuildSessionServices.java
Deleter deleter, BuildOperationRunner buildOperationRunner, StartParameter startParameter ) { BuildScopeCacheDir cacheDir = new BuildScopeCacheDir(userHomeDirProvider, buildLayout, startParameter); return new ProjectCacheDir(cacheDir.getDir(), buildOperationRunner, deleter); } @Provides
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 9.2K bytes - Viewed (0)