Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for BuildCache (0.16 sec)

  1. subprojects/core-api/src/main/java/org/gradle/caching/configuration/BuildCache.java

     * limitations under the License.
     */
    
    package org.gradle.caching.configuration;
    
    /**
     * Configuration object for a build cache.
     *
     * @since 3.5
     */
    public interface BuildCache {
    
        /**
         * Returns whether the build cache is enabled.
         */
        boolean isEnabled();
    
        /**
         * Sets whether the build cache is enabled.
         */
        void setEnabled(boolean enabled);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 08 17:15:17 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/dsl/org.gradle.caching.configuration.BuildCache.xml

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/buildCache/http-build-cache/groovy/settings.gradle

    rootProject.name = 'http-build-cache'
    
    // tag::http-build-cache[]
    buildCache {
        remote(HttpBuildCache) {
            url = 'https://example.com:8123/cache/'
        }
    }
    // end::http-build-cache[]
    
    // tag::allow-untrusted-server[]
    buildCache {
        remote(HttpBuildCache) {
            url = 'https://example.com:8123/cache/'
            allowUntrustedServer = true
        }
    }
    // end::allow-untrusted-server[]
    
    // tag::use-expect-continue[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 584 bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/BuildCacheLocalCacheIntegrationTest.groovy

            settingsFile << """
                buildCache {
                    $localCacheConfig
                }
            """
            execute()
    
            then:
            cached()
            localCache.empty
    
            when:
            assert remoteCache.cacheDir.deleteDir()
            settingsFile << """
                buildCache.remote.enabled = false
                buildCache.local.enabled = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AbstractResolveCachingStateStep.java

        private final BuildCacheController buildCache;
        private final boolean emitDebugLogging;
    
        public AbstractResolveCachingStateStep(
            BuildCacheController buildCache,
            boolean emitDebugLogging
        ) {
            this.buildCache = buildCache;
            this.emitDebugLogging = emitDebugLogging;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/BuildCacheConfigurationExtensionsTest.kt

        fun registerBuildCacheService() {
    
            val buildCache = mock<BuildCacheConfiguration>()
            doNothing().`when`(buildCache).registerBuildCacheService(any<Class<DirectoryBuildCache>>(), any<Class<BuildCacheServiceFactory<DirectoryBuildCache>>>())
    
            buildCache.registerBuildCacheService(DirectoryBuildCacheServiceFactory::class)
    
            inOrder(buildCache) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/DirectoryBuildCacheFixture.groovy

    @SelfType(AbstractIntegrationSpec)
    trait DirectoryBuildCacheFixture {
        private TestBuildCache buildCache
    
        @Before
        void setupCacheDirectory() {
            // Make sure cache dir is empty for every test execution
            buildCache = new TestBuildCache(temporaryFolder.file("cache-dir").deleteDir().createDir())
            settingsFile << buildCache.localCacheConfiguration()
        }
    
        // Spock 2 executes @Before after the setup() methods
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/buildCache/http-build-cache/kotlin/settings.gradle.kts

    rootProject.name = "http-build-cache"
    // tag::http-build-cache[]
    buildCache {
        remote<HttpBuildCache> {
            url = uri("https://example.com:8123/cache/")
        }
    }
    // end::http-build-cache[]
    
    // tag::allow-untrusted-server[]
    buildCache {
        remote<HttpBuildCache> {
            url = uri("https://example.com:8123/cache/")
            isAllowUntrustedServer = true
        }
    }
    // end::allow-untrusted-server[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 602 bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/doc/c4/C4_2_Container.puml

    }
    
    System_Ext(buildCache, "Gradle Build Cache", "Local, Develocity Build Cache Node, etc...")
    
    Rel(dev, gradle, "Uses", "Command Line")
    Rel(dev, editor, "Uses", "GUI")
    
    Rel(provider, kotlinc, "Uses", "Embedded")
    Rel(plugin, kgp, "Applies")
    
    Rel(ideKotlin, kotlinc, "Uses")
    Rel(ideKotlin, resolver, "Loads", "Embedded")
    
    Rel(provider, buildCache, "Uses")
    Rel(kgp, buildCache, "Uses")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 17:46:30 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/doc/c4/C4_1_Context.puml

    System_Ext(kotlinTools, "Kotlin Toolchain", "kotlinc, Gradle plugin etc...")
    
    System_Ext(buildCache, "Gradle Build Cache", "Local, Develocity Build Cache Node, etc...")
    
    Rel(dev, gradle, "Uses", "Command Line")
    Rel(gradleKotlinDsl, kotlinTools, "Uses")
    Rel(gradleKotlinDsl, buildCache, "Uses")
    
    Rel(dev, ide, "Uses", "GUI")
    Rel_U(ide, gradle, "Uses", "Tooling API")
    Rel(ide, gradleKotlinDsl, "Uses")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 17:46:30 UTC 2023
    - 846 bytes
    - Viewed (0)
Back to top