Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,024 for task3 (0.06 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr3_multi_project_builds.adoc

    }
    
    tasks.named<Test>("test") {
        useJUnitPlatform()
    }
    
    tasks.register("task3"){
        println("REGISTER TASK3: This is executed during the configuration phase")
    }
    
    tasks.named("task3"){
        println("NAMED TASK3: This is executed during the configuration phase")
        doFirst {
            println("NAMED TASK3 - doFirst: This is executed during the execution phase")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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