TaskInputFilePropertiesIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Deprecate TaskOutputs.getHasOutput

This method expose internal state that is expensive to maintain.

Instead of using it, user code can rely on declared task properties.

Signed-off-by: Lóránt Pintér <lorant@gradle.com>

    • -0
    • +15
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 4 more files in changeset.
Discover task dependencies via Buildable task inputs

When registering task input files that implement Buildable and Iterable<File>,

now task dependencies are discovered via getBuildDependencies().

Signed-off-by: Lóránt Pintér <lorant@gradle.com>

    • -0
    • +34
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 1 more file in changeset.
Deprecate TaskInputs.getSourceFiles()

This method expose internal state that is expensive to maintain.

Instead of using them, user code can rely on declared task properties.

    • -0
    • +1
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 3 more files in changeset.
Deprecate access to TaskInputs.getHasInputs() and getHasSourceFiles()

These methods expose internal state that is expensive to calculate.

Instead of using them, user code can rely on declared task properties.

    • -0
    • +20
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 3 more files in changeset.
Show deprecation warning when incorrect input is used for runtime API (#3202)

Instead of failing the build when incorrect inputs are given to `TaskInputs.file()` and `dir()`, we show a deprecation warning.

    • -0
    • +26
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 3 more files in changeset.
Revert "Show deprecation warning when incorrect input is used for runtime API (#3199)"

This reverts commit 6399f1584e462388718cf8ff32bd96b5cec6e91d.

    • -26
    • +0
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 3 more files in changeset.
Show deprecation warning when incorrect input is used for runtime API (#3199)

Instead of failing the build when incorrect inputs are given to `TaskInputs.file()` and `dir()`, we show a deprecation warning.

    • -0
    • +26
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 3 more files in changeset.
Rename property spec classes to be clearer

+review REVIEW-6326

    • -4
    • +1
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 21 more files in changeset.
Test for optional null input file values

+review REVIEW-6326

    • -0
    • +48
    ./TaskInputFilePropertiesIntegrationTest.groovy