TaskCacheabilityReasonIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove unnecessary @Unroll annotations from "core"

    • -8
    • +4
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 121 more files in changeset.
Fix tests that were using file ops on Project in scripts under test

project.file(), project.fileTree(),

project.copy(), project.sync(),

project.delete(), project.mkdir(),

etc..

replaced by using public services ObjectFactory, ProjectLayout,

FileSystemOperations, and direct Java/Groovy/Kotlin API stdlib usage

for mkdirs() or creating new File instances.

or simply by capturing just the File instances when possible.

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -4
    • +9
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 17 more files in changeset.
Fix TaskCacheabilityReasonIntegrationTest

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -5
    • +13
    ./TaskCacheabilityReasonIntegrationTest.groovy
Fix TaskCacheabilityReasonIntegrationTest

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -5
    • +13
    ./TaskCacheabilityReasonIntegrationTest.groovy
Moar whitespace ...

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +3
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 25 more files in changeset.
Moar whitespace ...

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +3
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 25 more files in changeset.
Annotate tests for instant execution after recent changes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -1
    • +0
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 16 more files in changeset.
Annotate tests for instant execution after recent changes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +0
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 20 more files in changeset.
Annotate tests for instant execution after recent changes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +0
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 20 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +3
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in :core

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +3
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 99 more files in changeset.
Annotate integ tests failing with instant execution in :core

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +3
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 99 more files in changeset.
Annotate integ tests failing with instant execution in :core

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +3
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 100 more files in changeset.
Fix test

    • -1
    • +1
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 1 more file in changeset.
Fix test

    • -1
    • +1
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 1 more file in changeset.
Fix test

    • -1
    • +1
    ./TaskCacheabilityReasonIntegrationTest.groovy
Fix non-cacheable reason when scan plugin is applied (#8908)

    • -7
    • +14
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 2 more files in changeset.
Fix non-cacheable reason when scan plugin is applied

    • -7
    • +14
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 2 more files in changeset.
Non-cacheable should be provided as caching disabled reason

for a task which does not have caching enabled, even if it doesn't

declare outputs.

    • -1
    • +16
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 1 more file in changeset.
Address review feedback

    • -3
    • +8
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 16 more files in changeset.
Fix test on Windows

    • -1
    • +1
    ./TaskCacheabilityReasonIntegrationTest.groovy
Fix cache disabled reason for tasks with no declared outputs

    • -13
    • +0
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 3 more files in changeset.
Fix tests

    • -122
    • +128
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 11 more files in changeset.
Report relative path for overlapping outputs (#7816)

when caching has been disabled.

    • -1
    • +1
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 4 more files in changeset.
Calculate caching state outside of TaskOutputs

    • -1
    • +1
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 10 more files in changeset.
Use separate reason for disabling caching

Also disable caching if any FileTree is used as output. We don't support DirectoryFileTrees as `@OutputDirectory` outputs either, so no reason to support them in plural outputs either.

    • -8
    • +16
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 5 more files in changeset.
Enable caching for most plural outputs

When @OutputFiles or @OutputDirectories is used with an Iterable (instead of a Map), we previously disabled caching without much explanation. The original reason for this was that we expected a difference in cardinality of outputs between the task producing the output and the one consuming it. However, if we represent each entry in the collection as an indexed property, then unmatched cardinality will produce a different cache key anyway. Thus there's no need for this limitation.

    • -3
    • +5
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 6 more files in changeset.
Dogfood ImmutableFileCollection on production code (#4988)

This reverts commit 13eaebc2b1244511dcbff4c59cd41253e3b69642.

    • -1
    • +1
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 88 more files in changeset.
Revert "Dogfood ImmutableFileCollection on production code (#4988)"

This reverts commit 834632674ca29b6fd190857947338b2b54a9bb62.

The commit caused a bug in incremental compilation, causing changes

to go undetected.

    • -1
    • +1
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 88 more files in changeset.
Dogfood ImmutableFileCollection on production code (#4988)

Use ImmutableFileCollection in production code

    • -1
    • +1
    ./TaskCacheabilityReasonIntegrationTest.groovy
  1. … 88 more files in changeset.