Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for taskInputProperty (0.15 sec)

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

    // tag::reverse[]
    tasks.register('incrementalReverse', IncrementalReverseTask) {
        inputDir = file('inputs')
        outputDir = layout.buildDirectory.dir("outputs")
        inputProperty = project.properties['taskInputProperty'] ?: 'original'
    }
    // end::reverse[]
    
    incrementalReverse.mustRunAfter(originalInputs, updateInputs, removeInput, removeOutput)
    
    // tag::incremental-task[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/tasks/incrementalTask/kotlin/build.gradle.kts

    // tag::reverse[]
    tasks.register<IncrementalReverseTask>("incrementalReverse") {
        inputDir = file("inputs")
        outputDir = layout.buildDirectory.dir("outputs")
        inputProperty = project.findProperty("taskInputProperty") as String? ?: "original"
    }
    // end::reverse[]
    
    tasks.named("incrementalReverse") { mustRunAfter("originalInputs", "updateInputs", "removeInput", "removeOutput") }
    
    // tag::incremental-task[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/custom_tasks.adoc

    The following example sets the project property `taskInputProperty` to a new value when running the `incrementalReverse` task.
    That project property is used to initialize the task's `inputProperty` property, as you can see in the <<ex:incremental_task_definition,first example of this section>>.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 25 15:21:05 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top