Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 126 for cacheDir (0.6 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt

        val lazyBuildTreeModelSideEffects = lazy { BuildTreeModelSideEffectStore(host, cacheIO, store) }
    
        private
        val lazyIntermediateModels = lazy { IntermediateModelController(host, cacheIO, store, calculatedValueContainerFactory, cacheFingerprintController) }
    
        private
        val lazyProjectMetadata = lazy { ProjectMetadataController(host, cacheIO, resolveStateFactory, store, calculatedValueContainerFactory) }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

            when:
            cleanBuildDir()
            withBuildCache().run "customTask"
            then:
            skipped ":customTask"
    
    
            when:
            buildFile << """
                customTask.outputs.cacheIf { false }
            """
    
            withBuildCache().run "customTask"
            cleanBuildDir()
    
            withBuildCache().run "customTask"
    
            then:
            executedAndNotSkipped ":customTask"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

        @Rule
        TestNameTestDirectoryProvider testDirectoryProvider = new TestNameTestDirectoryProvider(getClass())
        def testDir = testDirectoryProvider.testDirectory
    
        def cachedDir = testDir.file("cached")
        def cache = new TestInMemoryCacheFactory().open(cachedDir, "jars")
        def cacheBuilder = Stub(CacheBuilder) {
            open() >> cache
            withDisplayName(_) >> { cacheBuilder }
            withInitialLockMode(_) >> { cacheBuilder }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/IntermediateModelController.kt

            val (context, codecs) = cacheIO.writerContextFor(encoder)
            context.push(IsolateOwners.OwnerHost(host), codecs.userTypesCodec())
            context.runWriteOperation {
                write(value)
            }
        }
    
        override fun read(decoder: Decoder): IntermediateModel {
            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.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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