- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 198 for cacheDir (0.15 sec)
-
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) -
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) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/CacheResolveIntegrationTest.groovy
void "cache handles manual deletion of cached artifacts"() { given: def module = ivyHttpRepo.module('group', 'projectA', '1.2').publish() def cacheDir = getUserHomeCacheDir().toURI() and: buildFile << """ repositories { ivy { url "${ivyHttpRepo.uri}" } } configurations { compile } dependencies { compile 'group:projectA:1.2' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 01:27:55 UTC 2024 - 9.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskIntegrationTest.groovy
buildFile << defineCacheableTask() withBuildCache() succeeds "cacheable", "--info" expect: outputContains "Using local directory build cache for the root build (location = ${cacheDir}, removeUnusedEntriesAfter = 7 days)." } def "cache entry contains expected contents"() { buildFile << defineCacheableTask() when: withBuildCache().run("cacheable") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 20 17:51:57 UTC 2024 - 5.7K bytes - Viewed (0)