Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 67 of 67 for MyTask (0.17 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

                        task.$code
                    }
                }
    
                tasks.register("a", MyTask)
                tasks.register("b", MyTask) {
                    doLast(new MyAction())
                }
                tasks.register("c") {
                    doFirst(new MyAction())
                }
                tasks.register("d") {
                    doFirst { $code }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/controlling_task_execution.adoc

    ====
    include::sample[dir="snippets/tutorial/stopExecutionException/kotlin",files="build.gradle.kts[]"]
    include::sample[dir="snippets/tutorial/stopExecutionException/groovy",files="build.gradle[]"]
    
    ----
    $ gradle -q myTask
    include::{snippetsPath}/tutorial/stopExecutionException/tests/stopExecutionException.out[]
    ----
    ====
    
    This feature is helpful if you work with tasks provided by Gradle.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_5.adoc

    *Note* that it is still possible to pass `Task.dependsOn()` a `Provider` that returns a file and that represents a task output, for example `myTask.dependsOn(jar.archiveFile)` or `myTask.dependsOn(taskProvider.flatMap { it.outputDirectory })`, when the `Provider` is an annotated `@OutputFile` or `@OutputDirectory` property of a task.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/implementing_custom_tasks.adoc

    This is done via a `Property` class type.
    
    [.multi-language-sample]
    =====
    [source, kotlin]
    ----
    abstract class MyTask : DefaultTask() {
        // Avoid Java Bean properties
        @Input
        var myEagerProperty: String = "default value"
    
        // Use Gradle managed properties instead
        @Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 05:34:54 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    Consider the case where the set of attributes on a `Configuration` is changed after an `ArtifactView` is created.
    ====
    [.multi-language-sample]
    =====
    .build.gradle.kts
    [source,kotlin]
    ----
    tasks {
        myTask {
            inputFiles.from(configurations.classpath.incoming.artifactView {
                attributes {
                    // Add attributes to select a different type of artifact
                }
            }.files)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    Here's a simple example demonstrating how to set and read extra properties using the map syntax:
    
    .build.gradle.kts
    [source,kotlin]
    ----
    extra["myNewProperty"] = "initial value"  // <1>
    
    tasks.create("myTask") {
        doLast {
            println("Property: ${project.extra["myNewProperty"]}")  // <2>
        }
    }
    ----
    <1> Creates a new project extra property called `myNewProperty` and sets its value
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/x86/asm6.go

    	{AMOVW, Yml, Ynone, Ymsw, movMemReg2op, [4]uint8{0x0f, 0x01, 6, 0}},
    	{AMOVW, Ymsw, Ynone, Yml, movRegMem2op, [4]uint8{0x0f, 0x01, 4, 0}},
    
    	// ltr, str
    	{AMOVW, Yml, Ynone, Ytask, movMemReg2op, [4]uint8{0x0f, 0x00, 3, 0}},
    	{AMOVW, Ytask, Ynone, Yml, movRegMem2op, [4]uint8{0x0f, 0x00, 1, 0}},
    
    	/* load full pointer - unsupported
    	{AMOVL, Yml, Ycol, movFullPtr, [4]uint8{0, 0, 0, 0}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top