Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Introduce an API for variant dependency substitution

This commit introduces a new API to deal with _variant-aware_ dependency

substitution. Before this change, it wasn't possible to substitute a

dependency on a platform, for example. This change allows configuring

the attributes of a dependency, both on the "source" side (what dependency

we need to substitute) and the "target" side (what dependency is going to

be used instead).

Some DSL short-hand notations are added for common use cases.

Fixes #13204

    • -3
    • +6
    ./DefaultDependencyManagementServices.java
    • -11
    • +17
    ./configurations/DefaultConfigurationContainer.java
  1. … 15 more files in changeset.
WIP.

    • -6
    • +3
    ./transform/ConsumerProvidedResolvedVariant.java
    • -12
    • +11
    ./transform/DefaultTransformationNodeRegistry.java
    • -17
    • +15
    ./transform/TransformationNode.java
  1. … 2 more files in changeset.
Fix for previous commit.

    • -7
    • +14
    ./transform/DefaultExecutionGraphDependenciesResolver.java
    • -2
    • +8
    ./transform/ExecutionGraphDependenciesResolver.java
  1. … 1 more file in changeset.
Fix for previous commit.

    • -4
    • +12
    ./transform/DefaultExecutionGraphDependenciesResolver.java
  1. … 1 more file in changeset.
Fix for previous commit.

    • -3
    • +8
    ./configurations/DefaultConfiguration.java
Fix for previous commit.

    • -3
    • +8
    ./configurations/DefaultConfiguration.java
Make api non null

The content filter action is always non null, using Actions.doNothing()

where needed instead.

Issue #13038

    • -2
    • +3
    ./ivyservice/ivyresolve/FilteredModuleComponentRepository.java
    • -3
    • +0
    ./repositories/ContentFilteringRepository.java
    • -2
    • +1
    ./repositories/DefaultMavenRepositoryContentDescriptor.java
    • -1
    • +2
    ./repositories/DefaultRepositoryContentDescriptor.java
    • -3
    • +0
    ./repositories/RepositoryContentDescriptorInternal.java
  1. … 4 more files in changeset.
Make api non null

The content filter action is always non null, using Actions.doNothing()

where needed instead.

Issue #13038

    • -2
    • +3
    ./ivyservice/ivyresolve/FilteredModuleComponentRepository.java
    • -3
    • +0
    ./repositories/ContentFilteringRepository.java
    • -2
    • +1
    ./repositories/DefaultMavenRepositoryContentDescriptor.java
    • -1
    • +2
    ./repositories/DefaultRepositoryContentDescriptor.java
    • -3
    • +0
    ./repositories/RepositoryContentDescriptorInternal.java
  1. … 4 more files in changeset.
Expose Credentials providers via ProviderFactory

    • -3
    • +3
    ./DefaultDependencyManagementServices.java
    • -4
    • +6
    ./repositories/AbstractAuthenticationSupportedRepository.java
    • -7
    • +7
    ./repositories/AuthenticationSupporter.java
    • -7
    • +7
    ./repositories/DefaultBaseRepositoryFactory.java
    • -3
    • +3
    ./repositories/DefaultIvyArtifactRepository.java
    • -5
    • +5
    ./repositories/DefaultMavenArtifactRepository.java
  1. … 25 more files in changeset.
Reuse the logic that calculates the files and producer tasks of the various views of a `Configuration` to calculate the files and producer tasks for the artifact dependencies injected into an artifact transform. This change ensures that the artifact dependencies will be correctly serialized to the configuration cache.

    • -2
    • +8
    ./configurations/DefaultConfiguration.java
    • -31
    • +21
    ./transform/DefaultExecutionGraphDependenciesResolver.java
    • -5
    • +4
    ./transform/DefaultExtraExecutionGraphDependenciesResolverFactory.java
    • -2
    • +8
    ./transform/ExecutionGraphDependenciesResolver.java
    • -0
    • +26
    ./transform/FilteredResultFactory.java
  1. … 3 more files in changeset.
WIP.

    • -3
    • +4
    ./configurations/DefaultConfiguration.java
    • -30
    • +5
    ./transform/DefaultExecutionGraphDependenciesResolver.java
    • -5
    • +4
    ./transform/DefaultExtraExecutionGraphDependenciesResolverFactory.java
    • -0
    • +26
    ./transform/FilteredResultFactory.java
  1. … 1 more file in changeset.
WIP.

    • -3
    • +4
    ./configurations/DefaultConfiguration.java
    • -30
    • +5
    ./transform/DefaultExecutionGraphDependenciesResolver.java
    • -5
    • +4
    ./transform/DefaultExtraExecutionGraphDependenciesResolverFactory.java
    • -0
    • +26
    ./transform/FilteredResultFactory.java
  1. … 1 more file in changeset.
Handle content filter for plugins repositories

Given that settings defined repositories are added to project

buildscript repositories, they need to handle content filtering

independently for each project.

This commit fixes that by letting the plugin repository wrapper handle

the content filtering aspect, allowing a different set of filtering for

each project.

Fixes #13038

    • -3
    • +3
    ./ivyservice/ivyresolve/FilteredModuleComponentRepository.java
    • -3
    • +4
    ./repositories/AbstractArtifactRepository.java
    • -0
    • +1
    ./repositories/ArtifactRepositoryInternal.java
    • -0
    • +27
    ./repositories/ContentFilteringRepository.java
    • -1
    • +1
    ./repositories/DefaultMavenArtifactRepository.java
  1. … 2 more files in changeset.
Handle content filter for plugins repositories

Given that settings defined repositories are added to project

buildscript repositories, they need to handle content filtering

independently for each project.

This commit fixes that by letting the plugin repository wrapper handle

the content filtering aspect, allowing a different set of filtering for

each project.

Fixes #13038

    • -3
    • +3
    ./ivyservice/ivyresolve/FilteredModuleComponentRepository.java
    • -3
    • +4
    ./repositories/AbstractArtifactRepository.java
    • -0
    • +1
    ./repositories/ArtifactRepositoryInternal.java
    • -0
    • +27
    ./repositories/ContentFilteringRepository.java
    • -1
    • +1
    ./repositories/DefaultMavenArtifactRepository.java
  1. … 2 more files in changeset.
Handle content filter for plugins repositories

Given that settings defined repositories are added to project

buildscript repositories, they need to handle content filtering

independently for each project.

This commit fixes that by letting the plugin repository wrapper handle

the content filtering aspect, allowing a different set of filtering for

each project.

Fixes #13038

    • -3
    • +3
    ./ivyservice/ivyresolve/FilteredModuleComponentRepository.java
    • -3
    • +4
    ./repositories/AbstractArtifactRepository.java
    • -0
    • +1
    ./repositories/ArtifactRepositoryInternal.java
    • -0
    • +27
    ./repositories/ContentFilteringRepository.java
    • -1
    • +1
    ./repositories/DefaultMavenArtifactRepository.java
  1. … 2 more files in changeset.
Remove AuthenticationSupportedInternal interface from AuthenticationSupporter

    • -16
    • +1
    ./repositories/AuthenticationSupporter.java
Rename credentials provider factory accessor in Project

    • -1
    • +1
    ./repositories/AuthenticationSupporter.java
  1. … 9 more files in changeset.
Move CredentialsProviderFactory to the public API

    • -1
    • +1
    ./DefaultDependencyManagementServices.java
    • -1
    • +1
    ./repositories/AbstractAuthenticationSupportedRepository.java
    • -1
    • +1
    ./repositories/AuthenticationSupporter.java
    • -1
    • +1
    ./repositories/DefaultBaseRepositoryFactory.java
    • -1
    • +1
    ./repositories/DefaultIvyArtifactRepository.java
    • -1
    • +1
    ./repositories/DefaultMavenArtifactRepository.java
  1. … 12 more files in changeset.
Use RegularFileProperty instead of Property<File>

This replacement is done on a field only useful when combined with a

feature flag and introduced in 6.4.

    • -2
    • +3
    ./DefaultDependencyManagementServices.java
  1. … 7 more files in changeset.
Use RegularFileProperty instead of Property<File>

This replacement is done on a field only useful when combined with a

feature flag and introduced in 6.4.

    • -2
    • +3
    ./DefaultDependencyManagementServices.java
  1. … 7 more files in changeset.
Use a relative path to a script that is used as the location for a configuration cache problem.

    • -8
    • +3
    ./DependencyManagementBuildScopeServices.java
  1. … 49 more files in changeset.
Use a relative path to a build script that is used as a the location for a configuration cache problem.

    • -8
    • +3
    ./DependencyManagementBuildScopeServices.java
  1. … 34 more files in changeset.
Use a relative path to a build script that is used as a the location for a configuration cache problem.

    • -8
    • +3
    ./DependencyManagementBuildScopeServices.java
  1. … 34 more files in changeset.
Use a relative path to a build script that is used as a the location for a configuration cache problem.

    • -8
    • +3
    ./DependencyManagementBuildScopeServices.java
  1. … 34 more files in changeset.
Update feature preview name

Change from VERSION_SORTING_V2 to VERSION_ORDERING_V2

  1. … 6 more files in changeset.
Update feature preview name

Change from VERSION_SORTING_V2 to VERSION_ORDERING_V2

  1. … 5 more files in changeset.
DSL tweaks

  1. … 3 more files in changeset.
DSL tweaks

  1. … 3 more files in changeset.
Rename `VariantArtifactSelector` -> `DependencyArtifactSelector`

  1. … 4 more files in changeset.
Rename `VariantArtifactSelector` -> `DependencyArtifactSelector`

  1. … 4 more files in changeset.