publish

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Support dependency artifact in GMM

This is a compatibility layer for seamless migration to GMM.

    • -15
    • +38
    ./internal/GradleModuleMetadataWriter.java
  1. … 13 more files in changeset.
Support dependency artifact in GMM

This is a compatibility layer for seamless migration to GMM.

    • -15
    • +38
    ./internal/GradleModuleMetadataWriter.java
  1. … 13 more files in changeset.
Support dependency artifact selectors in Gradle Module Metadata

This is a compatibility feature for combining GMM and pure pom/ivy

modules.

    • -15
    • +43
    ./internal/GradleModuleMetadataWriter.java
  1. … 13 more files in changeset.
Add 'inheritConstraints' to Gradle Module Metadata

Adds test coverage for consuming and publishing.

    • -1
    • +1
    ./internal/GradleModuleMetadataWriter.java
  1. … 12 more files in changeset.
Introduce constraint inheritance API

    • -0
    • +6
    ./internal/GradleModuleMetadataWriter.java
  1. … 40 more files in changeset.
Introduce constraint inheritance API

    • -0
    • +6
    ./internal/GradleModuleMetadataWriter.java
  1. … 40 more files in changeset.
Introduce constraint inheritance API

    • -0
    • +6
    ./internal/GradleModuleMetadataWriter.java
  1. … 40 more files in changeset.
Introduce constraint inheritance API

    • -0
    • +6
    ./internal/GradleModuleMetadataWriter.java
  1. … 41 more files in changeset.
Add `inheritSubgraphConstraints()` API to dependencies

    • -0
    • +6
    ./internal/GradleModuleMetadataWriter.java
  1. … 61 more files in changeset.
Add `inheritSubgraphConstraints()` API to dependencies

    • -0
    • +6
    ./internal/GradleModuleMetadataWriter.java
  1. … 62 more files in changeset.
Add `inheritSubgraphConstraints()` API to dependencies

    • -0
    • +6
    ./internal/GradleModuleMetadataWriter.java
  1. … 63 more files in changeset.
Add `forSubgraph()` API to version constraints

    • -0
    • +4
    ./internal/GradleModuleMetadataWriter.java
  1. … 19 more files in changeset.
Add `forSubgraph()` API to version constraints

    • -0
    • +4
    ./internal/GradleModuleMetadataWriter.java
  1. … 19 more files in changeset.
Add `forSubgraph()` API to version constraints

    • -0
    • +4
    ./internal/GradleModuleMetadataWriter.java
  1. … 20 more files in changeset.
Add `forSubgraph()` API to version constraints

    • -0
    • +4
    ./internal/GradleModuleMetadataWriter.java
  1. … 20 more files in changeset.
Add `forSubgraph()` API to version constraints

    • -0
    • +4
    ./internal/GradleModuleMetadataWriter.java
  1. … 19 more files in changeset.
De-incubate a number of dependency management related APIs

  1. … 113 more files in changeset.
De-incubate a number of dependency management related APIs

  1. … 109 more files in changeset.
Replace "classifier" attribute with an "artifact selection" attribute

This should handle more use cases for artifact selection compatibility.

    • -5
    • +14
    ./internal/GradleModuleMetadataWriter.java
  1. … 5 more files in changeset.
Replace "classifier" attribute with an "artifact selection" attribute

This should handle more use cases for artifact selection compatibility.

    • -5
    • +14
    ./internal/GradleModuleMetadataWriter.java
  1. … 5 more files in changeset.
First elements of a compatibility mode for classifiers in Gradle Metadata

This commit introduces a synthetic attribute used for compatibility

purposes when a dependency declaration uses classifiers. It is

transparently converted to a dependency attribute on Gradle Module

Metadata, and this attribute is used in a specific manner during

resolution (it's actually converted _back to_ an artifact selection).

    • -2
    • +26
    ./internal/GradleModuleMetadataWriter.java
  1. … 11 more files in changeset.
First elements of a compatibility mode for classifiers in Gradle Metadata

This commit introduces a synthetic attribute used for compatibility

purposes when a dependency declaration uses classifiers. It is

transparently converted to a dependency attribute on Gradle Module

Metadata, and this attribute is used in a specific manner during

resolution (it's actually converted _back to_ an artifact selection).

    • -2
    • +26
    ./internal/GradleModuleMetadataWriter.java
  1. … 11 more files in changeset.
Fix resolved versions of substituted dependencies

This commit fixes an inconsistency when publishing resolved

versions of a component. If that component happens to be

substituted, which would be strange for a first level dependency

but nevertheless possible, then we wouldn't find the target

module in the resolution result, and the outcome would be that

POM/IVY/Gradle Module metadata files would all have an empty

version for a substituted dependency.

With the change, we will now also look for dependencies in

the resolution result, and if one matches the original dependency

coordinates, then we use its resolved component as the result.

This allows us to _substitute_ the result with complete coordinates

in the metadata files.

Fixes nebula-plugins/gradle-nebula-integration#62

    • -12
    • +23
    ./internal/GradleModuleMetadataWriter.java
    • -0
    • +89
    ./internal/versionmapping/DefaultVariantVersionMappingStrategy.java
    • -0
    • +120
    ./internal/versionmapping/DefaultVersionMappingStrategy.java
  1. … 9 more files in changeset.
Fix resolved versions of substituted dependencies

This commit fixes an inconsistency when publishing resolved

versions of a component. If that component happens to be

substituted, which would be strange for a first level dependency

but nevertheless possible, then we wouldn't find the target

module in the resolution result, and the outcome would be that

POM/IVY/Gradle Module metadata files would all have an empty

version for a substituted dependency.

With the change, we will now also look for dependencies in

the resolution result, and if one matches the original dependency

coordinates, then we use its resolved component as the result.

This allows us to _substitute_ the result with complete coordinates

in the metadata files.

Fixes nebula-plugins/gradle-nebula-integration#62

    • -12
    • +23
    ./internal/GradleModuleMetadataWriter.java
  1. … 9 more files in changeset.
Fix resolved versions of substituted dependencies

This commit fixes an inconsistency when publishing resolved

versions of a component. If that component happens to be

substituted, which would be strange for a first level dependency

but nevertheless possible, then we wouldn't find the target

module in the resolution result, and the outcome would be that

POM/IVY/Gradle Module metadata files would all have an empty

version for a substituted dependency.

With the change, we will now also look for dependencies in

the resolution result, and if one matches the original dependency

coordinates, then we use its resolved component as the result.

This allows us to _substitute_ the result with complete coordinates

in the metadata files.

Fixes nebula-plugins/gradle-nebula-integration#62

    • -12
    • +23
    ./internal/GradleModuleMetadataWriter.java
    • -0
    • +89
    ./internal/versionmapping/DefaultVariantVersionMappingStrategy.java
    • -0
    • +120
    ./internal/versionmapping/DefaultVersionMappingStrategy.java
  1. … 9 more files in changeset.
Apply `Field can be local` inspection the whole project

  1. … 22 more files in changeset.
Apply `Anonymous type can be replaced with lambda` inspection the whole project

    • -10
    • +6
    ./tasks/GenerateModuleMetadata.java
  1. … 665 more files in changeset.
Apply `'try finally' replaceable with 'try' with resources` inspection the whole project

  1. … 53 more files in changeset.
Apply `Explicit type can be replaced with <>` inspection the whole project

    • -1
    • +1
    ./internal/DefaultPublicationArtifactSet.java
    • -3
    • +3
    ./internal/GradleModuleMetadataWriter.java
  1. … 907 more files in changeset.
Fix a small variable name typo

Signed-off-by: Emmanuel Guérin <e.guerin@criteo.com>