Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Update wrappers to latest snapshot distro

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
Validate that each selected artifact is compatible with the requested attributes and no transform is available to produce a variant that is compatible, instead of ignoring the artifacts that are not compatible, now that selection makes the decision of which artifacts to include based on variants instead making the decision per artifact.

Fixed resolution of JVM library dependencies.

Implement `toString()` for all `AttributeContainer` implementations.

Ignore extra attributes when selecting a variant for a dependency graph node, pending a less lenient and more accurate implementation.

Removed now unused `ResolvedArtifactSet.select()`

More cleanup in WorkerProcessIntegrationTest

Address review items

- don't register core classloader when registering incoming messages

- remove unused overload of ObjectConnectionBuilder#addIncoming

- cleanup WorkerDaemonServiceIntegrationTest

Align terminology with Jacoco configuration options

Makes it easier for users to map configuration options to Jacoco documentation. Aligns the configuration options with Maven plugin and Ant tasks.

Changed artifact selection to select zero or one variant of each node in the dependency graph to be included in the result, whether directly or as an input to a transformation.

Artifacts from the selected variant are still filtered by artifact type, which leads to some confusing behaviour. The filtering will be replaced by an error in a later change.

  1. … 14 more files in changeset.
Fixed `AttributeContainer.getAttributes()` on empty attribute container.

Use String data type instead of enum

Allows for better forward and backward capability in case JaCoCo decides to introduce new values or change existing ones.

Changing system memory warning to print at info

This is to prevent the additional output from messing up tests that

check output.

Bump up version number

Better IDE support for Closure parameters

Enhance samples and documentation

Fixing some flakiness in memory status integration test

Flag test that fails offline

Include link to the user guide in builtin plugin extensions

See #168

Keep builtin plugin extensions at the PluginDependenciesSpec level

See #168

Look for transformed artifact in cache first

With this change, we only lookup the `ArtifactTransform` and

checking if attributes match multiple once for a particular artifact/file.

Minor cleanup of memory broadcaster

remove debugging output

Fix UnicastMessagingIntegrationTest failing after being more strict in setting up object connection

Update wrapper to latest nightly

Prepering for 3.3 release branching.

    • -2
    • +2
    /gradle/wrapper/gradle-wrapper.properties
Add limitation to composite builds documentation

+review REVIEW-6405

Improve error message in case we fallback to the `default` configuration but it's not consumable

Since we call fallback on the `default` configuration in case no matching configuration is found with the

consumer attributes, it is possible that this configuration is not consumable, in which case dependency

resolution should fail. This was the case but the error message was unclear, as it was somehow telling

the user that they had selected `default` explicitly. Instead, the error message now lists the configurations

which failed to match, with their respective attributes.

Fix classloading issues when having multiple message types in ObjectConnection

Revalidate that selected configurations match the requested attributes

This commit changes the behavior of dependency resolution in case a selected configuration doesn't match

the requested attributes. It could happen in two cases:

- in case no matching configuration is found, we fallback to the `default` configuration, which could have attributes

that did *not* match (it was part of the selection, but in the end since no configuration was matching, it was selected

anyway).

- in case an explicit configuration was chosen. In that case, we didn't check that the selected configuration matched

the consumer attributes.

Error messages have been improved as part of this story. It's worth noting that this commit does NOT change the

selection algorithm, and we will always fallback to the `default` configuration in case no match is found. The only

thing it does is really revalidating that this fallback is compatible.

See gradle/performance#233

Look for a transformation first before filtering

In transformation matching we want to determine if a transformation can

make an artifact a better match as before. But since we ignore all

attributes that are not set in attribute filtering, we have to be

careful. An artifact may already match before transformation (but

matching can also mean that the artifact is filtered out). Hence,

we have to check if there is a transformation first.