Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove outdated comment

Inline single-use interface method for FileCollectionSnapshotter

+review REVIEW-6303

Simplify FileCollectionSnapshotter interface

We don't need a method on the interface just to return a constant.

+review REVIEW-6303

Merge branch 'release'

Make tests that close the TAPI (via reset()) require an isolated daemon

+review REVIEW-6310

Ignore non-queryable devices when finding own IP addresses

This was the probably cause of a flaky test which failed with

```

Caused by: java.lang.RuntimeException: Could not determine the IP addresses for network interface vethdf3543b

at org.gradle.internal.remote.internal.inet.InetAddresses.analyzeNetworkInterface(InetAddresses.java:95)

at org.gradle.internal.remote.internal.inet.InetAddresses.analyzeNetworkInterfaces(InetAddresses.java:50)

at org.gradle.internal.remote.internal.inet.InetAddresses.<init>(InetAddresses.java:40)

at org.gradle.internal.remote.internal.inet.InetAddressFactory.init(InetAddressFactory.java:100)

at org.gradle.internal.remote.internal.inet.InetAddressFactory.getLocalBindingAddress(InetAddressFactory.java:85)

... 58 more

Caused by: java.net.SocketException: No such device

at org.gradle.internal.remote.internal.inet.InetAddresses.analyzeNetworkInterface(InetAddresses.java:57)

... 62 more

```

The test was `UserGuideSamplesIntegrationTest#scalaCrossCompilation`

+review REVIEW-6311

Merge branch 'release'

    • -0
    • +9
    /subprojects/docs/src/docs/release/notes.md
Make tests that close the TAPI require an isolated daemon

`DefaultGradleConnector.close()` sends stop signals to associated

daemons. Thus it might stop a daemon still used by another running test.

+review REVIEW-6310

Use default classloader for serializing exception placeholders

+review REVIEW-6309

Simplify directory walking during file snapshotting

There's no need to separately collect data about existing and missing files.

+review REVIEW-6303

Fix native performance tests

Support reconstructing exception in PayloadSerializer

+review REVIEW-6309

Make exception replacing serialization work with subclasses

+review REVIEW-6309

Don't assume exception is a RuntimeException

+review REVIEW-6309

Test non serializable exceptions in TAPI model builders

- GRADLE-3307

+review REVIEW-6309

Use exception replacement in PayloadSerializer

+review REVIEW-6309

Move ExceptionPlaceholder classes to top level

+review REVIEW-6309

Ignore timing when it's whole seconds in test report

Most of the time we get "0.001s", but sometimes we get "0s" or "1s".

+review REVIEW-6290

Restore cached file dates to millisecond precision

This is to support file systems like Ext4 and NTFS that have a granularity finer than 1 second.

+review REVIEW-6308

Propagate build output to aid in debugging failures

Remove redundant conditional

Remove redundant modifiers

Polish `MultiprojectProjectAndTaskListIntegrationTest`

- Use same project refresh timeout for all tests

- Fix braces formatting

- DRY

Mutate `dir` field only after creating unique test directory

Name `Sample.dir` after test method and class

By deferring the computation of dir until the first request.

Increase file cache lock timeout to 10 minutes

Gradle locks the cache for a period of time while modifying its contents (usually upon write access). In case the access exceeds the timeout, the build fails with an error message. Often times these situations occur under high load of the build machine. An end user doesn't really know how to interpret the build failure or how to correct it. We can safely increase this timeout to avoid common failure situations (e.g. with Zinc compiler). Any issue that will still pop up with the increased timeout likely indicates a bug in Gradle and will need to be addressed.

+review REVIEW-6306

    • -0
    • +9
    /subprojects/docs/src/docs/release/notes.md
Fix generation of "java software model" templates

    • -0
    • +4
    /subprojects/performance/templates.gradle
Actually cache Jacoco results

We haven't stored them previously. Now we have an integration test to make sure.

+review REVIEW-6301

Make sure test doesn't reuse previous output

+review REVIEW-6301