Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Fix some more Java6 target compatibility instances

Fix some more Java6 target compatibility instances

Rename several classes to fix spelling

Signed-off-by: Bo Zhang <>

    • -0
    • +26
    • -0
    • +26
    • -0
    • +24
    • -24
    • +0
  1. … 2 more files in changeset.
spelling: resolver

Signed-off-by: Josh Soref <>

spelling: parameterized

Signed-off-by: Josh Soref <>

  1. … 11 more files in changeset.
spelling: nonexistent

Signed-off-by: Josh Soref <>

  1. … 11 more files in changeset.
Delete test for broken behavior that started to work on JDK 11

Provide an explicit `acceptor` and `rejector` to API for choosing dependency version

This will permit a single `ResolvedVersionConstraint` to have both a `prefer`

and a `require` version.

  1. … 14 more files in changeset.
Add type-safe overload for Manifest.from(mergePath, configurationAction)

Signed-off-by: Paul Merlin <>

  1. … 4 more files in changeset.
Separate `ITaskFactory` from `NamedEntityInstantiator<Task>` so that the instantiator is applied as a decoration over the factory.

  1. … 37 more files in changeset.
Remove deprecated Class.newInstance() (#6496)

`Class.newInstance()` was deprecated in Java 9.

  1. … 32 more files in changeset.
Update to ASM7 mode for Java 11 compatibility

  1. … 16 more files in changeset.
Honor dependency attributes when they override configuration attributes

This commit fixes artifact selection so that when we resolve artifacts, we also use

the attributes defined on the dependency itself, if ever. Before, when we were resolving

artifacts, only the consumer configuration attributes were used.

  1. … 23 more files in changeset.
Provide ResolvedVersionConstraint when resolving component id

The 'resolved' version constraint is critical to resolving the component id

for a given selector. In order to honour all constraints in the resolution

process, this `ResolvedVersionConstraint` will be composed of more than

just the constraints for a single selector.

With this change, the `ResolvedVersionConstraint` is constructed

prior to resolving the id, rather than being constructed as part of that


  1. … 14 more files in changeset.
Rename id accessors for consistency

Use `ComponentIdentifier getId()`

Use `ModuleVersionIdentifier getModuleVersionId()`

  1. … 67 more files in changeset.
Polish: metaData -> metadata

  1. … 13 more files in changeset.
Remove unit test uses of DependencyMetadata.requested

  1. … 14 more files in changeset.
Removed unused `ModuleId` param from `DependencyToComponentIdResolver.resolve()`

  1. … 14 more files in changeset.
Avoid computing `ModuleIdentifier` multiple times for the same module

This commit pre-computes a `ModuleIdentifier` from a dependency and passes it around several places where it

is used. This saves a bunch of lookups in the module identifier cache, which tend to be pretty expensive.

Dependency substitution is also passed the original module identifier, in case no substitution is done. This

prevents an additional lookup.

  1. … 23 more files in changeset.
Remove usage of Task.execute from tests

  1. … 29 more files in changeset.
Update to ASM6 alpha

This commit bumps the ASM library used in Gradle from 5.1 to 6.0_ALPHA. While being an alpha version, this ASM version is the only

one compatible with the Java 9 class format. This allows us to remove the `Java9ClassReader`, and also makes it possible to re-enable

some tests which were failing due to mocking bugs under JDK 9.

  1. … 25 more files in changeset.
Create a `ResolvedArtifact` wrapper for each external artifact once per build invocation, rather than once per dependency graph per build invocation.

  1. … 15 more files in changeset.
Moved some in-heap caching of `ResolvedArtifact` from cache per dependency graph to cache per build invocation. In this change the caching is applied only to local artifacts. With this change, only a single `ResolvedArtifact` wrapper is created and retained per build invocation for each project artifact, instead of creating and retaining a wrapper per artifact per resolved dependency graph.

  1. … 9 more files in changeset.
Remove deprecated JVM platform classes and methods

- setDependencyCacheDir in java plugin and CompileOptions

- Use of Ant <depend> task and Depend options

- Javadoc setOptions

- Manifest.writeTo(Writer)

- JavaPluginConvention.setProject

Issue: #1722

  1. … 21 more files in changeset.
Replace generic `Transformer` with typed `VariantSelector`

This change allows us to use `select` instead of `transform` as the

action method and should also locate uses/implementations of this


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

  1. … 53 more files in changeset.
Pass the module identifier factory down to module forcing resolve rule

  1. … 11 more files in changeset.
Changed classpath ABI calculation to ignore all changes to private inner classes, anonymous classes and local classes.

Also added a bunch of test coverage for `@CompileClasspath`.

  1. … 9 more files in changeset.
jar: coverage for Action<?> overloads

Use directory walker for reproducible archives

Instead of sorting the files after reading them from disk we

use `ReproducibleDirectoryWalker` to directly read them from disk in

a reproducible way independent of the file system.

This has the advantage that we do not add some special handling for

zipTree and tarTree. It probably has some performance impact when

having walking the file system but the impact should actually be

less than sorting afterwards since we sort smaller lists and we do

not need to keep all the file names in an archive in memory.

  1. … 28 more files in changeset.