Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Clean up IvyPublication and publish more information to ivy.xml metadata

This cleans up the implementation of `populateFromComponent()` and

introduces the following changes that publish information which

was lossy before:

- Artifacts are now added to all configurations they belong to and

not just the first found

- Dependencies are now added for all configurations they belong to,

with the corresponding mapping and version, and

not just for the first found

- For a Java library, this means the 'runtime' now represents the full

runtime variant of the library (before, only 'default' represented

that)

    • -1
    • +1
    ./gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy
  1. … 12 more files in changeset.
Clean up IvyPublication and publish more information to ivy.xml metadata

This cleans up the implementation of `populateFromComponent()` and

introduces the following changes that publish information which

was lossy before:

- Artifacts are now added to all configurations they belong to and

not just the first found

- Dependencies are now added for all configurations they belong to,

with the corresponding mapping and version, and

not just for the first found

- For a Java library, this means the 'runtime' now represents the full

runtime variant of the library (before, only 'default' represented

that)

    • -1
    • +1
    ./gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy
  1. … 7 more files in changeset.
Clean up IvyPublication and publish more information to ivy.xml metadata

This cleans up the implementation of `populateFromComponent()` and

introduces the following changes that publish information which

was lossy before:

- Artifacts are now added to all configurations they belong to and

not just the first found

- Dependencies are now added for all configurations they belong to,

with the corresponding mapping and version, and

not just for the first found

- For a Java library, this means the 'runtime' now represents the full

runtime variant of the library (before, only 'default' represented

that)

    • -1
    • +1
    ./gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy
  1. … 11 more files in changeset.
Deprecate the maven/ivy plugins

This commit introduces a deprecation warning for the `maven` plugin.

Because there's no such thing as an `ivy` plugin, we also deprecate

the _use_ of the `uploadArchives` task, which corresponds to uploading

with `ivy`, but is defined in the `base` plugin that we cannot

deprecate.

  1. … 14 more files in changeset.
Deprecate the maven/ivy plugins

This commit introduces a deprecation warning for the `maven` plugin.

Because there's no such thing as an `ivy` plugin, we also deprecate

the _use_ of the `uploadArchives` task, which corresponds to uploading

with `ivy`, but is defined in the `base` plugin that we cannot

deprecate.

  1. … 14 more files in changeset.
Adjust test fixtures and test to ivy behavior changes

    • -1
    • +1
    ./gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy
  1. … 34 more files in changeset.
Fixes

  1. … 8 more files in changeset.
Fixes

  1. … 4 more files in changeset.
Fixes

    • -1
    • +1
    ./gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy
  1. … 26 more files in changeset.
Fixes

  1. … 19 more files in changeset.
Fixes

    • -1
    • +1
    ./gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy
  1. … 27 more files in changeset.
Fixes

  1. … 5 more files in changeset.
Merge remote-tracking branch 'origin/release'

* origin/release:

Fix resolving `DirectoryTee` elements of a `FileCollection`.

Avoid sharing the same id for the deprecated classloader as the real classloader

Recognize contributor

enhanced test source folder detection for eclipse task. (#10320)

Turn 'multiple publications with same coordinates' error into warning

Override getResources in DefaultDeprecatedClassLoader

Update default scan plugin version to 2.4.1

  1. … 4 more files in changeset.
Merge remote-tracking branch 'origin/master-test' into release-test

  1. … 3 more files in changeset.
Merge remote-tracking branch 'origin/master-test' into release-test

  1. … 3 more files in changeset.
Merge remote-tracking branch 'origin/master-test' into release-test

Merge remote-tracking branch 'origin/master-test' into release-test

Merge remote-tracking branch 'origin/master-test' into release-test

Turn 'multiple publications with same coordinates' error into warning

This reduces the severity of the error detection introduced in #9466.

Although this situation is technically an error that should be avoided

as it causes information loss in the published result, in some testing

scenarios builds may rely on this behavior. So instead of failing,

Gradle now prints a warning message.

  1. … 2 more files in changeset.
Turn 'multiple publications with same coordinates' error into warning

This reduces the severity of the error detection introduced in #9466.

Although this situation is technically an error that should be avoided

as it causes information loss in the published result, in some testing

scenarios builds may rely on this behavior. So instead of failing,

Gradle now prints a warning message.

  1. … 2 more files in changeset.
Add test coverage for artifact selectors

    • -0
    • +70
    ./gradle/api/publish/ivy/IvyPublishArtifactCustomizationIntegTest.groovy
  1. … 10 more files in changeset.
Disable some https test on JDK12

Each test method takes about 5 minutes because of

https://bugs.openjdk.java.net/browse/JDK-8219658.

The bug may be fixed JDK 12.02, so maybe we should upgrade

to this version at some point.

  1. … 2 more files in changeset.
Adjust tests and samples to new publishing default behavior

    • -12
    • +5
    ./gradle/api/publish/ivy/IvyGradleModuleMetadataPublishIntegrationTest.groovy
    • -2
    • +0
    ./gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy
  1. … 36 more files in changeset.
Adjust tests and samples to new publishing default behavior

  1. … 15 more files in changeset.
Adjust tests and samples to new publishing default behavior

  1. … 15 more files in changeset.
Adjust tests and samples to new publishing default behavior

  1. … 15 more files in changeset.
Remove 'experimental' variant from dependency resolution tests

With the 'GRADLE_METADATA' feature preview gone, we now only have

two dimensions of variation to test:

(1) Ivy or Maven repository?

(2) Gradle metadata available - in addition to pom or ivy - or not?

If Gradle 6+ was used for publishing, Gradle metadata is most likely

available and the pom/ivy file contains the corresponding marker.

If an older Gradle version (or Maven/Ivy) was used for publishing,

Gradle metadata is not available and there is also no marker in the

other metadata file.

    • -1
    • +0
    ./gradle/api/publish/ivy/IvyGradleModuleMetadataPublishIntegrationTest.groovy
    • -1
    • +0
    ./gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy
  1. … 29 more files in changeset.
Remove 'experimental' variant from dependency resolution tests

With the 'GRADLE_METADATA' feature preview gone, we now only have

two dimensions of variation to test:

(1) Ivy or Maven repository?

(2) Gradle metadata available - in addition to pom or ivy - or not?

If Gradle 6+ was used for publishing, Gradle metadata is most likely

available and the pom/ivy file contains the corresponding marker.

If an older Gradle version (or Maven/Ivy) was used for publishing,

Gradle metadata is not available and there is also no marker in the

other metadata file.

    • -1
    • +0
    ./gradle/api/publish/ivy/IvyGradleModuleMetadataPublishIntegrationTest.groovy
    • -1
    • +0
    ./gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy
  1. … 29 more files in changeset.
Remove 'experimental' variant from dependency resolution tests

With the 'GRADLE_METADATA' feature preview gone, we now only have

two dimensions of variation to test:

(1) Ivy or Maven repository?

(2) Gradle metadata available - in addition to pom or ivy - or not?

If Gradle 6+ was used for publishing, Gradle metadata is most likely

available and the pom/ivy file contains the corresponding marker.

If an older Gradle version (or Maven/Ivy) was used for publishing,

Gradle metadata is not available and there is also no marker in the

other metadata file.

    • -1
    • +0
    ./gradle/api/publish/ivy/IvyGradleModuleMetadataPublishIntegrationTest.groovy
    • -1
    • +0
    ./gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy
  1. … 29 more files in changeset.
Adjust tests following Gradle Module Metadata feature preview removal

    • -11
    • +5
    ./gradle/api/publish/ivy/IvyGradleModuleMetadataPublishIntegrationTest.groovy
    • -1
    • +0
    ./gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy
  1. … 24 more files in changeset.