Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix DefaultIncludedBuildRegistryTest

Fix DefaultIncludedBuildRegistryTest

Add BuildAddedListener

so we can detect the build root directories

for every build associated with this Gradle

invocation.

  1. … 11 more files in changeset.
Add BuildAddedListener

so we can detect the build root directories

for every build associated with this Gradle

invocation.

  1. … 11 more files in changeset.
Add BuildAddedListener

so we can detect the build root directories

for every build associated with this Gradle

invocation.

  1. … 11 more files in changeset.
Load gradle properties earlier

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

  1. … 8 more files in changeset.
Load gradle properties earlier

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

  1. … 9 more files in changeset.
Load gradle properties earlier

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

  1. … 5 more files in changeset.
Load gradle properties earlier

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

  1. … 6 more files in changeset.
Load gradle properties earlier

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

  1. … 9 more files in changeset.
TEMPORARY COMMIT

  1. … 14 more files in changeset.
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

  1. … 407 more files in changeset.
Fix tests

  1. … 372 more files in changeset.
Expose Gradle to RootBuildLifecycleListener methods

  1. … 6 more files in changeset.
Expose Gradle to RootBuildLifecycleListener methods

  1. … 6 more files in changeset.
Fix test

Disallow `buildSrc` as the name of an included build

Except for the actual buildSrc build

  1. … 5 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.
Fix test

  1. … 1 more file in changeset.
Ensure build paths are unique before using them

Also pushes uniqueness validation earlier

  1. … 7 more files in changeset.
Fix tests

Make paths/names of included builds immutable

  1. … 32 more files in changeset.
Fix regression when deprecating search upward APIs

  1. … 11 more files in changeset.
Fix regression when deprecating search upward APIs

  1. … 12 more files in changeset.
Simplify the registration of projects within a composite build, so that the same logic is used regardless of the role that a build plays in a composite rather than being implemented differently for the root build, included build, `buildSrc` and so on.

  1. … 14 more files in changeset.
Simplify slightly the logic that creates the root build of a build tree. The factory method no longer takes parameters for services that are already provided by the session.

  1. … 25 more files in changeset.
Rework `ProjectPublicationRegistry` API so that different kinds of local publications can carry different information.

  1. … 19 more files in changeset.
Allow plugins defined in included builds to be resolved using the `plugins { }` block.

The `plugins { }` block in a build script will now substitute a binary plugin with a plugin that has the requested plugin id and that is defined in an included build using the `java-gradle-plugin` plugin. Does not substitute plugins defined in the root build, or in the consuming included build, or in any source dependency. Does not substitute plugins that are not defined using the `java-gradle-plugin`.

  1. … 24 more files in changeset.
Allow lenient project locking when getting project models from tooling api

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

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

  1. … 34 more files in changeset.