Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for BuildCache (0.2 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/cache/DefaultCacheConfigurationsTest.groovy

            cacheConfigurations.releasedWrappers.setRemoveUnusedEntriesAfterDays(2)
            cacheConfigurations.snapshotWrappers.setRemoveUnusedEntriesAfterDays(2)
            cacheConfigurations.buildCache.setRemoveUnusedEntriesAfterDays(2)
            cacheConfigurations.cleanup.set(Cleanup.DISABLED)
    
            then:
            noExceptionThrown()
    
            when:
            cacheConfigurations.finalizeConfigurationValues()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/SettingsDelegate.kt

            delegate.includeFlat(projectNames)
        }
    
        override fun getStartParameter(): StartParameter =
            delegate.startParameter
    
        override fun buildCache(action: Action<in BuildCacheConfiguration>) =
            delegate.buildCache(action)
    
        override fun getSourceControl(): SourceControl =
            delegate.sourceControl
    
        override fun getProviders(): ProviderFactory =
            delegate.providers
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 08:36:37 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/caching_android_projects.adoc

    https://blog.jetbrains.com/kotlin/2018/01/kotlin-1-2-20-is-out/[You can opt into it] (which is recommended) by adding the following to build scripts:
    
    ====
    include::sample[dir="snippets/buildCache/caching-android-projects/kotlin",files="build.gradle.kts[tags=cacheKapt]"]
    include::sample[dir="snippets/buildCache/caching-android-projects/groovy",files="build.gradle[tags=cacheKapt]"]
    ====
    
    == Unit test execution
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 12:54:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache-example-client/build.gradle.kts

     */
    
    plugins {
        id("gradlebuild.internal.java")
        id("application")
    }
    
    description = "Example client application using the build-cache library"
    
    dependencies {
        implementation(projects.buildCache)
        implementation(projects.buildCacheBase)
        implementation(projects.buildCacheLocal)
        implementation(projects.buildCachePackaging)
        implementation(projects.buildCacheSpi)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/CacheableTaskProgressEventsCrossVersionSpec.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
    - 5.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  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/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)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_settings_files.adoc

    The `Settings` object exposes a standard set of properties in your settings script.
    
    The following table lists a few commonly used properties:
    
    [%autowidth.stretch]
    |===
    | Name | Description
    
    | `buildCache`
    | The build cache configuration.
    
    | `plugins`
    | The container of plugins that have been applied to the settings.
    
    | `rootDir`
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 04:15:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top