Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for DirectoryBuildCache (0.27 sec)

  1. platforms/core-execution/build-cache-example-client/src/main/java/org/gradle/caching/example/ExampleBuildCacheClient.java

    import org.gradle.caching.internal.controller.BuildCacheController;
    import org.gradle.caching.internal.controller.service.BuildCacheLoadResult;
    import org.gradle.caching.local.internal.DirectoryBuildCache;
    import org.gradle.internal.file.TreeType;
    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.snapshot.DirectorySnapshot;
    import org.gradle.internal.snapshot.FileSystemLocationSnapshot;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 19:35:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/caching/internal/services/AbstractBuildCacheControllerFactory.java

    import org.gradle.caching.internal.controller.service.BuildCacheServiceRole;
    import org.gradle.caching.internal.origin.OriginMetadataFactory;
    import org.gradle.caching.local.DirectoryBuildCache;
    import org.gradle.internal.Cast;
    import org.gradle.internal.instantiation.InstanceGenerator;
    import org.gradle.internal.operations.BuildOperationContext;
    import org.gradle.internal.operations.BuildOperationDescriptor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 17:08:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/caching/internal/BuildCacheServices.java

    import org.gradle.caching.internal.services.BuildCacheControllerFactory;
    import org.gradle.caching.internal.services.DefaultBuildCacheControllerFactory;
    import org.gradle.caching.local.DirectoryBuildCache;
    import org.gradle.caching.local.internal.DirectoryBuildCacheServiceFactory;
    import org.gradle.internal.build.BuildState;
    import org.gradle.internal.build.RootBuildState;
    import org.gradle.internal.file.BufferProvider;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestBuildCache.groovy

                        push = $push
                    }
                }
            """
        }
    
        def remoteCacheConfiguration(boolean push = true) {
            """
                buildCache {
                    remote(DirectoryBuildCache) {
                        directory = '${cacheDir.absoluteFile.toURI()}'
                        push = $push
                    }
                }
            """
        }
    
        TestFile getCacheDir() {
            cacheDir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/caching/internal/FinalizeBuildCacheConfigurationBuildOperationType.java

            interface BuildCacheDescription {
    
                /**
                 * The class name of the DSL configuration type.
                 *
                 * E.g. {@code org.gradle.caching.local.DirectoryBuildCache}.
                 */
                String getClassName();
    
                /**
                 * The human friendly description of the type (e.g. "HTTP", "directory")
                 *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 10 08:07:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache.adoc

    By default, this directory resides in the Gradle User Home, but its location is configurable.
    
    For more details on the configuration options refer to the DSL documentation of link:{groovyDslPath}/org.gradle.caching.local.DirectoryBuildCache.html[DirectoryBuildCache].
    Here is an example of the configuration.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 11:30:10 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/CacheableTaskProgressEventsCrossVersionSpec.groovy

                buildCache {
                    local {
                        directory = '${localCache.absoluteFile.toURI()}'
                        push = true
                    }
                    remote(DirectoryBuildCache) {
                        directory = '${remoteCache.absoluteFile.toURI()}'
                        push = true
                    }
                }
            """.stripIndent()
    
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top