DeferredTaskDefinitionIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix DeferredTaskDefinitionIntegrationTest

    • -0
    • +4
    ./DeferredTaskDefinitionIntegrationTest.groovy
Make deprecations in TaskContainer throw errors

    • -57
    • +30
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 14 more files in changeset.
Make deprecations in TaskContainer throw errors

    • -52
    • +54
    ./DeferredTaskDefinitionIntegrationTest.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
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 9 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
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 9 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
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 9 more files in changeset.
Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

The `TestFixturesPlugin` of our build has been simplified to leverage the native

test fixtures capabilities. Some noticeable changes:

- the `testFixtures` extension has been replaced with regular dependency declaration

- dependencies on test fixtures are now declared using the `testFixtures` keyword

- test fixtures properly declare an API and an implementation, meaning that the

implementation dependencies of test fixtures no longer leak into the compile

classpath of consumers (in particular tests)

    • -1
    • +1
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 88 more files in changeset.
WIP: Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

    • -1
    • +1
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 84 more files in changeset.
WIP: Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

    • -1
    • +1
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 84 more files in changeset.
WIP: Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

    • -1
    • +1
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 84 more files in changeset.
Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

The `TestFixturesPlugin` of our build has been simplified to leverage the native

test fixtures capabilities. Some noticeable changes:

- the `testFixtures` extension has been replaced with regular dependency declaration

- dependencies on test fixtures are now declared using the `testFixtures` keyword

- test fixtures properly declare an API and an implementation, meaning that the

implementation dependencies of test fixtures no longer leak into the compile

classpath of consumers (in particular tests)

    • -1
    • +1
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 88 more files in changeset.
WIP: Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

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

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

    • -1
    • +1
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 3 more files in changeset.
Add some validation of extension constructors, and tweak some error messages.

    • -2
    • +2
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 15 more files in changeset.
Remove pointless decoration from `TaskFactory` as the instantiation takes care of this.

    • -2
    • +2
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 7 more files in changeset.
Make AbstractArchiveTask.destinationDir mandatory

Prior to this commit the working directory was used when the

`destinationDir` was not set. Since this behavior does not play nice

with reproducible builds, it will now fail instead. However, it should

rarely happen because the `base` plugin provides a convention.

    • -0
    • +1
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 26 more files in changeset.
Make AbstractArchiveTask.destinationDir mandatory

Prior to this commit the working directory was used when the

`destinationDir` was not set. Since this behavior does not play nice

with reproducible builds, it will now fail instead. However, it should

rarely happen because the `base` plugin provides a convention.

    • -0
    • +1
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 26 more files in changeset.
WIP

    • -0
    • +46
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 5 more files in changeset.
Remove test showing we can add task from `register` method on container

    • -17
    • +0
    ./DeferredTaskDefinitionIntegrationTest.groovy
Fix integration tests that relied on placeholder behavior

    • -1
    • +1
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 7 more files in changeset.
Remove placeholder tasks

    • -1
    • +1
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 11 more files in changeset.
Fixup merge

    • -27
    • +0
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 3 more files in changeset.
Merge remote-tracking branch 'origin/release'

* origin/release:

Upgrade Kotlin DSL to 1.0-RC5

Introduce `AutoAppliedBuildScanPlugin#addBuildScanPluginDependencySpecTo`

Assert all tasks are executed as expected when tasks come from rules

Workaround rule problems described in #6249

Look for domain objects created by rules in named

Fix unit test on Windows

Ensure that ide destroy tasks always run before generate tasks

Make binary compatibility check happy

Reduce visibility of methods in AbstractScalaCompile

Move configuration of the publication to Scala plugin

Fix unit tests and doc TODOs

Reintroduce separate configuration to resolve incremental analysis files

Add publication late to avoid interfering with default publications

Make task property validator happy

Convert test to Spock

Usage variant aware dependency management to share analysis files

Rename test

Avoid iterating over tasks in subprojects from ScalaCompile

Reduce https://github.com/gradle/gradle/issues/6558 into generic task

Reproduce failure in https://github.com/gradle/gradle/issues/6558

    • -0
    • +56
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 2 more files in changeset.
Merge remote-tracking branch 'origin/sg/lazy/cp-task-rules' into release

* origin/sg/lazy/cp-task-rules:

Assert all tasks are executed as expected when tasks come from rules

Workaround rule problems described in #6249

Look for domain objects created by rules in named

    • -0
    • +27
    ./DeferredTaskDefinitionIntegrationTest.groovy
Add named(String, Action)

    • -2
    • +5
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 8 more files in changeset.
Add better error messages if you try to use the wrong type with named()

    • -0
    • +19
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 4 more files in changeset.
Add named(name, type, action) and named(name, type) overloads

    • -0
    • +35
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 6 more files in changeset.
Rename test

    • -1
    • +1
    ./DeferredTaskDefinitionIntegrationTest.groovy
    • -0
    • +29
    ./DeferredTaskDefinitionIntegrationTest.groovy
Disallow more project configuration hooks from lazy configuration actions

    • -8
    • +29
    ./DeferredTaskDefinitionIntegrationTest.groovy
  1. … 6 more files in changeset.