Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 612 for task3 (0.06 sec)

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

    tasks.register("task1"){
        println("REGISTER TASK1: This is executed during the configuration phase")
    }
    
    tasks.register("task2"){
        println("REGISTER TASK2: This is executed during the configuration phase")
    }
    
    tasks.named("task1"){
        println("NAMED TASK1: This is executed during the configuration phase")
        doFirst {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 05:44:04 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/MultipleTaskOptionsIntegrationTest.groovy

        def "can configure tasks from command line in multiple projects"() {
            given:
            createDirs("project2")
            settingsFile << "include 'project2'"
            buildFile << """
                allprojects {
                    task someTask(type: SomeTask)
                }
                task task1 //extra stress
                task task2
    
                ${taskWithMultipleOptions()}
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr6_writing_tasks.adoc

    <2> You can use the link:{kotlinDslPath}/gradle/org.gradle.api.tasks/-task-collection/index.html[named()] method to configure existing tasks.
    =====
    [.multi-language-sample]
    =====
    .app/build.gradle
    [source, groovy]
    ----
    tasks.register("task1") {  // <1>
        println("REGISTER TASK1: This is executed during the configuration phase")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/background-tasks.md

    ```Python hl_lines="6-9"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    ## バックグラウンドタスクの追加
    
    *path operations 関数* 内で、`.add_task()` メソッドを使用してタスク関数を *background tasks* オブジェクトに渡します。
    
    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` は以下の引数を受け取ります:
    
    * バックグラウンドで実行されるタスク関数 (`write_notification`)。
    * タスク関数に順番に渡す必要のある引数の列 (`email`)。
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 15 16:12:39 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/background-tasks.md

    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    ## Add the background task
    
    Inside of your *path operation function*, pass your task function to the *background tasks* object with the method `.add_task()`:
    
    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` receives as arguments:
    
    * A task function to be run in the background (`write_notification`).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/background-tasks.md

    Kani Kim <******@****.***> 1707659311 +0900
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Feb 11 13:48:31 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskFailureIntegrationTest.groovy

                }
    
                tasks.create("other") {
                    dependsOn tasks.withType(SomeOtherTask).getByName("task1")
                }
            '''
    
            when:
            fails "other"
    
            then:
            outputDoesNotContain("Create :task1")
            outputDoesNotContain("Configure :task1")
            failure.assertHasCause("Task with name 'task1' not found")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/modelRules/basicRuleSourcePlugin/tests/basicRuleSourcePlugin-model-task.out

              | Rules:
                 ⤷ copyToTaskContainer
        + tasks
              | Type:   	org.gradle.api.tasks.diagnostics.TaskReportTask
              | Value:  	task ':tasks'
              | Creator: 	Project.<init>.tasks.tasks()
              | Rules:
                 ⤷ copyToTaskContainer
        + updateDaemonJvm
              | Type:   	org.gradle.buildconfiguration.tasks.UpdateDaemonJvm
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 15:10:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/core-plugins/base_plugin.adoc

    `assemble` — _lifecycle task_::
    Plugins and build authors should attach tasks that produce distributions and other consumable artifacts to this lifecycle task. For example, `jar` produces the consumable artifact for Java libraries. Attach tasks to this lifecycle task using `assemble.dependsOn(__task__)`.
    
    `build` — _lifecycle task_::
    _Depends on_: `check`, `assemble`
    +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/testprog/annotations.go

    		log.Fatalf("failed to start tracing: %v", err)
    	}
    
    	// Beginning of traced execution.
    	var wg sync.WaitGroup
    	ctx, task := trace.NewTask(bgctx, "task0") // EvUserTaskCreate("task0")
    	trace.StartRegion(ctx, "task0 region")
    
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		defer task.End() // EvUserTaskEnd("task0")
    
    		trace.StartRegion(ctx, "unended region")
    
    		trace.WithRegion(ctx, "region0", func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top