4.0.2
This bug-fix release addresses two regressions in 4.0/4.0.1 that may lead to hanging build executions and one that can cause issues with dependency excludes. If your project uses Gradle 4.0 or 4.0.1, please update to 4.0.2.
Fixed issues:
- gradle/gradle#2415: Resolving metadata from parent POM can hang the build
- gradle/gradle#2407: Exceptions in
@OutputFiles
method can hang the build w/o reporting exceptions - gradle/gradle#2480: Dependency excludes defined in a
beforeResolve
hook should be respected
Upgrade Instructions
Switch your build to use Gradle 4.0.2 by updating your wrapper properties:
./gradlew wrapper --gradle-version=4.0.2
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle 4.0.2, 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.