Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 676 for taskZ (0.05 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/build/PlannedNodeGraphTest.groovy

            dependsOn(task2, [task3])
            dependsOn(task3, [task4])
            dependsOn(transform1, [task4])
    
            when:
            collector.collectNodes([task1, task2, task3, task4, transform1])
            def graph = collector.getGraph()
            def nodes = graph.getNodes(PlannedNodeGraph.DetailLevel.LEVEL1_TASKS) as List<TestPlannedNode>
            then:
            nodes.size() == 4
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 21 13:11:56 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy

                }
                tasks.named("task1").configure {
                    println "Configure again ${path}"
                }
                tasks.register("task2", SomeOtherTask) {
                    println "Configure ${path}"
                }
                tasks.register("task3")
                tasks.configureEach {
                    println "Received ${path}"
                }
                tasks.create("other") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanTest.groovy

            given:
            Task a = task("a")
            Task b = task("b")
            Task c = task("c")
            Task d = task("d", dependsOn: [b, a, c])
    
            when:
            addToGraphAndPopulate([d])
    
            then:
            executes(a, b, c, d)
        }
    
        def "schedules a single batch of tasks in name order"() {
            given:
            Task a = task("a")
            Task b = task("b")
            Task c = task("c")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  5. 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)
  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/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)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/tutorial_using_tasks.adoc

        doLast {
            println("Hello world!")
        }
    }
    ----
    
    Once the task is assigned to a group, it will be listed by `./gradlew tasks`:
    
    [source]
    ----
    $ ./gradlew tasks
    
    > Task :tasks
    
    Custom tasks
    ------------------
    hello - A lovely greeting task.
    ----
    
    To view information about a task, use the `help --task <task-name>` command:
    
    [source]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 00:09:06 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultSourceDirectorySetTest.groovy

            given:
            def task1 = Stub(Task)
            def task2 = Stub(Task)
            set.srcDir dir("dir1", task1)
            set.srcDir dir("dir2", task2)
    
            expect:
            dependencies(set) == [task1, task2] as Set
            dependencies(set.sourceDirectories) == [task1, task2] as Set
            dependencies(set.asFileTree) == [task1, task2] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 14.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/controlling_task_execution.adoc

    So if you only run `taskY` with `mustRunAfter`, you won't cause `taskX` to run.
    This is expressed as `taskY.mustRunAfter(taskX)`.
    
    ====
    include::sample[dir="snippets/tasks/mustRunAfter/kotlin",files="build.gradle.kts[]"]
    include::sample[dir="snippets/tasks/mustRunAfter/groovy",files="build.gradle[]"]
    
    ----
    $ gradle -q taskY taskX
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top