TaskDefinitionIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Tweak deprecation message.

    • -1
    • +1
    ./TaskDefinitionIntegrationTest.groovy
  1. … 1 more file in changeset.
Deprecate `AbstractTask` for removal in Gradle 7.0.

    • -2
    • +56
    ./TaskDefinitionIntegrationTest.groovy
  1. … 4 more files in changeset.
Remove always-true KOTLIN_SCRIPT test precondition

    • -20
    • +16
    ./TaskDefinitionIntegrationTest.groovy
  1. … 43 more files in changeset.
Ensure that the `toString()` implementation for a generated class can be used from the instance's constructor.

    • -0
    • +23
    ./TaskDefinitionIntegrationTest.groovy
  1. … 7 more files in changeset.
Add `BuildServiceParameters.None` marker type that is used to indicate that a build service does not take any parameters, to match the pattern used in other places.

Extract some validation logic from several places so it can be reused in the places where parameterized isolated objects, such as artifact transforms or build services, are registered.

    • -3
    • +3
    ./TaskDefinitionIntegrationTest.groovy
  1. … 35 more files in changeset.
Fix TaskDefinitionIntegrationTest

    • -0
    • +2
    ./TaskDefinitionIntegrationTest.groovy
Generate a basic display name for `Property` instances created as the value for a read-only managed property. Use the display name in 'this property has no value' error messages to help with problem diagnosis.

The display name could include some more context, could be used in more error messages, and be applied to more things. This commit is simply an incremental improvement and later changes will improve diagnostics further.

    • -25
    • +0
    ./TaskDefinitionIntegrationTest.groovy
  1. … 25 more files in changeset.
Make deprecations in TaskContainer throw errors

    • -4
    • +3
    ./TaskDefinitionIntegrationTest.groovy
  1. … 14 more files in changeset.
Add an outgoing variants report

This commit introduces an `outgoingVariants` task which generates

a report of the outgoing variants of a project. This is useful

for debugging and understanding variant aware resolution.

It becomes possible for a plugin author to understand what variants

are already produced by a project based on the plugins applied, and

what artifacts are attached to what variant.

    • -1
    • +1
    ./TaskDefinitionIntegrationTest.groovy
  1. … 9 more files in changeset.
Fix integ tests after new buit-in task

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

    • -1
    • +3
    ./TaskDefinitionIntegrationTest.groovy
  1. … 3 more files in changeset.
Add some more test coverage for using various `Property` types as task properties.

    • -1
    • +1
    ./TaskDefinitionIntegrationTest.groovy
  1. … 4 more files in changeset.
Add support for read-only properties with type `ConfigurableFileCollection` with an abstract getter on types instantiated by Gradle. Gradle will provide an implementation of the property and (lazily) create a file collection instance as required.

Currently works only in those places where project scope services are visible. This does not include the parameters object for an artifact transform. A subsequent commit will allow this feature to be used in more places.

    • -0
    • +25
    ./TaskDefinitionIntegrationTest.groovy
  1. … 6 more files in changeset.
Improve error reporting when attempting to instantiate an interface or a non-static inner class.

    • -0
    • +24
    ./TaskDefinitionIntegrationTest.groovy
  1. … 9 more files in changeset.
Add some validation of extension constructors, and tweak some error messages.

    • -2
    • +2
    ./TaskDefinitionIntegrationTest.groovy
  1. … 15 more files in changeset.
Add some test coverage of service injection into various types of domain objects.

    • -115
    • +4
    ./TaskDefinitionIntegrationTest.groovy
  1. … 4 more files in changeset.
Move test case from integTest to core project.

    • -0
    • +655
    ./TaskDefinitionIntegrationTest.groovy
  1. … 1 more file in changeset.