AbstractConfigurationAttributesResolveIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Annotate integ tests failing with instant execution in various projects

removing most of @IgnoreWithInstantExecution annotations

after fixing the @FailsWithInstantExecution rule

and more ci feedback

also make @IgnoreWithInstantExecution require a reason from a fixed set

and add it to the remaining ignores

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

    • -2
    • +2
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 126 more files in changeset.
Annotate integ tests failing with instant execution in :dependencyManagement

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

    • -0
    • +2
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 93 more files in changeset.
Annotate integ tests failing with instant execution in :dependencyManagement

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

    • -0
    • +2
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 93 more files in changeset.
Annotate integ tests failing with instant execution in :dependencyManagement

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

    • -0
    • +2
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 93 more files in changeset.
Avoid more deprecated APIs

    • -43
    • +43
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 43 more files in changeset.
Avoid more deprecated APIs

    • -43
    • +43
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 34 more files in changeset.
Avoid more deprecated APIs

    • -43
    • +43
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 34 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -43
    • +43
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 64 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -43
    • +43
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 56 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -43
    • +43
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 60 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -43
    • +43
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 63 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -43
    • +43
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 61 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -43
    • +43
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 61 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -43
    • +43
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 64 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -43
    • +43
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 64 more files in changeset.
Do not declare dependencies on pure resolve/consume configurations

This updates some dependency management tests to not declare

dependencies on pure resolve/consume configurations

(i.e configurations with only one of canBeConsumed/canBeResolved

set to true)

This functionality is going to be deprecated.

    • -8
    • +24
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 3 more files in changeset.
WIP - adjustments + handle annotation processor configurations

    • -8
    • +24
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 22 more files in changeset.
WIP - adjustments + handle annotation processor configurations

    • -8
    • +24
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 24 more files in changeset.
WIP - adjustments + handle annotation processor configruations

    • -8
    • +24
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 22 more files in changeset.
Rework configuration / variant exception messages

* For ambiguity issues, other attributes are listed before compatible

attributes.

* For incompatibility issues, incompatible attributes are listed first,

followed by other attributes.

Issue #8747

    • -47
    • +80
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 19 more files in changeset.
Rework configuration / variant exception messages

* For ambiguity issues, other attributes are listed before compatible

attributes.

* For incompatibility issues, incompatible attributes are listed first,

followed by other attributes.

Issue #8747

    • -47
    • +80
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 19 more files in changeset.
Rework configuration / variant exception messages

* For ambiguity issues, other attributes are listed before compatible

attributes.

* For incompatibility issues, incompatible attributes are listed first,

followed by other attributes.

Issue #8747

    • -47
    • +80
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 19 more files in changeset.
Rework configuration / variant exception messages

* For ambiguity issues, other attributes are listed before compatible

attributes.

* For incompatibility issues, incompatible attributes are listed first,

followed by other attributes.

Issue #8747

    • -47
    • +77
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 15 more files in changeset.
Initial support for optional features

This commit introduces initial support for optional features, by

implementing a way for a dependency declaration (currently *only* in

the DSL) to request variants of the target component that provide one

or more capabilities.

Previously to this change, selection was (simplified) done like this:

1. find the target component

2. select the variant of the target component which matches the requested

attributes

Now, selection introduces another step:

1. find the target component

2. filter variants by eliminating those which do not provide the requested

capabilities

3. select the variant in this list which matches the requested attributes

Several changes had to be implemented:

First, component metadata rules calling `addCapability` will now return

a component which capabilities _include_ the default capability.

Second, attribute filtering is done in a secondary step, which means that

if there are no variant matching the requested capabilities, we will immediately

fail.

    • -19
    • +26
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 58 more files in changeset.
Tweak the output produced by `TreeFormatter`.

    • -2
    • +4
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 36 more files in changeset.
Reshuffle some tests into subpackages

This is just a refactoring of tests, to make it clearer: the base

package started to grow significantly.

    • -0
    • +1802
    ./AbstractConfigurationAttributesResolveIntegrationTest.groovy
  1. … 79 more files in changeset.