AbstractJavaTestFixturesIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix test under Windows

    • -1
    • +1
    ./AbstractJavaTestFixturesIntegrationTest.groovy
Fix test under Windows

    • -1
    • +1
    ./AbstractJavaTestFixturesIntegrationTest.groovy
Fix duplicate classes on classpath using test fixtures

This commit works around duplicate classes found on compile

and runtime test classpath whenever the "test fixtures"

plugin is used.

This is due to the fact the Java plugin systematically adds

the main source set output to the test compile and runtime

classpath. But if we have test fixtures, they themselves

depend on the main component, so it ends up adding them

twice, possibly once as a jar and once as a class directory.

Fixes #10872

    • -6
    • +57
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 1 more file in changeset.
Fix duplicate classes on classpath using test fixtures

This commit works around duplicate classes found on compile

and runtime test classpath whenever the "test fixtures"

plugin is used.

This is due to the fact the Java plugin systematically adds

the main source set output to the test compile and runtime

classpath. But if we have test fixtures, they themselves

depend on the main component, so it ends up adding them

twice, possibly once as a jar and once as a class directory.

Fixes #10872

    • -6
    • +57
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 1 more file in changeset.
Use instantiator for DSL objects created through SoftwareComponentFactory

To have a better and consistent DSL experience when using:

component.addVariantsFromConfiguration(...) { ... }

component.withVariantsFromConfiguration(...) { ... }

    • -2
    • +2
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 10 more files in changeset.
Use instantiator for DSL objects created through SoftwareComponentFactory

To have a better and consistent DSL experience when using:

component.addVariantsFromConfiguration(...) { ... }

component.withVariantsFromConfiguration(...) { ... }

    • -2
    • +2
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 9 more files in changeset.
Use instantiator for DSL objects created through SoftwareComponentFactory

To have a better and consistent DSL experience when using:

component.addVariantsFromConfiguration(...) { ... }

component.withVariantsFromConfiguration(...) { ... }

    • -2
    • +2
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 10 more files in changeset.
Add AdhocSoftwareComponent.withVariantsFromConfiguration() API

    • -0
    • +49
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 8 more files in changeset.
Skip publication of self referencing dependencies

When a dependency references the same module as the one being published

without any artifact information, it is skipped and thus not included in

the POM file.

Fixes #10429

    • -1
    • +0
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 2 more files in changeset.
Skip publication of self referencing dependencies

When a dependency references the same module as the one being published

without any artifact information, it is skipped and thus not included in

the POM file.

Fixes #10429

    • -1
    • +0
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 2 more files in changeset.
Skip publication of self referencing dependencies

When a dependency references the same module as the one being published

without any artifact information, it is skipped and thus not included in

the POM file.

Fixes #10429

    • -1
    • +0
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 2 more files in changeset.
Skip publication of self referencing dependencies

When a dependency references the same module as the one being published

without any artifact information, it is skipped and thus not included in

the POM file.

Fixes #10429

    • -1
    • +0
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 2 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
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 13 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
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 13 more files in changeset.
Do not drop variant attributes for 'traditional' maven artifacts

FixedComponentArtifacts dropped the variant attributes (stored in

ConfigurationMetadata) for no clear reason. Because of this, the

attributes in the resolve result differed depending on whether the

variant was constructed from pom or GMM.

    • -2
    • +2
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 27 more files in changeset.
Do not drop variant attributes for 'traditional' maven artifacts

FixedComponentArtifacts dropped the variant attributes (stored in

ConfigurationMetadata) for no clear reason. Because of this, the

attributes in the resolve result differed depending on whether the

variant was constructed from pom or GMM.

    • -2
    • +2
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 15 more files in changeset.
Adjust tests and samples to new publishing default behavior

    • -4
    • +0
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 43 more files in changeset.
wip - fix more tests

    • -1
    • +0
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 46 more files in changeset.
wip - fix more tests

    • -1
    • +0
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 45 more files in changeset.
wip - fix more tests

    • -1
    • +0
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 46 more files in changeset.
Adjust tests following Gradle Module Metadata feature preview removal

    • -3
    • +0
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 29 more files in changeset.
Adjust tests following Gradle Module Metadata feature preview removal

    • -3
    • +0
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 29 more files in changeset.
Adjust tests following Gradle Module Metadata feature preview removal

    • -3
    • +0
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 29 more files in changeset.
WIP

    • -6
    • +6
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 46 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.

    • -6
    • +6
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 46 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.

    • -6
    • +6
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 46 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.

    • -6
    • +6
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 46 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.

    • -6
    • +6
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 46 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.

    • -6
    • +6
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 46 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.

    • -6
    • +6
    ./AbstractJavaTestFixturesIntegrationTest.groovy
  1. … 46 more files in changeset.