DefaultGradleSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixes for previous commit.

  1. … 3 more files in changeset.
Restructure project tree construction so that the containing `ProjectState` for a project is always available, to avoid throwing and then silently ignoring an `IllegalArgumentException` for each project.

Also reuse more project construction logic and remove a bunch of duplicate ad hoc code. This change means that the `ProjectState` object now owns the mutable `Project` object, as was always the intention, rather than existing as a parallel tree. This can continue to evolve so that all access to the mutable project object is mediated by the `ProjectState` that owns it.

  1. … 22 more files in changeset.
Restructure project tree construction so that the containing `ProjectState` for a project is always available, to avoid throwing and then silently ignoring an `IllegalArgumentException` for each project.

Also reuse more project construction logic and remove a bunch of duplicate ad hoc code. This change means that the `ProjectState` object now owns the mutable `Project` object, as was always the intention, rather than existing as a parallel tree. This can continue to evolve so that all access to the mutable project object is mediated by the `ProjectState` that owns it.

  1. … 22 more files in changeset.
Restructure project tree construction so that the containing `ProjectState` for a project is always available, to avoid throwing and then silently ignoring an `IllegalArgumentException` for each project.

Also reuse more project construction logic and remove a bunch of duplicate ad hoc code. This change means that the `ProjectState` object now owns the mutable `Project` object, as was always the intention, rather than existing as a parallel tree. This can continue to evolve so that all access to the mutable project object is mediated by the `ProjectState` that owns it.

  1. … 22 more files in changeset.
Restructure project tree construction so that the containing `ProjectState` for a project is always available, to avoid throwing and then silently ignoring an `IllegalArgumentException` for each project.

Also reuse more project construction logic and remove a bunch of duplicate ad hoc code. This change means that the `ProjectState` object now owns the mutable `Project` object, as was always the intention, rather than existing as a parallel tree. This can continue to evolve so that all access to the mutable project object is mediated by the `ProjectState` that owns it.

  1. … 21 more files in changeset.
Merge 'shared resources' into 'build services', so that each service can optionally have a maximum number of concurrent usages defined.

When scheduling tasks, Gradle will not start a task that uses a build service when there are already the maximum number of tasks already running for that service.

  1. … 17 more files in changeset.
Merge 'shared resources' into 'build services', so that each service can optionally have a maximum number of concurrent usages defined.

When scheduling tasks, Gradle will not start a task that uses a build service when there are already the maximum number of tasks already running for that service.

  1. … 17 more files in changeset.
Merge 'shared resources' into 'build services', so that each service can optionally have a maximum number of concurrent usages defined.

When scheduling tasks, Gradle will not start a task that uses a build service when there are already the maximum number of tasks already running for that service.

  1. … 21 more files in changeset.
Merge 'shared resources' into 'build services', so that each service can optionally have a maximum number of concurrent usages defined.

When scheduling tasks, Gradle will not start a task that uses a build service when there are already the maximum number of tasks already running for that service.

  1. … 17 more files in changeset.
Merge 'shared resources' into 'build services', so that each service can optionally have a maximum number of concurrent usages defined.

When scheduling tasks, Gradle will not start a task that uses a build service when there are already the maximum number of tasks already running for that service.

  1. … 17 more files in changeset.
Merge 'shared resources' into 'build services', so that each service can optionally have a maximum number of concurrent usages defined.

When scheduling tasks, Gradle will not start a task that uses a build service when there are already the maximum number of tasks already running for that service.

  1. … 21 more files in changeset.
Merge 'shared resources' into 'build services', so that each service can optionally have a maximum number of concurrent usages defined.

When scheduling tasks, Gradle will not start a task that uses a build service when there are already the maximum number of tasks already running for that service.

  1. … 17 more files in changeset.
Make paths/names of included builds immutable (#10998)

Changes the “build path” for included builds to be determined at inclusion time based on the directory name, or a user supplied override. Previously, we tried to use the root project name defined in the included build. This caused a lot of complexity due to it not being known until part way through building the included build.

This change also disallows use of `buildSrc` as a project name, as it collides with the `buildSrc` nested build.

  1. … 72 more files in changeset.
Update test

Make paths/names of included builds immutable

  1. … 32 more files in changeset.
Allow init scripts to apply plugins to settings (#10304)

  1. … 10 more files in changeset.
Allow init scripts to apply plugins to settings

  1. … 10 more files in changeset.
Shared resource DSL improvements

Signed-off-by: Mark Vieira <portugee@gmail.com>

  1. … 14 more files in changeset.
Add a factory method to `ObjectFactory` that can be used to create `ConfigurableFileCollection` instances.

This new method is intended to replace the factory methods on `ProjectLayout`, as `ObjectFactory` is available in all scopes whereas a `ProjectLayout` is only available in project scopes. This also simplifies some task and project extension implementations as now only a single service is required to create the properties.

  1. … 15 more files in changeset.
Add a factory method to `ObjectFactory` that can be used to create `ConfigurableFileCollection` instances.

This new method is intended to replace the factory methods on `ProjectLayout`, as `ObjectFactory` is available in all scopes whereas a `ProjectLayout` is only available in project scopes. This also simplifies some task and project extension implementations as now only a single service is required to create the properties.

  1. … 15 more files in changeset.
Move class generation and instantation infrastructure from core to modelCore project.

  1. … 90 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. … 127 more files in changeset.
Remove some direct usages of `AsmBackedClassGenerator` from tests, and instead use `TestUtil` fixture to take care of setting up a decorating `Instantiator`.

  1. … 17 more files in changeset.
Some initial support for injecting services into extension constructors. This makes extensions consistent with other kinds of Gradle managed objects, such as tasks, objects created using `ObjectFactory`, plugins and so on.

This commit adds support only for extensions to `Project`. Support for other kinds of extensions will happen later. There is also a bunch of validation missing.

  1. … 12 more files in changeset.
Allow mutable access to other projects when applying configuration action

  1. … 2 more files in changeset.
Introduce separate package for execution plan

This is the code that does not depend on tasks.

  1. … 59 more files in changeset.
Expose which build included the build being loaded to operation listeners (#6181)

* Record which build included the build and expose in LoadBuild operation

  1. … 26 more files in changeset.
Rationalise method names

  1. … 13 more files in changeset.
Merge ProtectApiService into CrossProjectConfigurator

  1. … 18 more files in changeset.
Emit execution op for various listeners

  1. … 28 more files in changeset.