Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge branch 'release'

Update wrapper to 4.8.1

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
Don't fail test for patch release 4.8.1

Publish 4.8.1

Lock in some dependency management performance improvements

  1. … 17 more files in changeset.
Fix concurrent issue in DependencyResolutionStressTest

This fixes https://github.com/gradle/gradle-private/issues/640

The root cause of this issue is that AbstractTestDirectoryProvider.getTestDirectory() is not thread-safe.

Under certain concurrent circumstances, AbstractTestDirectoryProvider.dir will be set multiple times.

The solution is simple: move AbstractTestDirectoryProvider.dir out of multi-thread environment.

Fix compatibility check

The compatibility check broke after changing the version number to

4.8.1 as the latest release was not added to the `released-versions.json`

file. Besides, the accepted api changes were no longer valid (no API

changes between 4.8 and 4.8.1).

Update version to 4.8.1

Use org.ajoberstar.grgit 2.2.1 for smoke test

Version 2.2.0 uses a version range and breaks with the currently

published 5.0 version of its JGit dependency.

Use org.ajoberstar.grgit 2.2.1 for smoke test

Version 2.2.0 uses a version range and breaks with the currently

published 5.0 version of its JGit dependency.

Merge pull request #5660 from gradle/wolfs/file-system-mirror/visit-changes

Replace Iterable with visitor in TaskStateChanges

This makes the code more readable and provides a way to later on hook into visitor based

file collection snapshots. See #5661.

Rename accept -> visitChangesSince on FileCollectionSnapshot

Merge branch 'release'

Set https.protocols system property on Java7 to fix compatibility issue

Support TLSv1.2 by default under Java 7

Following changes in Maven Central, only TLSv1.2 is accepted.

This change turns on TLSv1, TLSv1.1 and TLSv1.2 for all connections from

Gradle when the Java version is 7.

As documented in https://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html

in the Protocols section, this is safe, except for versions before 7u75

that were relying on SSLv3.

However that last protocol is really broken and no one should be using

it. And we definitely cannot turn it on here.

It also adds that property to tests that do interact with Maven Central.

Fixes #5740

Remove SimpleTaskStateChanges

Since it is now easier to report changes, the class becomes

superfluous.

Replace getAllTaskChanges by visitor

Fix potential class cast exception

Use boolean for checking if rebuild is required

Introduce ChangeDetectorVisitor for checking for any changes

Simplify MaximumNubmerTaskStateChangeVisitor

Visitors are not expected to be used twice.

Add better limit for caching changes

Resolve Java 7 / Maven Central compatibility

Since June 18th 2018, only TLSv1.2 is supported.

Fix edges being incorrectly reintegrated into result

It was possible for an edge to be reintegrated in the graph even if its

source node wasn't selected. This would result in an inconsistency when

writing, then reading the generated serialized graph. In particular,

when a node had a replacement, an that another edge in the graph caused

an upgrade of the source dependency, the older version of the source

node could have been seen as selected when it wasn't.

Fixes #4785

Fix edges being incorrectly reintegrated into result

It was possible for an edge to be reintegrated in the graph even if its

source node wasn't selected. This would result in an inconsistency when

writing, then reading the generated serialized graph. In particular,

when a node had a replacement, an that another edge in the graph caused

an upgrade of the source dependency, the older version of the source

node could have been seen as selected when it wasn't.

Fixes #4785

Refactor code for readability and performance

In particular, avoid the creation of an iterator when lists are empty.

Merge branch 'release'

Fix flaky test in parallel mode

The test was non deterministic in parallel mode.

However fixing that made something else strange surface, which

required some changes in the test setup that I cannot explain.

Merge pull request #5726 from gradle/lacasseio/release/regression

Backport and fix regression for 4.8.1

Fix regression with Groovy lazy task conversion