Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,575 for Reused (0.22 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParameterizedModelQueryIntegrationTest.groovy

            buildFile << """
                plugins.apply(my.MyPlugin)
                println("configuring root")
            """
        }
    
        def "parameterized models are reused in the same build action"() {
            when:
            executer.withArguments(ENABLE_CLI)
            def models = runBuildAction(new FetchParameterizedCustomModelForEachProject(["fetch1", "fetch2", "fetch1", "fetch2"]))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskOutputs.java

        /**
         * <p>
         *     Adds a predicate to determine whether previous outputs of this task can be reused.
         *     The given closure is executed at task execution time.
         *     The closure is passed the task as a parameter.
         *     If the closure returns false, previous outputs of this task cannot be reused and the task will be executed.
         *     That means the task is out-of-date and no outputs will be loaded from the build cache.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 11:37:21 UTC 2019
    - 7.5K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/ExecutionEngine.java

            /**
             * A list of messages describing the first few reasons encountered that caused the work to be executed.
             * An empty list means the work was up-to-date and hasn't been executed.
             */
            ImmutableList<String> getExecutionReasons();
    
            /**
             * If a previously produced output was reused in some way, the reused output's origin metadata is returned.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:17 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            assert !accessedFile.exists()
            configurationCacheRunLenient()
    
            then: "the cache entry is reused"
            configurationCache.assertStateLoaded()
    
            when: "there was no file system entry at the path used in configuration and a file is created at that path"
            assert accessedFile.createNewFile()
            configurationCacheRunLenient()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

            then:
            configurationCache.assertStateStored()
            outputContains("Calculating task graph as configuration cache cannot be reused because cached version information for thing:lib:1.+ has expired.")
            outputContains("result = [lib-1.3.jar]")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelModelQueryIntegrationTest.groovy

    import org.gradle.internal.cc.impl.fixtures.SomeToolingModel
    
    class IsolatedProjectsToolingApiParallelModelQueryIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
    
        def "intermediate model is cached and reused for nested concurrent requests"() {
            // Sleep to ensure concurrent requests for the same model catch up before the first one is finished
            withSomeToolingModelBuilderPluginInBuildSrc("""
                Thread.sleep(3000)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

            false                        | false                         | 1                   | "reused"
            true                         | false                         | 2                   | "not reused"
            false                        | true                          | 2                   | "not reused"
        }
    
        @Issue("GRADLE-3573")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/configurationCache/problemsFixed/tests/store-another.out

    Calculating task graph as configuration cache cannot be reused because system property 'someDestination' has changed.
    > Task :someTask
    
    BUILD SUCCESSFUL in 0s
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 189 bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheFixture.groovy

            def messages = reasons.collect { reason ->
                if (details.runsTasks) {
                    "Calculating task graph as configuration cache cannot be reused because $reason has changed."
                } else {
                    "Creating tooling model as configuration cache cannot be reused because $reason has changed."
                }
            }
    
            def found = messages.any { message -> spec.output.contains(message) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileCollectionIntegrationTest.groovy

            configurationCacheRun("report")
    
            then:
            fixture.assertStateStored() // TODO - it would be good to reuse a previous entry here
            outputContains("Calculating task graph as configuration cache cannot be reused because an input to build file 'build.gradle' has changed.")
            outputContains(output1)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top