Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Changed how the dependency resolution engine decides whether the artifacts of a 'changing' module may have changed so that the check is now more accurate.

One mechanism that is used is to consider the hash of the metadata, and if this has changed then look for other changes. Previously, the hash of the persisted module metadata (the output of parsing) would be used. However, during parsing information is discarded, meaning that the descriptor file can change in the repository but still be considered unchanged by Gradle.

Now, the hash of the content of the module descriptor file is used instead, meaning that any change to the descriptor (whitespace, comments, publication date, whatever) will be considered a change to the module.

This change is also a step towards properly considering all of the inputs to metadata parsing, such as parent or imported poms, included ivy.xml files or Gradle module metadata files, as the parser is now able to communicate this to the rest of the dependency resolution engine.

  1. … 20 more files in changeset.
Some simplifications to the Ivy and Maven metadata parsing. Don't extract and persist the `description` and `publicationDate` properties for Ivy and Maven as these values are not required for dependency resolution. Incremented the cache version to reflect this change.

Removed some dead code that attempted to include a `description` in a generated ivy.xml, as there is no way to specify this in the Gradle DSL.

Moved some Maven metadata properties from constructor parameters to mutable properties.

  1. … 17 more files in changeset.
Increment dependency cache format version for changes to repository id calculation.

  1. … 2 more files in changeset.
Bump metadata version

Since we changed how a POM is interpreted, we need to make sure

that Gradle will re-download POMs that it had wrongly interpreted

before. See #2282 for the change to POM parsing.

  1. … 3 more files in changeset.
Some tweaks to cached artifact transform outputs, and some more test coverage.

  1. … 4 more files in changeset.
Inject a somewhat more realistic output directory into each artifact transform. The directory points into a machine local cache under `~/.gradle`. The value is still a placeholder as several different transforms may end up with the same output directory.

  1. … 10 more files in changeset.
Changed module artifact caching to distinguish more strongly between the artifact's identifier, used for index keys, and the artifact's metadata, used for index values.

  1. … 16 more files in changeset.
Incremented the dependency metadata cache format version, for changes to cache keys.

  1. … 2 more files in changeset.
Write a little less stuff to disk for each entry in a persistent cache. Incremented the artifact cache format version, as this is a breaking change to the cache layout.

  1. … 8 more files in changeset.
Don't persist the configurations of a Maven module metadata, as they are always the same for every Maven module.

Incremented the metadata cache layout version.

  1. … 20 more files in changeset.
Use a better approximation of Maven's handling of transitive dependencies of things in 'provided' scope, when traversing the dependencies of a Maven module.

Incremented the metadata cache version, as this is (currently) a parse-time concern.

  1. … 4 more files in changeset.
Moved the module type specific state from the module meta indexed cache entry to the serialized meta data for the module. Serialize `ModuleComponentResolveMetadata` instances directly instead of unpacking to a mutable `ModuleDescriptorState` instance.

  1. … 13 more files in changeset.
Set classifier directly rather than via attributes map

Because we are no long storing a map of attributes, this bumps the

module-descriptor cache layout version.

  1. … 9 more files in changeset.
replace CRC32 checksum with a count of written bytes - bumping metadata cache layout version to 2.16

+review REVIEW-5622

  1. … 3 more files in changeset.
Split up ModuleDescriptorCacheEntry into various subtypes, for missing, ivy and maven modules. Serialize only the stuff required to recreate the entry.

This is a meta-data format change, so incremented the meta-data version.

  1. … 7 more files in changeset.
Bumped meta-data cache version for changes to artifact meta-data

  1. … 2 more files in changeset.
Renamed subprojects/core-impl to subprojects/dependency-management.

    • -0
    • +54
  1. … 1384 more files in changeset.