Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 65 for BuildCache (0.18 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheConfigurationsContinuousIntegrationTest.groovy

                        downloadedResources.removeUnusedEntriesAfterDays = 10
                        createdResources.removeUnusedEntriesAfterDays = 5
                        buildCache.removeUnusedEntriesAfterDays = 15
                    }
                }
            """
            settingsFile << """
                caches {
                    assert markingStrategy.get() == MarkingStrategy.NONE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/CachedKotlinTaskExecutionIntegrationTest.groovy

            'build.gradle.kts'
        }
    
        def setup() {
            settingsFile << "rootProject.buildFileName = '$defaultBuildFileName'"
    
            file("buildSrc/settings.gradle.kts") << """
                buildCache {
                    local {
                        directory = "${cacheDir.absoluteFile.toURI()}"
                        isPush = true
                    }
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/CacheableTaskOutcomeCrossVersionSpec.groovy

                        outputFile.text = "done"
                    }
                }
    """
            def cacheDir = file("task-output-cache")
            settingsFile << """
                buildCache {
                    local {
                        directory = "${TextUtil.escapeString(cacheDir.absolutePath)}"
                    }
                }
            """
            file("input").text = "input file"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/cache/CacheConfigurations.java

        /**
         * Configures caching for entries in the local build cache.
         * By default, build cache entries are removed after 7 days of not being used.
         *
         * @since 8.8
         */
        void buildCache(Action<? super CacheResourceConfiguration> cacheConfiguration);
    
        /**
         * Returns the cache configuration for local build cache.
         *
         * @since 8.8
         */
        CacheResourceConfiguration getBuildCache();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:02:29 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-spi/src/integTest/groovy/org/gradle/caching/BuildCacheServiceExtensibilityIntegrationTest.groovy

                        $additionalLogic
                    }
    
                    @Override
                    void close() throws IOException {
                    }
                }
    
                buildCache {
                    registerBuildCacheService(CustomBuildCache, CustomBuildCacheServiceFactory)
    
                    local {
                        enabled = false
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:09:36 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheConfigurationsCompositeBuildTest.groovy

                        downloadedResources.removeUnusedEntriesAfterDays = 10
                        createdResources.removeUnusedEntriesAfterDays = 5
                        buildCache.removeUnusedEntriesAfterDays = 15
                    }
                }
            """
    
            file('foo').createDir().createFile('settings.gradle')
            file('bar').createDir().createFile('settings.gradle')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:02:29 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

                    description = "Generates a 1MB file"
                }
            """
        }
    
        def withDeprecatedBuildCacheRetentionInDays(long period) {
            settingsFile << """
                buildCache {
                    local {
                        removeUnusedEntriesAfterDays = ${period}
                    }
                }
            """
        }
    
        def expectRetentionMethodDeprecationWarning() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/BuildScanIntegrationTest.kt

            }
        }
    
        private
        fun withLocalBuildCacheSettings(buildCacheDir: File): File =
            withSettings(
                """
                buildCache {
                    local {
                        directory = file("${buildCacheDir.normalisedPath}")
                        isEnabled = true
                        isPush = true
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/cache/DefaultCacheConfigurations.java

        private static final String DOWNLOADED_RESOURCES = "downloadedResources";
        private static final String CREATED_RESOURCES = "createdResources";
        private static final String BUILD_CACHE = "buildCache";
        static final String UNSAFE_MODIFICATION_ERROR = "The property '%s' was modified from an unsafe location (for instance a settings script or plugin).  " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache-spi/src/main/java/org/gradle/caching/BuildCacheService.java

     * </p>
     * <p>
     *     Every build cache implementation should define a {@code org.gradle.caching.configuration.BuildCache} configuration and {@code BuildCacheServiceFactory} factory.
     * </p>
     *
     * @since 3.5
     */
    public interface BuildCacheService extends Closeable {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:59:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top