Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 105 for Cacheable (0.62 sec)

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

                return CachingState.enabled(new DefaultBuildCacheKey(cacheKey), beforeExecutionState);
            } else {
                cachingDisabledReasons.forEach(reason ->
                    logger.warn("Non-cacheable because {} [{}]", reason.getMessage(), reason.getCategory()));
                return CachingState.disabled(cachingDisabledReasons, new DefaultBuildCacheKey(cacheKey), beforeExecutionState);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/tasks/PrefixHeaderFileGenerateTask.java

    import javax.inject.Inject;
    import java.io.File;
    
    /**
     * Generates a prefix header file from a list of headers to be precompiled.
     */
    @Incubating
    @DisableCachingByDefault(because = "Not made cacheable, yet")
    public abstract class PrefixHeaderFileGenerateTask extends DefaultTask {
        private String header;
        private File prefixHeaderFile;
        private final WorkerExecutor workerExecutor;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. docs/features/caching.md

        while (urlIterator.hasNext()) {
          if (urlIterator.next().startsWith("https://www.google.com/")) {
            urlIterator.remove()
          }
        }
    ```
    
    ### Troubleshooting
    
    1. Valid cacheable responses are not being cached
    
    Make sure you are reading responses fully as unless they are read fully, cancelled or stalled Responses will not be cached.
    
    ### Overriding normal cache behaviour
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/BuildEnvironmentReportTask.java

     * as every project automatically has a task of this type by the name {@code "buildEnvironment"}.
     *
     * @since 2.10
     */
    @UntrackedTask(because = "Produces only non-cacheable console output")
    public abstract class BuildEnvironmentReportTask extends DefaultTask {
    
        public static final String TASK_NAME = "buildEnvironment";
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 24 23:13:41 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  5. build-logic/profiling/src/main/kotlin/gradlebuild/jmh/tasks/JmhHTMLReport.kt

    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.TaskAction
    import org.gradle.work.DisableCachingByDefault
    
    
    @DisableCachingByDefault(because = "Not made cacheable, yet")
    abstract class JmhHTMLReport : DefaultTask() {
    
        @get:InputFile
        @get:PathSensitive(PathSensitivity.NAME_ONLY)
        abstract val csv: RegularFileProperty
    
        @get:OutputDirectory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  6. pkg/credentialprovider/provider.go

    	Provider DockerConfigProvider
    	Lifetime time.Duration
    
    	// ShouldCache is an optional function that returns true if the specific config should be cached.
    	// If nil, all configs are treated as cacheable.
    	ShouldCache func(DockerConfig) bool
    
    	// cache fields
    	cacheDockerConfig DockerConfig
    	expiration        time.Time
    	mu                sync.Mutex
    }
    
    // Enabled implements dockerConfigProvider
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 00:08:54 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  7. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/BuildBuilderGenerator.groovy

    /**
     * Uses the build-builder to generate Gradle projects of different kinds.
     *
     * @see <a href="https://github.com/adammurdoch/build-builder">build builder</a>
     */
    @DisableCachingByDefault(because = "Not made cacheable, yet")
    class BuildBuilderGenerator extends ProjectGeneratorTask {
        /**
         * Installation directory of the build-builder tool.
         */
        @PathSensitive(PathSensitivity.RELATIVE)
        @InputDirectory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultNodeValidator.java

            WorkValidationContext validationContext = node.getValidationContext();
            Class<?> taskType = GeneratedSubclasses.unpackType(node.getTask());
            // We don't know whether the task is cacheable or not, so we ignore cacheability problems for scheduling
            TypeValidationContext typeValidationContext = validationContext.forType(taskType, false);
            node.getTaskProperties().validateType(typeValidationContext);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 04 07:42:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/tasks/ExtractSymbols.java

    import org.gradle.work.DisableCachingByDefault;
    
    /**
     * Extracts the debug symbols from a binary and stores them in a separate file.
     *
     * @since 4.5
     */
    @DisableCachingByDefault(because = "Not made cacheable, yet")
    public abstract class ExtractSymbols extends DefaultTask {
        private final RegularFileProperty binaryFile;
        private final RegularFileProperty symbolFile;
        private final Property<NativePlatform> targetPlatform;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/GenerateProjectFileTask.java

    import java.io.File;
    import java.util.concurrent.Callable;
    
    /**
     * Task for generating a Visual Studio project file (e.g. {@code foo.vcxproj}).
     */
    @Incubating
    @DisableCachingByDefault(because = "Not made cacheable, yet")
    public abstract class GenerateProjectFileTask extends XmlGeneratorTask<VisualStudioProjectFile> {
        private DefaultVisualStudioProject visualStudioProject;
        private String gradleExe;
        private String gradleArgs;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top