Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 212 for cacheDir (0.87 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCachePolicy.java

                    dependencyResolutionControl.cacheFor(value, unit);
                }
            });
        }
    
        public void cacheChangingModulesFor(final int value, final TimeUnit units) {
            keepChangingModulesFor = units.toMillis(value);
            eachModule(moduleResolutionControl -> {
                if (moduleResolutionControl.isChanging()) {
                    moduleResolutionControl.cacheFor(value, units);
                }
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 22:04:14 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionErrorHandlingIntegrationTest.groovy

                task firstTask {
                    outputs.cacheIf { true }
                    def outTxt = file("build/first.txt")
                    outputs.file(outTxt)
                    doLast {
                        outTxt.text = "Done"
                    }
                }
    
                task secondTask {
                    dependsOn firstTask
                    outputs.cacheIf { true }
                    def outTxt = file("build/second.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractPathSensitivityIntegrationSpec.groovy

            file("src/data/input.txt").text = "data"
    
            when:
            buildFile << """
                task copy(type: Copy) {
                    outputs.cacheIf { true }
                    from "src"
                    into "target"
                }
            """
    
            execute "copy"
            then:
            executedAndNotSkipped ":copy"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/BuildTreeModelSideEffectStore.kt

            val (context, codecs) = cacheIO.writerContextFor(encoder)
            context.push(IsolateOwners.OwnerHost(host), codecs.userTypesCodec())
            context.runWriteOperation {
                write(value)
            }
        }
    
        private
        fun read(decoder: Decoder): BuildTreeModelSideEffect {
            val (context, codecs) = cacheIO.readerContextFor(decoder)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy

        }
    
        def "cacheability for a task with a cacheIf is CACHE_IF_SPEC_NOT_SATISFIED"() {
            buildFile """
                task cacheable(type: Cacheable) {
                    outputs.cacheIf("always false") { false }
                }
            """
            when:
            withBuildCache().run "cacheable"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:59:01 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/execution/DefaultTaskCacheabilityResolverTest.groovy

                [spec({ true })],
            )
    
            then:
            reason.category == CachingDisabledReasonCategory.NO_OUTPUTS_DECLARED
            reason.message == "No outputs declared"
        }
    
        def "no cacheIf() means no caching"() {
            when:
            def reason = determineNoCacheReason(
                [],
                [cacheableOutputProperty]
            )
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 18 08:25:11 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/caching/internal/packaging/BuildCacheEntryPackingIntegrationTest.groovy

                    }
                }
    
                task createFile {
                    dependsOn printCharsetProperties
                    outputs.dir("dir")
                    outputs.cacheIf { true }
                    doLast {
                        file("dir/$fileName").text = "output"
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CleaningInMemoryCacheDecoratorFactory.java

        @Override
        protected <K, V> MultiProcessSafeAsyncPersistentIndexedCache<K, V> applyInMemoryCaching(String cacheId, MultiProcessSafeAsyncPersistentIndexedCache<K, V> backingCache, int maxEntriesToKeepInMemory, boolean cacheInMemoryForShortLivedProcesses) {
            MultiProcessSafeAsyncPersistentIndexedCache<K, V> delegate = super.applyInMemoryCaching(cacheId, backingCache, maxEntriesToKeepInMemory, cacheInMemoryForShortLivedProcesses);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/metadata/ProjectMetadataController.kt

    
    /**
     * In charge of serializing and deserializing the project components for Isolated Projects.
     */
    internal
    class ProjectMetadataController(
        private val host: DefaultConfigurationCache.Host,
        private val cacheIO: ConfigurationCacheIO,
        private val resolveStateFactory: LocalComponentGraphResolveStateFactory,
        store: ConfigurationCacheStateStore,
        calculatedValueContainerFactory: CalculatedValueContainerFactory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedPathSensitivityIntegrationTest.groovy

                task producer {
                    outputs.cacheIf { true }
                    outputs.file("build/outputs/producer.txt")
                    doLast {
                        file("build/outputs/producer.txt").text = "alma"
                    }
                }
    
                task consumer {
                    dependsOn producer
                    outputs.cacheIf { true }
                    inputs.file("build/outputs/producer.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top