Skip to content

4.3.1

Compare
Choose a tag to compare
@wolfs wolfs released this 08 Nov 09:16
· 68053 commits to master since this release

This bug-fix release addresses 3 regressions in Gradle 4.3.

Gradle 4.3 introduced an change where an error in resolving a module from one repository would prevent Gradle from searching for that same module in subsequent repositories.

However, the change to abort searching repositories on all unrecognized errors proved to be too aggressive. With 4.3.1, only repository timeout errors will prevent Gradle from searching for a module in a subsequent repository.

Moreover, the connection and socket timeouts for HTTP/HTTPS requests have been increased to 30 seconds.

This version of Gradle also removes an overload of TaskInputs.property which caused statically compiled plugin code to use the wrong method when calling TaskInputs.property(..., null).

Finally, when using --scan the build scan plugin is applied before other plugins to avoid rendering a warning message.

For the full list of fixed issues, see the GitHub milestone.

Upgrade Instructions

Switch your build to use Gradle 4.3.1 by updating your wrapper properties:

./gradlew wrapper --gradle-version=4.3.1

Standalone downloads are available at https://gradle.org/install.

Reporting Problems

If you find a problem with Gradle 4.3.1, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.