ModuleMetadataStoreTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Cache module version identifiers

In a similar way to module identifiers, use the module identifier factory to cache the module version identifiers.

It allows faster comparisons as we will hit `a==b` much more often and don't have to go the `equals` route. There

are still places where the factory is not used, but it doesn't seem to have a huge impact on performance.

  1. … 49 more files in changeset.
Turn `ModuleExclusions` into a build scoped service

  1. … 53 more files in changeset.
Pass module identifier factory down to the module metadata serializer

  1. … 4 more files in changeset.
Use the same type for the key of both the indexed cache and file store pieces of the module metadata cache.

  1. … 2 more files in changeset.
Moved `ModuleDescriptorState.dependencies` up to the `Metadata` types.

  1. … 21 more files in changeset.
Continue to separate the mutable and immutable module meta-data views implementations. In this change, the immutable view implementations no longer also implement the mutable view interfaces.

  1. … 15 more files in changeset.
Started to separate the implementations of module meta-data into an immutable and a mutable implementation.

  1. … 25 more files in changeset.
Some renames.

    • -0
    • +72
    ./ModuleMetadataStoreTest.groovy
  1. … 13 more files in changeset.