Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
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 <cedric@gradle.com>

  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 <eric@gradle.com>

    • -1
    • +0
    /subprojects/docs/src/docs/css/base.css
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 <paul@gradle.com>

    • -0
    • +5
    /buildSrc/src/main/kotlin/accessors/accessors.kt
    • -0
    • +88
    /buildSrc/src/main/kotlin/org/gradle/build/ClasspathManifest.kt
Update ApplyScriptPluginBuildOperationIntegrationTest to demo Issue #3873

- Adds a testcase exposing https://github.com/gradle/gradle/issues/3873

- 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 <jendrik@gradle.com>

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 <cedric@gradle.com>

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 <cedric@gradle.com>

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

Signed-off-by: Cedric Champeau <cedric@gradle.com>

  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 <cedric@gradle.com>

Convert gradle/groovyProject.gradle to Kotlin

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

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +127
    /gradle/groovyProject.gradle.kts
Add test for using a published libraries in a java-library project

Signed-off-by: Jendrik Johannes <jendrik@gradle.com>

Add support for custom selection reason on `DependencySubstitution`

Signed-off-by: Cedric Champeau <cedric@gradle.com>

Improve formatting and add comment

Signed-off-by: Jendrik Johannes <jendrik@gradle.com>

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 <daniel@gradle.com>

Remove deprecation of TaskInputs/Outputs query methods

Signed-off-by: Stefan Wolf <wolf@gradle.com>

    • -12
    • +0
    /subprojects/docs/src/docs/release/notes.md
Allow user to query the Swift version of a variant

Signed-off-by: Daniel Lacasse <daniel@gradle.com>

  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 <eric@gradle.com>

    • -22
    • +0
    /subprojects/docs/src/docs/css/base.css
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 <eric@gradle.com>

    • -21
    • +54
    /subprojects/docs/src/docs/css/base.css
Introduce a use case-driven section on declaring dependencies in the user guide (#3765)

    • -4
    • +4
    /subprojects/docs/src/docs/userguide/ant.adoc
  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 <cedric@gradle.com>

Fix CI failure for C++ unit test

Signed-off-by: Daniel Lacasse <daniel@gradle.com>

Convert `buildSrc/build.gradle` to Kotlin

    • -0
    • +58
    /buildSrc/build.gradle.kts