Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix for changes.

Replace `FileResolver.resolveFilesAsTree()` and `compositeFileTree()` with `FileCollectionFactory`.

  1. … 44 more files in changeset.
Replace `FileResolver.resolveFilesAsTree()` and `compositeFileTree()` with `FileCollectionFactory`.

  1. … 44 more files in changeset.
Fixes for previous commit.

  1. … 16 more files in changeset.
Fixes for previous commit.

  1. … 16 more files in changeset.
Fixes for previous commit.

  1. … 16 more files in changeset.
Introduce a factory service to create instances of `TaskDependency`, to allow the implementations to be contextualized and to use types that aren't part of the (internal) core API.

Use this factory in `DefaultConfigurableFileCollection`.

  1. … 39 more files in changeset.
Introduce a factory service to create instances of `TaskDependency`, to allow the implementations to be contextualized and to use types that aren't part of the (internal) core API.

Use this factory in `DefaultConfigurableFileCollection`.

  1. … 39 more files in changeset.
Replace 'Matchers' with 'CoreMatchers'

So we do not require 'org.hamcrest:hamcrest-library' as additional

dependency anymore. Which was only available for most of the tests

because it leaked onto the test compile classpath.

  1. … 162 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 285 more files in changeset.
Introduce an internal factory to create `JavaForkOptions`, to encapsulate the service(s) needed to create instances of this type and decouple clients from this detail. This could/should move to `ObjectFactory` or some other public factory type.

  1. … 43 more files in changeset.
Introduce an internal factory to create `JavaForkOptions`, to encapsulate the service(s) needed to create instances of this type and decouple clients from this detail. This could/should move to `ObjectFactory` or some other public factory type.

  1. … 43 more files in changeset.
Move some more direct usages of `DefaultConfigurableFileCollection` instances to instead delegate to `FileCollectionFactory`.

    • -1
    • +1
    ./DefaultSourceSetContainerTest.groovy
  1. … 11 more files in changeset.
Move some more direct usages of `DefaultConfigurableFileCollection` instances to instead delegate to `FileCollectionFactory`.

    • -1
    • +1
    ./DefaultSourceSetContainerTest.groovy
  1. … 11 more files in changeset.
Add annotation processor generated sources to SourceSetOutput

Signed-off-by: Thomas Broyer <t.broyer@ltgt.net>

  1. … 9 more files in changeset.
Allow the services required by a given class to be queried prior to creating any instances of that class. Use this to allow `ArtifactTransformDependencies` to be injected into artifact transforms using any of the service injection patterns (that is, via a constructor or a getter).

    • -1
    • +1
    ./DefaultSourceSetContainerTest.groovy
  1. … 126 more files in changeset.
Remove the hand-coded implementation of `ExtensionAware` from some model types, and rely on the decoration to mix this in instead.

  1. … 3 more files in changeset.
Replace most direct usages of `DirectInstantiator` with indirect usages via `InstantiatorFactory` or test fixtures instead. This means more consistent behaviour in unit tests because the objects under test will behave more similarly to how they do at runtime. This also allows the decision of how the instantiation should behave to live in as few places as possible, so this can be more easily evolved and contextualized.

    • -2
    • +1
    ./DefaultSourceSetContainerTest.groovy
  1. … 60 more files in changeset.
Decorate all domain collection container for emitting build ops (#7876)

* Update all domain object container with decorator for tracing executed callback actions

* Add decorator to a ll required occurances of DefaultDomainObjectSet

* Keep ctor for DefaultPolymorphicDomainObjectContainer as its used in gradle-idea-ext plugin

* Bring back DefaultDomainObjectSet constructor used by the android plugin

* keep backwards compatibility

    • -1
    • +2
    ./DefaultSourceSetContainerTest.groovy
  1. … 122 more files in changeset.
Remove support for invalid domain object names

Prior to this commit, the use of invalid characters in names of projects

and container objects was deprecated. Now, it fails the build by

throwing an `InvalidUserDataException`.

Since spaces in directory names are supported on all supported platforms

and users have complained about them being deprecated, they are no

longer considered invalid.

Resolves #6288.

    • -41
    • +3
    ./DefaultSourceSetContainerTest.groovy
  1. … 6 more files in changeset.
Merge pull request #6395 from gradle/wolfs/deprecations/classesDir

Another try at removing the classes dir.

This reverts commit 76e359df

  1. … 25 more files in changeset.
Revert "Merge pull request #6395 from gradle/wolfs/deprecations/classesDir"

Reverting since it breaks some cross version checks.

This reverts commit adaf86371e3d58d929030184bfc1c11b60ade1bf, reversing

changes made to 37df84902151344db627d6ea7c67461413ad55c9.

  1. … 25 more files in changeset.
Let SourceSet expose type-safely that it is ExtensionAware

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 3 more files in changeset.
Replace internal `SourceDirectorySetFactory` with a method on public `ObjectFactory` service, to allow plugins to create instances of this type without resorting to using internal types.

    • -1
    • +2
    ./DefaultSourceSetContainerTest.groovy
  1. … 42 more files in changeset.
Raise version to 5.0

    • -4
    • +4
    ./DefaultSourceSetContainerTest.groovy
  1. … 24 more files in changeset.