Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Do not treat CompileOptions.incremental as input

Changing this parameter should not influence the output of the task in any way, and thus should not be treated as an input.

Add more test coverage for dependency constraint reasons

Use `Objects.equal` to be null safe

This would allow a user to remove a dependency reason, and prevents from a potential null pointer exception.

Signed-off-by: Cedric Champeau <>

Add missing `@Nullable` annotation

Signed-off-by: Cedric Champeau <>

Add test coverage for dependency reasons

This commit adds test coverage, using the new resolve test fixtures.

Signed-off-by: Cedric Champeau <>

Update dev environment instructions

Allow `Gradle` as a script target for init scripts

With support for the full `ScriptApi` and an `initscript` block instead of a

`buildscript` block for classpath configuration.

Files are resolved against the initscript parent directory for parity with the

Groovy DSL.

See #684

Improve `ResolveTestFixture` to support multiple reasons

The resolve test fixture only took the last "description" into consideration. This makes it hard to write tests for custom dependency

reasons. Also, the output of the comparison wasn't very developer friendly, because it was showing the internal, stringy, representation

of the dependency graph nodes.

This commit improves everything by not relying on string comparisons anymore to compare the components. Edges are still compared using

strings, but it already makes things much easier to reason about.

Remove unnecessary `KotlinScriptTarget.rootDir` property

Make `KotlinBuildScriptCompiler` fields private

Fixed int test for changes to DSL.

Fix code style

Rewrite code to make it less contrived.

Merge pull request #3878 from gradle/sg/native/vcs-settings-plugins

Add injected plugins into included builds

fix minor review feedback

add the library binaries

    • binary
add comment

Fixes to int tests for removed expectation that the build for a source dependency must have a settings.gradle.

Temporarily disable test.

Take a defensive copy of the `StartParameter` of each included build prior to executing any user code for the build, to isolate subsequent execution of the same build from mutations made to the `StartParameter` during execution.

Fixed registration of a particular build multiple times.

Fixed some unit test expectations for changes to the APIs of various services.

Fixed `ProjectBuilder` to inject a dummy `BuildDefinition` instance into the services that need a `BuildDefinition`.

Fixed construction of `BuildDefinition` for included build to use the correct `StartParameter`.

Renamed a property of `BuildDefinition` to better reflect its purpose.

Changed source dependency resolution to match only tags, rather than all references such as branches, when selecting a version.

This removes the accidental support for declaring a dependency on a branch, pending an actual implementation.

Address review feedback on generated jars resolution test coverage

Added some support for dynamic version selectors to source dependency resolution.

This change duplicates the logic that implements the same feature for binary dependencies. This duplicate implementation is incomplete and behaves differently to the implementation for binary dependencies. This is intended to be a place holder and a later change will move the source dependency resolver to a location where both source and binary dependency resolution can share the same implementation of the selection logic (plus a bunch of other missing capabilities).

Removed some unnecessary casts.

Revert "Revert "Speed up attribute matching""

Merge pull request #4077 from gradle/revert-4044-oehme/performance/attribute-matching

Revert "Speed up attribute matching"

Revert "Speed up attribute matching"