Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CustomBuildCache (0.13 sec)

  1. subprojects/core/src/test/groovy/org/gradle/caching/configuration/internal/DefaultBuildCacheConfigurationTest.groovy

            def buildCacheConfiguration = createConfig()
            def original = Stub(CustomBuildCache)
            when:
            buildCacheConfiguration.remote(CustomBuildCache) { config ->
                original = config
            }
            then:
            buildCacheConfiguration.remote == original
            1 * instantiator.newInstance(CustomBuildCache) >> original
            0 * _
    
            BuildCache updated = null
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 12 13:13:02 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/FinalizeBuildCacheConfigurationBuildOperationIntegrationTest.groovy

                    @Override void close() throws IOException {}
                }
                class CustomBuildCache extends AbstractBuildCache {}
                class CustomBuildCacheFactory implements BuildCacheServiceFactory<CustomBuildCache> {
                    @Override BuildCacheService createBuildCacheService(CustomBuildCache configuration, Describer describer) {
                        describer.type('$type').config('directory', '$directory')
    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/caching/configuration/internal/BuildCacheConfigurationIntegrationTest.groovy

                ${declareNoopBuildCacheService()}
    
                class CustomBuildCache extends AbstractBuildCache {}
                class AnotherBuildCache extends AbstractBuildCache {}
    
                class CustomBuildCacheFactory implements BuildCacheServiceFactory<CustomBuildCache> {
                    @Override BuildCacheService createBuildCacheService(CustomBuildCache configuration, Describer describer) {
                        new NoOpBuildCacheService()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 19 20:09:35 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache-spi/src/integTest/groovy/org/gradle/caching/BuildCacheServiceExtensibilityIntegrationTest.groovy

            """
                class CustomBuildCache extends AbstractBuildCache {
                    String shouldFail
                }
    
                class CustomBuildCacheServiceFactory implements BuildCacheServiceFactory<CustomBuildCache> {
                    CustomBuildCacheService createBuildCacheService(CustomBuildCache configuration, Describer describer) {
                        return new CustomBuildCacheService()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:09:36 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/caching/BuildCacheServiceFactory.java

     * <p>
     * In {@literal settings.gradle}:
     * </p>
     *
     * <pre>
     *     buildCache {
     *         // Register custom build cache implementation
     *         registerBuildCacheService(CustomBuildCache, CustomBuildCacheFactory)
     *
     *         remote(CustomBuildCache) {
     *             // configure custom build cache.
     *         }
     *     }
     * </pre>
     *
     * @param <T> the type of build cache configuration this factory can handle.
     * @since 3.5
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 08 17:15:17 UTC 2019
    - 3.6K bytes
    - Viewed (0)
Back to top