Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 157 for Cacheable (0.39 sec)

  1. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/BuildScriptCompileAvoidanceIntegrationTest.kt

                plugins { id("my-plugin") }
                $className().foo()
            """)
            configureProject().assertBuildScriptCompiled().assertOutputContains("bar")
    
            // Delete the JAR as this is not cacheable and by default JARs are not reproducible
            require(existing("build-logic/build/libs/build-logic.jar").delete())
    
            configureProject().assertBuildScriptCompilationAvoided().assertOutputContains("bar")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:42 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/tasks/GenerateXcodeProjectFileTask.java

     *
     * @see org.gradle.ide.xcode.XcodeProject
     * @since 4.2
     */
    @Incubating
    @DisableCachingByDefault(because = "Not made cacheable, yet")
    public abstract class GenerateXcodeProjectFileTask extends PropertyListGeneratorTask<XcodeProjectFile> {
        private static final String PRODUCTS_GROUP_NAME = "Products";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinder.java

                List<ChainState> tmp = toProcess;
                toProcess = nextDepth;
                nextDepth = tmp;
            }
    
            return results;
        }
    
        /**
         * Constructs a complete cacheable variant chain given a root transformed variant and the chain of variants
         * to apply to that root variant.
         *
         * @param stateChain The transform chain from the search state to apply to the root transformed variant.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutor.java

                    // 1. the cache policy said that the entry is still valid (for example, `--refresh-dependencies` wasn't called)
                    // 2. if the rule is cacheable, we have validated that its discovered inputs are still the same
                    return entry.getResult();
                } else if (LOGGER.isDebugEnabled()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/DynamicRevisionRemoteResolveWithMetadataSupplierIntegrationTest.groovy

            outputContains("Providing metadata for group:projectB:1.1")
        }
    
        private SimpleSupplierInteractions withPerVersionStatusSupplier(TestFile file = buildFile, boolean cacheable = true, String implementationChange = '') {
            file << """import org.gradle.api.artifacts.ComponentMetadataSupplier
              import org.gradle.api.artifacts.ComponentMetadataSupplierDetails
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 11:46:17 UTC 2024
    - 49K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache_performance.adoc

    1. Clean the cache directory to avoid any hits from previous builds (`rm -rf $GRADLE_USER_HOME/caches/build-cache-*`)
    2. Run the build (e.g. `./gradlew --build-cache clean assemble`), so that all the results from cacheable tasks get stored in the cache.
    3. Run the build again (e.g. `./gradlew --build-cache clean assemble`); depending on your build, you should see many of the tasks being retrieved from the cache.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 09:28:20 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/build_services.adoc

    It provides an alternative mechanism for hooking into a Gradle build and receiving information about task execution and operation completion.
    
    Build services are configuration cacheable.
    
    Gradle manages the service lifecycle, creating the service instance only when required and cleaning it up when no longer needed.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:10 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/best-practices/organizing_gradle_projects.adoc

    In turn, these filesystem changes may prevent Gradle's <<build_cache.adoc#build_cache,build cache>> from properly identifying and caching what would otherwise be cacheable tasks.
    
    [[sec:custom_gradle_distribution]]
    == Standardizing builds with a custom Gradle distribution
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:16:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/test/test.go

    test binary and the flags on the command line come entirely from a
    restricted set of 'cacheable' test flags, defined as -benchtime, -cpu,
    -list, -parallel, -run, -short, -timeout, -failfast, -fullpath and -v.
    If a run of go test has any test or non-test flags outside this set,
    the result is not cached. To disable test caching, use any test flag
    or argument other than the cacheable flags. The idiomatic way to disable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  10. pilot/pkg/xds/sds.go

    	for _, config := range relatedConfigs(model.ConfigKey{Kind: kind.Secret, Name: sr.Name, Namespace: sr.Namespace}) {
    		configs = append(configs, config.HashCode())
    	}
    	return configs
    }
    
    func (sr SecretResource) Cacheable() bool {
    	return true
    }
    
    func sdsNeedsPush(updates model.XdsUpdates) bool {
    	if len(updates) == 0 {
    		return true
    	}
    	for update := range updates {
    		switch update.Kind {
    		case kind.Secret:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top