TaskPropertyNamingIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
No sub-properties for plural output properties

In 3.0 we introduced auto-generated pseudo-sub-properties for each file in a `@OutputDirectories` or `@OutputFiles` property (or files registered via `TaskOutputs.files()`). These pseudo-sub-properties used to take names like `someProperty$1` etc. This commit reverts that change. Instead we disable caching for tasks that employ output properties with multiple files/directories.

+review REVIEW-6205

    • -6
    • +11
    ./TaskPropertyNamingIntegrationTest.groovy
  1. … 10 more files in changeset.
Fix test

Order of files listed in an input directory is not consistent, we need to sort them to make sure we get the same result every time.

+review REVIEW-6204

    • -2
    • +2
    ./TaskPropertyNamingIntegrationTest.groovy
Test nested properties as well

+review REVIEW-6204

    • -0
    • +16
    ./TaskPropertyNamingIntegrationTest.groovy
Fix plural output property naming bug

+review REVIEW-6204

    • -0
    • +82
    ./TaskPropertyNamingIntegrationTest.groovy
  1. … 1 more file in changeset.