CacheLockingArtifactDependencyResolverTest.groovy

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Implement finer grained locking of artifact cache

This commit changes the in-process, coarse grained artifact cache locking, by pushing it down to where it is actually used:

- when a file is going to be read or written by the cache

- when a dependency metadata descriptor is going to be read or written in the cache

    • -55
    • +0
    ./CacheLockingArtifactDependencyResolverTest.groovy
  1. … 5 more files in changeset.
Turn `ModuleExclusions` into a build scoped service

    • -2
    • +4
    ./CacheLockingArtifactDependencyResolverTest.groovy
  1. … 53 more files in changeset.
Use the module identifier factory during ivy parsing

    • -0
    • +2
    ./CacheLockingArtifactDependencyResolverTest.groovy
  1. … 23 more files in changeset.
Pass the module identifier factory down to the dependency graph builder

    • -2
    • +2
    ./CacheLockingArtifactDependencyResolverTest.groovy
  1. … 10 more files in changeset.
Fixed tests for changes to method signatures.

    • -2
    • +2
    ./CacheLockingArtifactDependencyResolverTest.groovy
  1. … 3 more files in changeset.
Move all attribute related code into their own packages

This commit moves all public attribute-related classes to the `org.gradle.api.attributes` package,

and all the internal attribute-related classes to `org.gradle.api.internal.attributes` package.

    • -1
    • +1
    ./CacheLockingArtifactDependencyResolverTest.groovy
  1. … 94 more files in changeset.
Spike attribute compatibility handling through a schema

    • -3
    • +6
    ./CacheLockingArtifactDependencyResolverTest.groovy
  1. … 29 more files in changeset.
Added an overload to `ConfigurationResolver` whose contract is to traverse enough of the dependency graph to allow build dependencies to be calculated.

Currently the implementation traverses the whole dependency graph. It does, however, collect only the state required to calculate the build dependencies, rather than all of the state to resolve artifacts, provide the resolution result, and so on.

    • -2
    • +4
    ./CacheLockingArtifactDependencyResolverTest.groovy
  1. … 14 more files in changeset.
Moved a bunch of artifact-specific resolver code out of 'oldresult' package

    • -1
    • +1
    ./CacheLockingArtifactDependencyResolverTest.groovy
  1. … 28 more files in changeset.
Pulled out `DependencyArtifactsVisitor` to collect information about artifact resolution

    • -8
    • +9
    ./CacheLockingArtifactDependencyResolverTest.groovy
  1. … 9 more files in changeset.
Introduce ResolverResults#getResolvedArtifacts

+review REVIEW-5515

    • -2
    • +2
    ./CacheLockingArtifactDependencyResolverTest.groovy
  1. … 40 more files in changeset.
Renamed ModuleMetadataHandler -> GlobalDependencyResolutionRules +review REVIEW-5136

    • -2
    • +2
    ./CacheLockingArtifactDependencyResolverTest.groovy
  1. … 18 more files in changeset.
Renamed subprojects/core-impl to subprojects/dependency-management.

    • -0
    • +45
    ./CacheLockingArtifactDependencyResolverTest.groovy
  1. … 1384 more files in changeset.