- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 212 for cacheDir (0.22 sec)
-
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) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/CachedKotlinTaskExecutionIntegrationTest.groovy
settingsFile << "rootProject.buildFileName = '$defaultBuildFileName'" file("buildSrc/settings.gradle.kts") << """ buildCache { local { directory = "${cacheDir.absoluteFile.toURI()}" isPush = true } } """ } @Requires(IntegTestPreconditions.NotParallelExecutor) @LeaksFileHandles
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 4.4K bytes - Viewed (0) -
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) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/PrecompiledGroovyPluginsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 28.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy
dependsOn tasks.named('update1'), tasks.named('update2') doLast { def cacheDir = file("build/tmp/.cache/expanded") assert cacheDir.list().size() == 1 // There should only be 1 file here, the single unzipped cache entry cacheDir.eachFile(groovy.io.FileType.DIRECTORIES) { File f -> assert f.name.startsWith('tar_') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 17:32:21 UTC 2024 - 28.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/directory_layout.adoc
==== [[dir:gradle_user_home:cache_marking]] === Cache marking Beginning with Gradle version 8.1, Gradle supports marking caches with a `CACHEDIR.TAG` file. It follows the format described in https://bford.info/cachedir/[the Cache Directory Tagging Specification]. The purpose of this file is to allow tools to identify the directories that do not need to be searched or backed up.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 23:00:38 UTC 2024 - 13K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultExclusiveCacheAccessCoordinatorTest.groovy
final File lockFile = tmpDir.file('lock.bin') final File cacheDir = tmpDir.file('caches') final FileLock lock = Mock() final BTreePersistentIndexedCache<String, Integer> backingCache = Mock() private DefaultCacheCoordinator newAccess(FileLockManager.LockMode lockMode) { new DefaultCacheCoordinator("<display-name>", lockFile, mode(lockMode), cacheDir, lockManager, initializationAction, cleanupExecutor, executorFactory) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 24K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
} } settingsFile << withHttpBuildCacheServer() when: withBuildCache().run "customTask" then: count == 1 httpBuildCacheServer.cacheDir.listFiles().size() == 1 } def "transient error on read is retried"() { given: settingsFile << withHttpBuildCacheServer() withBuildCache().run "customTask"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 7.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java
} @Override public GradleExecuter withReadOnlyCacheDir(File cacheDir) { return withReadOnlyCacheDir(cacheDir.getAbsolutePath()); } @Override public GradleExecuter withReadOnlyCacheDir(String cacheDir) { environmentVars.put(ArtifactCachesProvider.READONLY_CACHE_ENV_VAR, cacheDir); return this; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 55.1K bytes - Viewed (0)