ComponentMetadataRulesCachingIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove `@ToBeFixedForInstantExecution` from `ComponentMetadataRulesCachingIntegrationTest`

    • -1
    • +0
    ./ComponentMetadataRulesCachingIntegrationTest.groovy
Remove leftover println

    • -1
    • +0
    ./ComponentMetadataRulesCachingIntegrationTest.groovy
Disable tests for instant execution test run

    • -0
    • +1
    ./ComponentMetadataRulesCachingIntegrationTest.groovy
  1. … 1 more file in changeset.
Add access to POM packaging in component metadata rules

* Introduced PomModuleDescriptor analogous to IvyModuleDescriptor

* Extracted descriptor creation into new factory to be shared between real and caching context

Fixes #11955

    • -0
    • +35
    ./ComponentMetadataRulesCachingIntegrationTest.groovy
  1. … 10 more files in changeset.
@RequiredFeature can be used as a repeated annotation

If used for a single feature, avoid annotation noise by not using the

composite annotation. This also avoids the confusion that the

@RequiredFeature annotation cannot be used independently

(no compile error but does not work).

I made the @RequiredFeatures annotation package-private as it is

only required by the compiler and the runner now.

Signed-off-by: Benjamin Muskalla <bmuskalla@gradle.com>

    • -5
    • +2
    ./ComponentMetadataRulesCachingIntegrationTest.groovy
  1. … 43 more files in changeset.
Always serialize module sources

Module sources were only serialized in the cache metadata entry.

In practice, they belong to the module metadata, so they are now

properly serialized as part of it. This fixes the "force realize"

tests.

    • -7
    • +8
    ./ComponentMetadataRulesCachingIntegrationTest.groovy
  1. … 18 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -7
    • +7
    ./ComponentMetadataRulesCachingIntegrationTest.groovy
  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in :dependencyManagement

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

    • -0
    • +7
    ./ComponentMetadataRulesCachingIntegrationTest.groovy
  1. … 93 more files in changeset.
Module test fixture: add 'category' attribute to api/runtime variants

This reflects the default variant attributes of a published

java component.

    • -2
    • +2
    ./ComponentMetadataRulesCachingIntegrationTest.groovy
  1. … 13 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryelements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./ComponentMetadataRulesCachingIntegrationTest.groovy
  1. … 46 more files in changeset.
Remove utilisation of *-jars usage values

    • -2
    • +2
    ./ComponentMetadataRulesCachingIntegrationTest.groovy
  1. … 55 more files in changeset.
Introduce a `JAVA_API_JARS` usage

This commit introduces a new `JAVA_API_JARS` usage, mirror

to the `JAVA_RUNTIME_JARS` usage. This is both for consistency,

and to make sure that the `JAVA_API` and `JAVA_RUNTIME` usages

are limited to cases where the consumer doesn't care, or when

a producer doesn't have a more specific usage to provide.

This is, for example, the case for Java platforms. It's worth

noting than in case a producer mixes both "generic" usages

and "specific" usages, selection is likely to produce unexpected

results, because of disambiguation rules.

The Java disambiguation rule has been simplified and now

supports more cases.

    • -2
    • +2
    ./ComponentMetadataRulesCachingIntegrationTest.groovy
  1. … 37 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
    • +434
    ./ComponentMetadataRulesCachingIntegrationTest.groovy
  1. … 79 more files in changeset.