Skip to content

4.5.1

Compare
Choose a tag to compare
@ljacomet ljacomet released this 05 Feb 13:44
· 65647 commits to master since this release

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

Changes in dependency management caused a regression in 4.5 where in some rare cases a dependency could be imported into a different scope than the one declared.

Starting in 4.5, the build cache configuration is shared between builds part of a composite build. NullPointerException could be observed if the parent build finished before the different composites. This lifecycle issue has now been resolved.

A regression in Eclipse project generation caused a sub-project to be added as a dependency to itself, resulting in an error when opening the project in Eclipse.

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

Upgrade Instructions

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

./gradlew wrapper --gradle-version=4.5.1

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

Reporting Problems

If you find a problem with Gradle 4.5.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.