Gradle

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

Add requested attributes to resolve artifacts operation name

Ensure task graph executer tests hold a parent worker lease

Requested tasks are exposed via build operation

- Reworked 'Calculate Task graph' build operation to attach

operation descriptor

- CalculateTaskGraphDescriptor contains set of requested tasks

- CalculateTaskGraphDescriptorInternal interface is used to inject

requested tasks

- current procedure is not ideal as it requires mutating of

BuildOperationDescriptor

- Ideally build operation context would allow setting a result. Discussed

this earlier with Stefan Oehme and it's on the radar.

+review REVIEW-6498

Fix TaskPlanExecutor usage of worker leases

ParallelTaskPlanExecutor, using a thread-pool, was taking worker leases

from the forked threads without passing its current worker lease. The

child operations could then not borrow their parent lease. This consumed

one spurious lease.

This, combined with parallel download of artifacts, composite builds

and indirect cyclic dependencies across composites made the

CompositeBuildDependencyCycleIntegrationTest hang.

This change fix [Default|Parallel]TaskPlanExecutor to do the right thing

Fix @since annotations for 4.0

Merge pull request #1033 from gradle/pm-apply-plugin-build-op

Plugin application is a build operation

Change tooling API test target versions from 3.6 to 4.0

Merge pull request #1771 from gradle/so-no-daemon-tests

Fix no-daemon performance tests

Merge pull request #1741 from gradle/so-fix-kill-daemons

Kill daemons before any other task

Fix no-daemon performance tests

Pass the jvm args to the client VM, so Gradle isn't forced to start

a single-use daemon.

Adds a test for a cold daemon, but without recompling scripts, i.e.

what a developer usually experiences in the morning when they turn

on their laptop.

Fix literal in Javadoc

Reproducable example

Include more information in the overlapping outputs cacheability reason

+review REVIEW-6493

Add more reasoning for why we ignore directories when checking for overlaps

+review REVIEW-6493

Revert removal of deprecated methods in StartParameter

The build scan plugin currently relies on these methods and needs to adapt the new ones first.

    • -1
    • +0
    /subprojects/docs/src/docs/release/notes.md
Add overlapping logger messages when we detect an overlap for a property and task

+review REVIEW-6493

Rework all of the overlapping tests to be more clear

+review REVIEW-6493

Remove nonsense comment

+review REVIEW-6493

Avoid intermediate objects for occasional failures

This commit optimizes the `ArtifactBackedResolvedVariant` by avoiding the creation of intermediate maps, for

failures that would normally not happen. This should fix a performance regression introduced by the implementation

of parallel download of artifacts. Failures are occasional, so the map is only created on demand, and an internal

interface is used for coordination.

Make sure all tests exercising BuildOperationWorkerRegistry do close it

BuildOperationProcessor avoids calling workerLeases.getCurrent()

This fix usage of BuildOperationProcessor from rogue threads after

removing workerLeases.maybeStartOperation()

Warm buildSrc before first build to avoid flakiness from timeouts

Remove @OrderSensitive

+review REVIEW-6497

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
    • -14
    • +0
    /subprojects/docs/src/docs/userguide/tasks.xml
Fix DefaultBuildOperationProcessor CTOR usage

Deprecation removal of Gradle GUI (#1749)

Remove Gradle GUI code, leftovers Open API code and user guides.

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
  1. … 177 more files in changeset.
Remove deprecated pluginRepositories block (#1758)

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
Update smoke test to latest Gretty plugin version

Make BasicScript faster

Avoid reflection by implementing the delegation

to the script target by hand.

Accept the performance regression in script compilation caused

by adding the `asDynamicObject` method. The faster run time is worth

the additional time spent compiling.

Fix usage of BuildOperationProcessor from unmanaged threads

Fix the Gretty smoke tests.

The Gretty plugin is doing dependency resolution on a rogue thread.

The recently introduced parallel download of artifacts made it fail.

Follow up on e89d348