Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Changed the way that the target configuration for a project dependency is calculated, to always select only from the configurations of the target project that have attributes attached, regardless of whether the consumer has defined any attributes or not. Fall back to `default` only when the target project has no configurations with attributes defined.

This introduces a breaking change when consuming the output of a project with the Java plugin applied from a project that does not have the Java plugin applied. Previously, the `default` configuration would be selected, now the `runtimeElements` configuration is selected. However, this is consistent with the case where the consuming project is also using the Java plugin or is using the Android plugin. It also means that custom configurations in these projects will select the same thing as the runtime classpath configuration.

    • -3
    • +7
Added `MultipleCandidatesDetails.getConsumerValue()` to allow an attribute disambiguation rule to select the best match based on the consumer's value, if any.

Merged release into master.

Merge pull request #2233: parallel execution of included builds

- Included builds are now executed in parallel by default

- A delegate task is no longer executed when executing task in an included build

Adjust test for parallel execution

Set worker directory only during action execution

Add problem instead of fail to start for better feedback in TC

Fix performance worker job id

Adjust test to daemon-by-default behavior

Fix issue with worker output being sent after connection is closed

Fixed test for changes to artifact resolution build operations.

Always retry locking operation after waking up


- Move exponential backoff related definitions to newly introduced

`ExponentialBackoff` type

- Dedupe retry loop

Rewrite code to avoid compilation error when Groovy is compiling with JDK 9

Workaround for runtime error with Jigsaw+Groovy

Bump cglib in `buildSrc` too

Upgrade to cglib 3.2.5

Those changes are required to execute tests on Java 9, otherwise mocking fails,

because those frameworks like Gradle relied on APIs which are now closed.

Fix another instance of `defineClass` that wasn't Java 9 compatible

Switch forked integration tests to run with daemon by default

Bump wrapper to support Java 9 pipeline

    • -1
    • +1
Clear canon caches when creating symlinks in tests

Some of our tests were actually only passing because

we were canonicalizing the files before creating a symlink

and the JVM would keep returning the original path for the next

30 s. By deleting some arbitrary file we can force it to clear its

caches immediately, making our tests show the actual expected


TeamCity change in 'Gradle :: Branches :: Commit Phase' project: runners of 'Sanity Check' build configuration were updated

Merge branch 'release'

Ignore ci properties for distribution tests

Fix branch setting in performance builds

Use experimental master branch for now

Use the new individual perf worker config and pass the branch name

Accept more date patterns for the expires cookie header

Don't attempt to resolve asynchronously an artifact that has already been resolved in the current build invocation and whose result is already known in memory.

This avoids unnecessary synchronization overhead to run a build operation that effectively is a no-op, generates much less garbage, and delivers a more useful stream of build events to the build user.

Added a new type `ResolveableArtifact` to use instead of public `ResolvedArtifact` when resolving and visiting the artifacts of a dependency resolution result.

  1. … 15 more files in changeset.