Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,197 for task3 (0.04 sec)

  1. subprojects/core/src/test/groovy/org/gradle/execution/TaskNameResolvingBuildTaskSchedulerSpec.groovy

            then:
            0 * executionPlan._
        }
    
        def "expand task parameters to tasks"() {
            def startParameters = Mock(StartParameterInternal)
            TaskExecutionRequest request1 = Stub(TaskExecutionRequest)
            TaskExecutionRequest request2 = Stub(TaskExecutionRequest)
            def task1 = Stub(Task)
            def task2 = Stub(Task)
            def task3 = Stub(Task)
            def selection1 = Stub(TaskSelection)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/tutorial/dynamicDepends/kotlin/build.gradle.kts

    repeat(4) { counter ->
        tasks.register("task$counter") {
            doLast {
                println("I'm task number $counter")
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 196 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/tutorial/dynamicDepends/groovy/build.gradle

    4.times { counter ->
        tasks.register("task$counter") {
            doLast {
                println "I'm task number $counter"
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 193 bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultAntBuilderTest.groovy

            then:
            def task = project.tasks.target1
            task instanceof AntTarget
            task.target.name == 'target1'
    
            and:
            def task2 = project.tasks.target2
            task2 instanceof AntTarget
            task2.target.name == 'target2'
    
            and:
            def task3 = project.tasks.target3
            task3 instanceof AntTarget
            task3.target.name == 'target3'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 16:17:40 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  5. 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)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

            taskFactory.create(_ as TaskIdentity) >> task
    
            when:
            Task added = container.create([name: 'task', description: "some task"])
    
            then:
            added == task
            1 * task.setDescription("some task")
        }
    
        void 'can create task with group'() {
            def task = task("task")
            taskFactory.create(_ as TaskIdentity) >> task
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top