- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for FILE_STORE (0.13 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/CacheLayout.java
*/ public enum CacheLayout { MODULES(null, "modules", introducedIn("1.9-rc-1").incrementedIn("1.9-rc-2")), // If you update FILE_STORE, you may also need to update LocallyAvailableResourceFinderFactory FILE_STORE(MODULES, "files", introducedIn("1.9-rc-1")), META_DATA(MODULES, "metadata", // skipped versions were not used in a release introducedIn("1.9-rc-2")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 12:09:31 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultArtifactCacheMetadataTest.groovy
when: def metaData = new DefaultArtifactCacheMetadata(cache) File fileStore = metaData.getFileStoreDirectory() then: fileStore == new File(testCacheDir, CacheLayout.FILE_STORE.key) } def "calculates metadata store directory"() { given: TestFile testCacheDir = temporaryFolder.file("test/cache")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 01:27:55 UTC 2024 - 2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/WritableArtifactCacheLockingAccessCoordinator.java
.add(cacheMetaData.getFileStoreDirectory(), UnusedVersionsCacheCleanup.create(CacheLayout.FILE_STORE.getName(), CacheLayout.FILE_STORE.getVersionMapping(), usedGradleVersions),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/ParentPomsReadOnlyCacheDependencyResolutionTest.groovy
dependencies { implementation 'org.other:other:1.0' } """ when: fileInReadReadOnlyCache("modules-${CacheLayout.MODULES.version}/files-${CacheLayout.FILE_STORE.version}/org.readonly/parent/1.0").eachFileRecurse { it.delete() } withReadOnlyCache() other.allowAll() parent.allowAll() succeeds ':checkDeps' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 01:27:55 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultArtifactCacheMetadata.java
} @Override public File getCacheDir() { return cacheDir; } @Override public File getFileStoreDirectory() { return createCacheRelativeDir(CacheLayout.FILE_STORE); } @Override public File getExternalResourcesStoreDirectory() { return createCacheRelativeDir(CacheLayout.RESOURCES); } @Override public File getMetaDataStoreDirectory() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 12:07:22 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/CacheLayoutTest.groovy
cacheLayout.versionMapping.getVersionUsedBy(GradleVersion.version("1.9-rc-2")).get() == CacheVersion.of(2) } def "use file store layout"() { when: CacheLayout cacheLayout = CacheLayout.FILE_STORE then: cacheLayout.name == 'files' cacheLayout.key == 'files-2.1' cacheLayout.version == CacheVersion.parse("2.1") cacheLayout.version.toString() == '2.1'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 12:06:27 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultArtifactCacheLockingAccessCoordinatorTest.groovy
def cacheDir = temporaryFolder.createDir(CacheLayout.MODULES.key) def resourcesDir = cacheDir.createDir(CacheLayout.RESOURCES.key) def filesDir = cacheDir.createDir(CacheLayout.FILE_STORE.key) def metaDataDir = cacheDir.createDir(CacheLayout.META_DATA.key) def artifactCacheMetadata = Stub(ArtifactCacheMetadata) { getCacheDir() >> cacheDir
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:57 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy
def pattern = Pattern.compile(Pattern.quote(homeDir) + "/caches/${CacheLayout.MODULES.getKey()}/${CacheLayout.FILE_STORE.getKey()}/([^/]+/[^/]+/[^/]+)/[a-z0-9]+/") def text = file.text.replaceAll(pattern, '@CACHE_DIR@/$1/@SHA1@/') pattern = Pattern.compile("GRADLE_USER_HOME/${CacheLayout.MODULES.getKey()}/${CacheLayout.FILE_STORE.getKey()}/([^/]+/[^/]+/[^/]+)/[a-z0-9]+/")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 01:27:55 UTC 2024 - 17.2K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/CacheProjectIntegrationTest.groovy
} private TestFile findDependencyCacheDir() { def resolverArtifactCache = new TestFile(userHomeDir.file("caches/${CacheLayout.MODULES.getKey()}/${CacheLayout.FILE_STORE.getKey()}")) return resolverArtifactCache.file("commons-io/commons-io/") } private def testBuild(String taskName, String expected, String... args) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathFixture.groovy
private String cachePath(String group, String module, String version) { return Pattern.quote("${userHomeDir.path.replace(File.separator, '/')}") + "/caches/${CacheLayout.MODULES.getKey()}/${CacheLayout.FILE_STORE.getKey()}/" + Pattern.quote("${group}/${module}/${version}/") + "\\w+/" } void assertHasNoSource() { assert !entry.@sourcepath } String getJavadocLocation() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 01:27:55 UTC 2024 - 7.4K bytes - Viewed (0)