TaskInputFilePropertiesIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix tests that were using project.services in scripts under test

using task.services instead, both are internal anyway

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

    • -1
    • +1
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 6 more files in changeset.
Moar whitespace ...

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

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

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

    • -1
    • +1
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 25 more files in changeset.
Fix scripts in test reaching out to project in task actions

where the fix is trivial

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

    • -1
    • +1
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 19 more files in changeset.
Fix scripts in test reaching out to project in task actions

where the fix is trivial

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

    • -1
    • +1
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 19 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -3
    • +3
    ./TaskInputFilePropertiesIntegrationTest.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
    ./TaskInputFilePropertiesIntegrationTest.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
    ./TaskInputFilePropertiesIntegrationTest.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
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 100 more files in changeset.
Fix more tests

    • -2
    • +2
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 12 more files in changeset.
Fix TaskInputFilePropertiesIntegrationTest

    • -1
    • +1
    ./TaskInputFilePropertiesIntegrationTest.groovy
Guard against `null` bean property values when visiting dependencies

Fixes #9674

    • -0
    • +40
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 1 more file in changeset.
Use public services in native plugins to construct `FileCollection` instances, rather than using internal `FileOperations`.

    • -4
    • +1
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 32 more files in changeset.
Use public services in native plugins to construct `FileCollection` instances, rather than using internal `FileOperations`.

    • -4
    • +1
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 32 more files in changeset.
Move some more direct usages of `DefaultConfigurableFileCollection` instances to instead delegate to `FileCollectionFactory`.

    • -5
    • +12
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 12 more files in changeset.
Move some more direct usages of `DefaultConfigurableFileCollection` instances to instead delegate to `FileCollectionFactory`.

    • -5
    • +12
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 12 more files in changeset.
Address more review feedback

    • -1
    • +1
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 12 more files in changeset.
Some polishing

    • -1
    • +1
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 24 more files in changeset.
Don't use propertySpecFactory for input files

    • -1
    • +3
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 51 more files in changeset.
Address last review feedback

Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>

    • -3
    • +1
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 2 more files in changeset.
Merge branch 'master' into input-files

# Conflicts:

# subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultPropertySpecFactory.java

# subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskInputs.java

# subprojects/core/src/main/java/org/gradle/api/internal/tasks/PropertySpecFactory.java

# subprojects/core/src/main/java/org/gradle/api/internal/tasks/ValidationActions.java

# subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/annotations/InputFilesPropertyAnnotationHandler.java

    • -6
    • +40
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 11 more files in changeset.
Improve error message for invalid inputs

    • -6
    • +40
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 1 more file in changeset.
Show current idea and start fixing tests

Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>

    • -1
    • +3
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 3 more files in changeset.
Expose deprecation warning messages and stacktraces via build operations (#5881)

Expose deprecation warnings as operation progress events

- introduce split of message, warning and advice

- make deprecation progress events immutable

- rework deprecation handling/messages to support more a richer model

- update build operation progress model

- tweak existing deprecation warnings to match new model

- Add performance test + make stacktrace calculation for build ops lazy

- Always include a trace with FeatureUsage now that its always required

    • -1
    • +1
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 65 more files in changeset.
Fix ignored tests, take 2

    • -5
    • +5
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 2 more files in changeset.
Revert "Fix ignored tests"

    • -3
    • +6
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 2 more files in changeset.
Fix ignored tests

    • -6
    • +3
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 2 more files in changeset.
Ignore failing tests temporarily

    • -0
    • +2
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 1 more file in changeset.
Re-use `TaskDependencyResolveContext` during task graph building (#3807)

All dependency resolution in Gradle should happen via TaskDependencyResolveContext during when building the task graph. Calling `DefaultTaskDependency.getDependencies(task)` should be avoided since it creates a new `TaskDependencyResolveContext` and needs to calculate the dependencies again.

`SkipTaskWithNoActionsExecuter` now re-uses the `TaskExecutionGraph` to determine the dependencies of a task instead of re-evaluating them.

After this commit, the task properties are resolved at three places:

- When building the task graph for walking the input files

- When checking if there a task can be executed in parallel with the currently running tasks based on on the declared outputs, destroyables and task local state

- For using the task properties during task execution

The last two places could still be unified into one, but that seems to be a little bit more complicated.

    • -1
    • +7
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 23 more files in changeset.
Remove deprecation of TaskInputs/Outputs query methods

Signed-off-by: Stefan Wolf <wolf@gradle.com>

    • -37
    • +0
    ./TaskInputFilePropertiesIntegrationTest.groovy
  1. … 5 more files in changeset.