Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,719 for taskZ (0.17 sec)

  1. platforms/documentation/docs/src/snippets/tasks/shouldRunAfterWithCycle/groovy/build.gradle

    def taskX = tasks.register('taskX') {
        doLast {
            println 'taskX'
        }
    }
    def taskY = tasks.register('taskY') {
        doLast {
            println 'taskY'
        }
    }
    def taskZ = tasks.register('taskZ') {
        doLast {
            println 'taskZ'
        }
    }
    taskX.configure { dependsOn(taskY) }
    taskY.configure { dependsOn(taskZ) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 365 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/tasks/shouldRunAfterWithCycle/kotlin/build.gradle.kts

    val taskX by tasks.registering {
        doLast {
            println("taskX")
        }
    }
    val taskY by tasks.registering {
        doLast {
            println("taskY")
        }
    }
    val taskZ by tasks.registering {
        doLast {
            println("taskZ")
        }
    }
    taskX { dependsOn(taskY) }
    taskY { dependsOn(taskZ) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 323 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/tasks/shouldRunAfterWithCycle/tests/shouldRunAfterWithCycle.out

    taskZ
    taskY
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 17 bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/DefaultGroupTaskReportModelTest.groovy

            def task2 = taskDetails('a:task_A')
            def task3 = taskDetails('a:a:task_A')
            def task4 = taskDetails('B:task_A')
            def task5 = taskDetails('c:task_A')
            def task6 = taskDetails('b:task_a')
            def task7 = taskDetails('a:task_Abc')
            def task8 = taskDetails('task_b')
            _ * target.groups >> ['group']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 10 12:50:23 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/TaskReportRendererTest.groovy

    Group tasks
    -----------
    :task1 - task1Description
    :task2
    :task3
    
    Rules
    -----
    rule1Description
    rule2Description
    '''
        }
    
        def writesTasksForSingleGroup() {
            TaskDetails task = taskDetails(':task1')
    
            when:
            renderer.addDefaultTasks([])
            renderer.startTaskGroup('group')
            renderer.addTask(task)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 10 12:50:23 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/AggregateMultiProjectTaskReportModelTest.groovy

            TaskDetails task3 = taskDetails(':sub:task')
            _ * task1.findTask(_) >> Mock(Task)
            _ * task2.findTask(_) >> Mock(Task)
            _ * task3.findTask(_) >> Mock(Task)
    
            TaskReportModel project1 = Mock()
            TaskReportModel project2 = Mock()
            _ * project1.groups >> (['group'] as LinkedHashSet)
            _ * project1.getTasksForGroup('group') >> ([task1, task2] as Set)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 31 16:45:11 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskCreationIntegrationTest.groovy

                tasks.register("task2", SomeTask) {
                    println "Configure ${path}"
                }
                tasks.register("task3", SomeTask)
            '''
    
            when:
            run("task1")
    
            then:
            outputContains("Create :task1")
            outputContains("Configure :task1")
            result.assertNotOutput(":task2")
            result.assertNotOutput(":task3")
    
            when:
            run("task2")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 13 09:05:07 UTC 2021
    - 9.8K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/execution/TaskNameResolverTest.groovy

            1 * tasks.names >> (['task1', 'task2'] as SortedSet)
            0 * tasks._
    
            when:
            def matches = asTasks(result['task1'])
    
            then:
            matches == [task1]
    
            and:
            1 * tasks.getByName('task1') >> task1
            0 * tasks._
        }
    
        def "lazily locates all tasks for multiple projects"() {
            given:
            def task1 = task('task1')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Oct 22 03:06:58 UTC 2022
    - 7.9K bytes
    - Viewed (0)
Back to top