Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 106 for BuildCache (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedImplementationIntegrationTest.groovy

                    public void apply(Settings settings) {
                        settings.getBuildCache().registerBuildCacheService(InMemoryBuildCache.class, InMemoryBuildCacheService.class);
                        settings.buildCache(new Action<BuildCacheConfiguration>() {
                            @Override
                            public void execute(BuildCacheConfiguration config) {
                                config.getLocal().setEnabled(false);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 20 12:09:58 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionErrorHandlingIntegrationTest.groovy

                        }
                    }
    
                    @Override
                    void close() throws IOException {
                    }
                }
    
                buildCache {
                    registerBuildCacheService(FailingBuildCache, FailingBuildCacheServiceFactory)
    
                    local {
                        enabled = false
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. subprojects/core/src/testFixtures/groovy/org/gradle/cache/internal/GradleUserHomeCleanupFixture.groovy

        void withDownloadedResourcesRetentionInDays(int days) {
            withCacheRetentionInDays(days, "downloadedResources")
        }
    
        void withBuildCacheRetentionInDays(int days) {
            withCacheRetentionInDays(days, "buildCache")
        }
    
        void withCacheRetentionInDays(int days, String resources) {
            def initDir = new File(gradleUserHomeDir, "init.d")
            initDir.mkdirs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:02:29 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DispatchingBuildCacheIntegrationTest.groovy

            outputFile.text == inputFile.text + 'local'
        }
    
        def 'push to the local cache by default'() {
            settingsFile.text = """
                buildCache {
                    local {
                        directory = '${localCache.cacheDir.toURI()}'
                    }
                    remote(DirectoryBuildCache) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 15:17:04 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCacheServiceFactory.java

                config("removeUnusedEntriesAfter", removeUnusedEntriesAfterDays + " days");
    
            // Use the deprecated retention period if configured on `DirectoryBuildCache`, or use the central 'buildCache' cleanup config if not.
            // If the deprecated property remains at the default, we can safely use the central value (which has the same default).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:35:55 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginTasksIntegrationTest.kt

            val secondLocation = "second-location"
            val cacheDir = newDir("cache-dir")
    
            withDefaultSettingsIn(firstLocation).appendText(
                """
                rootProject.name = "test"
                buildCache {
                    local {
                        directory = file("${cacheDir.normalisedPath}")
                    }
                }
                """
            )
            withBuildScriptIn(
                firstLocation,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 10:30:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/test/TestTaskPropertiesServiceIntegrationTest.groovy

                }
            }
        }
    
        def "can be used to disable storing task in build cache"() {
            given:
            def cacheDir = createDir("cache-dir")
            settingsFile << """
                buildCache {
                    local {
                        directory = file("${cacheDir.name}")
                    }
                }
            """
            buildFile << """
                plugins {
                    id 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top