Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,406 for task3 (0.51 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

        }
    
        def "has union of producer task from providers unless producer task attached"() {
            given:
            def task1 = Stub(Task)
            def task2 = Stub(Task)
            def task3 = Stub(Task)
            def producer = Stub(Task)
            property.set(supplierWithProducer(task1))
            property.addAll(supplierWithProducer(task2))
            property.add(supplierWithProducer(task3))
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            given:
            Task broken = task("broken", type: Async, failure: new RuntimeException())
            Task finalizerDep = task("finalizerDep", type: Async, dependsOn: [broken])
            Task finalizer = task("finalizer", type: Async, dependsOn: [finalizerDep])
            Task finalized = task("finalized", type: Async, finalizedBy: [finalizer])
            Task task = task("task", type: Async, dependsOn: [finalized])
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

        }
    
        def "has union of producer task from providers unless producer task attached"() {
            given:
            def task1 = Stub(Task)
            def task2 = Stub(Task)
            def task3 = Stub(Task)
            def producer = Stub(Task)
            property.set(supplierWithProducer(task1))
            property.putAll(supplierWithProducer(task2))
            property.put('a', supplierWithProducer(task3, '1'))
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/BuildPhaseOperationEventCrossVersionTest.groovy

            file("a/build.gradle") << """
                tasks.register("taskA")
                tasks.register("taskB") {
                    dependsOn 'taskA'
                }
                tasks.register("taskC") {
                    dependsOn 'taskB'
                }
                tasks.register("taskD")
            """
            file("b/build.gradle") << """
                tasks.register("taskA")
            """
            file("c/build.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 10:41:50 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/optimizing-performance/performance.adoc

    image::performance/timeline-not-cacheable.png[title="Timeline screen with 'not cacheable' tasks only"]
    
    Sort by task duration on the timeline screen to highlight tasks with great time saving potential.
    The build scan above shows that `:task1` and `:task3` could be improved and made cacheable
    and shows why Gradle didn't cache them.
    
    == Create builds for specific developer workflows
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 03:39:56 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy

                }
    
                task secondTask(type: MultipleWorkItemTask) {
                    doLast { submitWorkItem("task2") }
                }
    
                task allTasks {
                    dependsOn firstTask, secondTask
                }
            """
    
            blockingHttpServer.expectConcurrent("task1-1", "task2")
            blockingHttpServer.expectConcurrent("task1-2")
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/publish/DefaultPublishArtifactTest.groovy

    import org.gradle.api.Task
    
    public class DefaultPublishArtifactTest extends AbstractPublishArtifactTest {
    
        def "init"() {
            given:
            def task1 = Mock(Task)
            def task2 = Mock(Task)
    
            when:
            def publishArtifact = new DefaultPublishArtifact(testName, testExt, testType,
                    testClassifier, date, testFile, task1, task2)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 24 15:34:51 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/AbstractWorkerExecutorIntegrationTest.groovy

        }
    
        void assertSameDaemonWasUsed(String task1, String task2) {
            fixture.list.each {
                assert outputFileDir.file(task1).file(it).text == outputFileDir.file(task2).file(it).text
            }
        }
    
        void assertDifferentDaemonsWereUsed(String task1, String task2) {
            fixture.list.each {
                assert outputFileDir.file(task1).file(it).text != outputFileDir.file(task2).file(it).text
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDependencyInferenceIntegrationTest.groovy

            buildFile << """
                def taskA = tasks.create("a", FileProducer) {
                    // no output value
                }
                def taskB = tasks.create("b", FileProducer) {
                    // no output value
                }
                tasks.register("c") {
                    dependsOn taskA.output.orElse(taskB.output)
                }
            """
    
            when:
            run("c")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 14:20:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/Task.java

     * next task by throwing a {@link org.gradle.api.tasks.StopExecutionException}. Using these exceptions allows you to
     * have precondition actions which skip execution of the task, or part of the task, if not true.</p>
     *
     * <a id="dependencies"></a><h3>Task Dependencies and Task Ordering</h3>
     *
     * <p>A task may have dependencies on other tasks or might be scheduled to always run after another task.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 17:25:12 UTC 2024
    - 31.6K bytes
    - Viewed (0)
Back to top