- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for removeInput (0.16 sec)
-
platforms/documentation/docs/src/snippets/tasks/incrementalTask/groovy/build.gradle
inputsDir.file('4.txt').asFile.text = 'Content for new file 4.' } } // end::updated-inputs[] // tag::removed-input[] tasks.register('removeInput', Delete) { delete 'inputs/3.txt' } // end::removed-input[] // tag::removed-output[] tasks.register('removeOutput', Delete) { delete layout.buildDirectory.file("outputs/1.txt") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalTask/tests/incrementalTaskRemovedInput.sample.conf
commands: [{ executable: gradle args: originalInputs incrementalReverse flags: --quiet }, { executable: gradle args: removeInput incrementalReverse flags: --quiet expected-output-file: incrementalTaskRemovedInput.out
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 248 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalTask/kotlin/build.gradle.kts
inputsDir.file("4.txt").asFile.writeText("Content for new file 4.") } } // end::updated-inputs[] // tag::removed-input[] tasks.register<Delete>("removeInput") { delete("inputs/3.txt") } // end::removed-input[] // tag::removed-output[] tasks.register<Delete>("removeOutput") { delete(layout.buildDirectory.file("outputs/1.txt")) } // end::removed-output[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/custom_tasks.adoc
---- $ gradle -q updateInputs incrementalReverse include::{snippetsPath}/tasks/incrementalTask/tests/incrementalTaskUpdatedInputs.out[] ---- ==== NOTE: The various mutation tasks (`updateInputs`, `removeInput`, etc) are only present to demonstrate the behavior of incremental tasks. They should not be viewed as the kinds of tasks or task implementations you should have in your own build scripts.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Feb 25 15:21:05 UTC 2024 - 23.6K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy
when: succeeds(taskWithSources.taskPath) then: taskWithSources.outputFile.exists() executedAndNotSkipped(taskWithSources.taskPath) when: taskWithSources.removeInputs() and: succeeds(taskWithSources.taskPath) then: taskWithSources.outputsHaveBeenRemoved() executedAndNotSkipped(taskWithSources.taskPath) and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 23K bytes - Viewed (0)