Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for DirectoryBuildCache (0.3 sec)

  1. platforms/core-execution/build-cache-local/src/test/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheTest.groovy

        def persistentCache = Mock(PersistentCache) {
            getBaseDir() >> cacheDir
            withFileLock(_) >> { Runnable r -> r.run() }
        }
        def fileAccessTracker = Mock(FileAccessTracker)
        def cache = new DirectoryBuildCache(persistentCache, fileAccessTracker, ".failed")
        def key = TestHashCodes.hashCodeFrom(12345678)
        def hashCode = key.toString()
    
        def "does not store partial result"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 14:32:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/FinalizeBuildCacheConfigurationBuildOperationIntegrationTest.groovy

            then:
            def result = result()
    
            result.enabled
            result.localEnabled
            !result.remoteEnabled
    
            result.local.className == 'org.gradle.caching.local.DirectoryBuildCache'
            result.local.config.location == cacheDir.absoluteFile.toString()
            result.local.config.removeUnusedEntriesAfter == "7 days"
            result.local.type == 'directory'
            result.local.push == true
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DispatchingBuildCacheIntegrationTest.groovy

            settingsFile.text = """
                buildCache {
                    local {
                        directory = '${localCache.cacheDir.toURI()}'
                    }
                    remote(DirectoryBuildCache) {
                        directory = '${remoteCache.cacheDir.toURI()}'
                    }
                }
            """.stripIndent()
    
            when:
            withBuildCache().run cacheableTask
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 15:17:04 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

                    }
                }
            """
        }
    
        def expectRetentionMethodDeprecationWarning() {
            executer.expectDocumentedDeprecationWarning(
                "The DirectoryBuildCache.removeEntriesAfterDays property has been deprecated. " +
                    "This is scheduled to be removed in Gradle 9.0. " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_5.adoc

    This is no longer allowed as the local cache must always be a `DirectoryBuildCache`.
    
    Calls to `BuildCacheConfiguration.local(Class)` with anything other than `DirectoryBuildCache` as the type will fail the build.
    Calling these methods with the `DirectoryBuildCache` type will produce a deprecation warning.
    
    Use `getLocal()` and `local(Action)` instead.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

     * The `DirectoryBuildCache.setTargetSizeInMB(long)` method has been removed — use link:{groovyDslPath}/org.gradle.caching.local.DirectoryBuildCache.html#org.gradle.caching.local.DirectoryBuildCache:removeUnusedEntriesAfterDays[DirectoryBuildCache.removeUnusedEntriesAfterDays] instead.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/dsl/dsl.xml

                <tr>
                    <td>org.gradle.caching.configuration.BuildCacheConfiguration</td>
                </tr>
                <tr>
                    <td>org.gradle.caching.local.DirectoryBuildCache</td>
                </tr>
                <tr>
                    <td>org.gradle.caching.http.HttpBuildCache</td>
                </tr>
            </table>
        </section>
    
        <section>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 15:00:02 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  8. testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt

    Method <org.gradle.caching.local.DirectoryBuildCache.getDirectory()> does not have raw return type assignable to org.gradle.api.provider.Property in (DirectoryBuildCache.java:0)
    Method <org.gradle.caching.local.DirectoryBuildCache.getRemoveUnusedEntriesAfterDays()> does not have raw return type assignable to org.gradle.api.provider.Property in (DirectoryBuildCache.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 160.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    ```kotlin
    beforeSettings {
        caches {
            buildCache.setRemoveUnusedEntriesAfterDays(30)
        }
    }
    ```
    
    Calling link:{javadocPath}/org/gradle/caching/local/DirectoryBuildCache.html#setRemoveUnusedEntriesAfterDays-int-[buildCache.local.removeUnusedEntriesAfterDays] is deprecated and this method will be removed in Gradle 9.0.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
Back to top