Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for isPush (0.53 sec)

  1. subprojects/core/src/main/java/org/gradle/caching/internal/services/DefaultBuildCacheControllerFactory.java

            @Nullable DescribedBuildCacheService<BuildCache, BuildCacheService> remote
        ) {
            boolean localPush = local != null && local.config.isPush();
            boolean remotePush = remote != null && remote.config.isPush();
            return new BuildCacheServicesConfiguration(
                buildPath.getPath(),
                local != null ? local.service : null, localPush,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 17:08:26 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/buildCache/developer-ci-setup/kotlin/settings.gradle.kts

    rootProject.name = "developer-ci-setup"
    // tag::developer-ci-setup[]
    val isCiServer = System.getenv().containsKey("CI")
    
    buildCache {
        remote<HttpBuildCache> {
            url = uri("https://example.com:8123/cache/")
            isPush = isCiServer
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 281 bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/caching/configuration/AbstractBuildCache.java

         * {@inheritDoc}
         */
        @Override
        public void setEnabled(boolean enabled) {
            this.enabled = enabled;
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public boolean isPush() {
            return push;
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public void setPush(boolean push) {
            this.push = push;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 08 17:15:17 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/caching/internal/services/AbstractBuildCacheControllerFactory.java

                this.push = buildCache.isPush();
                this.type = type;
                this.config = config;
            }
    
            @Override
            public String getClassName() {
                return className;
            }
    
            @Override
            public boolean isPush() {
                return push;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 17:08:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/caching/configuration/BuildCache.java

        /**
         * Sets whether the build cache is enabled.
         */
        void setEnabled(boolean enabled);
    
        /**
         * Returns whether a given build can store outputs in the build cache.
         */
        boolean isPush();
    
        /**
         * Sets whether a given build can store outputs in the build cache.
         */
        void setPush(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)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/BuildScanIntegrationTest.kt

            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)
  7. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/caching/internal/FinalizeBuildCacheConfigurationBuildOperationType.java

                 */
                String getType();
    
                /**
                 * Whether push was enabled.
                 */
                boolean isPush();
    
                /**
                 * The advertised config parameters of the cache.
                 * No null values or keys.
                 * Ordered by key lexicographically.
                 *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 10 08:07:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/CachedKotlinTaskExecutionIntegrationTest.groovy

            file("buildSrc/settings.gradle.kts") << """
                buildCache {
                    local {
                        directory = "${cacheDir.absoluteFile.toURI()}"
                        isPush = true
                    }
                }
            """
        }
    
        @Requires(IntegTestPreconditions.NotParallelExecutor)
        @LeaksFileHandles
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache.adoc

    Gradle stores ("pushes") build outputs in any build cache that is enabled and has link:{javadocPath}/org/gradle/caching/configuration/BuildCache.html#isPush--[BuildCache.isPush()] set to `true`.
    
    By default, the local build cache has push enabled, and the remote build cache has push disabled.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 11:30:10 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt

    Method <org.gradle.caching.configuration.AbstractBuildCache.isPush()> does not have raw return type assignable to org.gradle.api.provider.Property in (AbstractBuildCache.java:0)
    Method <org.gradle.caching.configuration.BuildCache.isEnabled()> does not have raw return type assignable to org.gradle.api.provider.Property in (BuildCache.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 160.5K bytes
    - Viewed (0)
Back to top