Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Dynamically decide which attributes are used for artifact matching

Only the attributes that are set on the artifact need to be considered

for attribute matching. This needs to be dynamic because otherwise we

could not use any additional attribute except for the pre-defined

artifact attributes.

Fix test by overloading 'artifactType'

Ideally, we would specify a custom attribute for the filter,

but custom attributes are not considered when matching artifacts,

or when finding an `ArtifactTransform` instance.

Test that `ArtifactTransform` can be used to filter artifacts

This test demonstrates how this would work if custom attributes

were considered in artifact transformation. Unfortunately this

doesn't yet work.

Further changes to push the variants of a configuration through to artifact selection. Changed the result of artifact resolution from a set of artifacts to a set of variants. Currently only the first variant is selected to provide the artifacts for a configuration.

  1. … 4 more files in changeset.
Some tweak to type signatures on `ConfigurationMetadata` to allow local and external types to specialise the artifacts and dependencies they expose.

Some changes to wiring to attach the outgoing variants for each configuration to the component metadata used during resolution. The variants are ignored for now.

Split JVM/OS memory events and add coverage

Start MemoryStatusBroadcaster for in-process tests

See dd06f47529650d15952e429c88ba3e461d2612cc

Add hacky reproducible example for #933

TeamCity change in 'Gradle :: Branches :: Checkpoints' project: triggers of 'Stage 2 - Linux Basic Coverage' build configuration were updated

TeamCity change in 'Gradle :: Branches :: Checkpoints' project: triggers of 'Stage 2 - Linux Basic Coverage' build configuration were updated

Investigate some test tasks

    • -0
    • +2
    /gradle/taskCacheBuildScanUserData.gradle
TeamCity change in 'Gradle :: Branches :: Checkpoints' project: triggers of 'Stage 5 - Full' build configuration were updated

TeamCity change in 'Gradle :: Branches :: Checkpoints' project: triggers of 'Stage 2 - Linux Basic Coverage' build configuration were updated

Fix smoke test after wrapper upgrade

    • -1
    • +0
    /gradle/overlappingTaskOutputsStatsInit.gradle
Upgrade to latest nightly

    • -2
    • +2
    /gradle/taskCacheBuildScanUserData.gradle
    • -2
    • +2
    /gradle/wrapper/gradle-wrapper.properties
Re-enable test with `using m2`

Revert verifying inputs again

We still have some problems which we need to investigate

+review REVIEW-6402

Add :ui:integTest to tasks to investigate

    • -0
    • +1
    /gradle/taskCacheBuildScanUserData.gradle
Add backwards compatibility check

Check that we don't break custom tasks that use the inputs.dir, inputs.files or inputs.file

These depend on leaked internal types

+review REVIEW-6403

Simplify the decorator tests

+review REVIEW-6404

Clean-up test

+review REVIEW-6404

Add TODO about error handling in HttpBuildCache

+review REVIEW-6404

Make sure exceptions are propagated from BuildCache implementations

- Some of the decorators were eating exceptions instead of propagating them

- LenientBuildCacheDecorator is the only decorator that hides BuildCacheExceptions

- BuildCacheEntryReader/Writer do not throw checked IOExceptions now

- This makes the BuildCache implementation easier since they can allow the

exceptions propagate as RuntimeExceptions

Added `Configuration.outgoing` to allow some fine tuning of the consumable parts of a `Configuration`. Allows one or more outgoing variants to be declared each with their own set of artifacts. These aren't used anywhere yet.

Some changes to type signatures to avoid casting things when converting a set of configurations into resolution metadata.

Decorate BuildCache with error logger

Make BuildCacheException a GradleException

Temporarily ignore test as it seems to pollute the `.m2` cache

Add some documentation for BuildCacheExceptions