Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withDownloadedResourcesRetentionInDays (0.27 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy

        def "does not clean up resources and files that were recently used from caches when retention is configured greater than default"() {
            given:
            buildscriptWithDependency(snapshotModule)
            withDownloadedResourcesRetentionInDays(DEFAULT_MAX_AGE_IN_DAYS_FOR_DOWNLOADED_CACHE_ENTRIES * 2)
    
            when:
            succeeds 'resolve'
    
            then:
            def resource = findFile(cacheDir, 'resources-*/**/maven-metadata.xml')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/cache/internal/GradleUserHomeCleanupFixture.groovy

        }
    
        void withCreatedResourcesRetentionInDays(int days) {
            withCacheRetentionInDays(days, "createdResources")
        }
    
        void withDownloadedResourcesRetentionInDays(int days) {
            withCacheRetentionInDays(days, "downloadedResources")
        }
    
        void withBuildCacheRetentionInDays(int days) {
            withCacheRetentionInDays(days, "buildCache")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:02:29 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top