Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 157 for Cacheable (0.21 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/CachingDisabledReasonCategory.java

         */
        DISABLE_CONDITION_SATISFIED,
    
        /**
         * The work has no outputs declared.
         */
        NO_OUTPUTS_DECLARED,
    
        /**
         * Work has declared output that is not cacheable.
         *
         * Reasons for non-cacheable outputs:
         * <ul>
         *     <li>an output contains a file tree,</li>
         *     <li>an output is not tracked.</li>
         * </ul>
         */
        NON_CACHEABLE_OUTPUT,
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/execution/DefaultTaskCacheabilityResolverTest.groovy

            def reason = determineNoCacheReason(
                [],
                [cacheableOutputProperty],
                [spec({ false }, "Cacheable test")]
            )
    
            then:
            reason.category == CachingDisabledReasonCategory.ENABLE_CONDITION_NOT_SATISFIED
            reason.message == "'Cacheable test' not satisfied"
        }
    
        def "error message contains which cacheIf spec failed to evaluate"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 18 08:25:11 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/action/DefaultConfigurableRule.java

        public boolean isCacheable() {
            return cacheable;
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            DefaultConfigurableRule<?> that = (DefaultConfigurableRule<?>) o;
            return cacheable == that.cacheable &&
                Objects.equal(rule, that.rule) &&
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 22 21:39:35 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/DefaultTaskClassInfoStoreTest.groovy

        def "cacheable tasks are detected"() {
            expect:
            taskClassInfoStore.getTaskClassInfo(MyCacheableTask).cacheable
        }
    
        private static class MyNonCacheableTask extends MyCacheableTask {}
    
        def "cacheability is not inherited"() {
            expect:
            !taskClassInfoStore.getTaskClassInfo(MyNonCacheableTask).cacheable
        }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 03 06:55:11 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransformRegistrationFactory.java

            TypeMetadata actionMetadata = actionMetadataStore.getTypeMetadata(implementation);
            boolean cacheable = implementation.isAnnotationPresent(CacheableTransform.class);
            DefaultTypeValidationContext validationContext = DefaultTypeValidationContext.withoutRootType(cacheable);
            actionMetadata.visitValidationFailures(null, validationContext);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 11:18:50 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/CacheableTaskOutcomeCrossVersionSpec.groovy

    class CacheableTaskOutcomeCrossVersionSpec extends ToolingApiSpecification {
        def setup() {
            buildFile << """
                apply plugin: 'base'
    
                task cacheable {
                    def outputFile = new File(buildDir, "output")
                    inputs.file("input")
                    outputs.file(outputFile)
                    outputs.cacheIf { true }
    
                    doLast {
    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/software/dependency-management/src/main/java/org/gradle/internal/resource/transfer/CachingTextUriResourceLoader.java

        }
    
        /**
         * Is {@code source} a cacheable transport scheme (e.g., http)?
         *
         * Schemes like file:// are not cacheable.
         */
        private boolean isCacheableScheme(URI source) {
            return cachedSchemes.contains(source.getScheme());
        }
    
        /**
         * Is {@code source} a cacheable URL?
         *
         * A URI is not cacheable if it uses a query string because our underlying infrastructure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/action/DefaultConfigurableRules.java

        }
    
        private final List<ConfigurableRule<DETAILS>> configurableRules;
        private final boolean cacheable;
    
        public DefaultConfigurableRules(List<ConfigurableRule<DETAILS>> rules) {
            this.configurableRules = ImmutableList.copyOf(rules);
    
            cacheable = computeCacheable();
        }
    
        private boolean computeCacheable() {
            boolean isCacheable = false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 04 12:43:55 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  9. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/api/internal/tasks/execution/ExecuteTaskBuildOperationType.java

             * Null if the task was cacheable.
             * Not null if {@link #getCachingDisabledReasonCategory()} is not null.
             */
            @Nullable
            String getCachingDisabledReasonMessage();
    
            /**
             * The categorisation of the why the task was not cacheable.
             * Null if the task was cacheable.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/buildCache/cacheable-bundle/groovy/settings.gradle

    rootProject.name = 'cacheable-bundle'...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 38 bytes
    - Viewed (0)
Back to top