Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Fix mapping the contents of a `FileTree` that contains a file (rather than a directory) as a root to an Ant `FileSet`.

This fixes the Checkstyle task when source files are added directly to the task sources.

  1. … 15 more files in changeset.
Treat the artifacts produced for a local file dependency and those produced for other kinds of dependencies more similarly, when visiting the result.

Specifically, merge `ArtifactVisitor.visitFile()` into `ArtifactVisitor.visitArtifact()`, so that now all files/artifacts that participate in the resolution result are represented as a `ResolvableArtifact`.

  1. … 34 more files in changeset.
Favor using FileCollection.iterator() over FileCollection.getFiles()

In some cases it's cheaper to create the iterator than a full-blown Set.

    • -27
    • +10
  1. … 28 more files in changeset.
Integrate review feedback

  1. … 5 more files in changeset.
Deprecate FileCollection.add()

The method was never really working as expected, as in most cases it would throw UOE.

This also fixes a bug with PmdExtension.ruleSetFiles() always throwing the aforementioned UOE exception.

  1. … 8 more files in changeset.
Some unit test coverage for handling of task dependencies for various FileCollection implementations.

    • -0
    • +90
  1. … 3 more files in changeset.