Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Pass variant attributes down to `DefaultArtifactSet` to avoid passing the rules there

This doesn't prevent the rules from being applied multiple times, but it will: now the

variant attributes are passed, meaning that once we cache the application of the rules,

they will only be computed once.

Signed-off-by: Cedric Champeau <>

  1. … 3 more files in changeset.
Changed `SwiftLibrary` to model linkage using a `Set` instead of a `List`.

Allow `ListProperty<T>` and `SetProperty<T>` properties to be set using any `Iterable<T>` or `Provider<Iterable<T>`, including through the Groovy DSL.

`ListProperty` and `SetProperty` no longer extend `Property`, as this type requires the same type to be used to set and query the property value.

Also added an (internal for now) lockable `SetProperty` implementation.

  1. … 11 more files in changeset.
Renamed a couple of int tests.

Show docs meta section by default

Signed-off-by: Eric Wendelin <>

    • -1
    • +0
Merge pull request #3864 from gradle/eriwen/docs/responsive

Widen docs content on wide screens

Convert the ClasspathManifest task to Kotlin

This is the first conversion in this batch where the target type

references other Groovy types from buildSrc.

Here ClasspathManifest references ReproduciblePropertiesWriter.

Some extra configuration was added to the buildSrc build:

- remove the dependency from groovy to java, added by groovy-base

it is not needed anyway

- add a dependency from kotlin to groovy

Other than that, quite straightforward conversion, an accessor to the

`base` convention was added.

Signed-off-by: Paul Merlin <>

    • -0
    • +5
    • -0
    • +88
Update ApplyScriptPluginBuildOperationIntegrationTest to demo Issue #3873

- Adds a testcase exposing

- Changes ApplyScriptPluginBuildOperationIntegrationTest to use BuildOperationNotificationsFixture

to ensure consuming data from build scan works as expected.

Remove script code that was checking for design-docs folder

That folder has been removed.

Signed-off-by: Jendrik Johannes <>

Remove `status` field from `AbstractModuleComponentResolveMetadata`

This was made redundant by the storage of the status as an attribute of the component.

Signed-off-by: Cedric Champeau <>

Consolidate `status` into attributes in mutable module component resolve metadata

This commit removes the backing `status` field in `AbstractModuleComponentResolveMetadata`,

and stores the status directly as an attribute in the backing attribute container instead.

Signed-off-by: Cedric Champeau <>

Rename the internal and test fixtures `VariantMetadata` to avoid confusion

Signed-off-by: Cedric Champeau <>

  1. … 11 more files in changeset.
Merge pull request #3826 from gradle/jjohannes/dependency-management/java-lib-published

Derive Java Library variants for libraries published with maven

Seal variant spec checking into `VariantAction`

Signed-off-by: Cedric Champeau <>

Convert gradle/groovyProject.gradle to Kotlin

In the same vein as the previous commit, a bit more involved.

Signed-off-by: Paul Merlin <>

    • -0
    • +127
Add test for using a published libraries in a java-library project

Signed-off-by: Jendrik Johannes <>

Add support for custom selection reason on `DependencySubstitution`

Signed-off-by: Cedric Champeau <>

Improve formatting and add comment

Signed-off-by: Jendrik Johannes <>

Merge pull request #638 from gradle/bamboo/convert-buildSrc

Convert `buildSrc/build.gradle` to Kotlin

Add support for `allVariants` in component metadata rules

This commit introduces the ability to execute component metadata rules on all variants at once. This

leverages the previous refactoring by pushing down the variant metadata spec to the adapter itself,

making it possible to match on any possible condition.

Fix test failures

Signed-off-by: Daniel Lacasse <>

Remove deprecation of TaskInputs/Outputs query methods

Signed-off-by: Stefan Wolf <>

    • -12
    • +0
Allow user to query the Swift version of a variant

Signed-off-by: Daniel Lacasse <>

  1. … 6 more files in changeset.
Merge pull request #3845 from gradle/lacasseio/native/target-platform-tool-chain

Add target platform and tool chain on native binaries

Load normal weight Lato from Google fonts

Signed-off-by: Eric Wendelin <>

    • -22
    • +0
Widen docs content on wide screens

This adds a breakpoint that expands content for DSL reference

and user manual on wide screens.

Content copy is also made smaller and larger to fit smaller and

larger screens.

Signed-off-by: Eric Wendelin <>

    • -21
    • +54
Introduce a use case-driven section on declaring dependencies in the user guide (#3765)

    • -4
    • +4
  1. … 17 more files in changeset.
Add `getAttributes` to `ComponentMetadata`

This allows the component selection rules to access attributes and reject versions based on

the attribute values.

Signed-off-by: Cedric Champeau <>

Fix CI failure for C++ unit test

Signed-off-by: Daniel Lacasse <>

Convert `buildSrc/build.gradle` to Kotlin

    • -0
    • +58