4.8.1
This bug-fix release addresses 6 regressions in Gradle 4.8:
- #5740: Maven Central dropped support for older TLS implementations. This makes the dependency resolution fail if the Gradle build runs on JDK 7.
- #5701: Gradle 4.8 broke compatibility with the
artifactory
andbintray
publishing plugins. - #5708: Gradle 4.8 sometimes fails with
ConcurrentModificationException
whenproject.tasks.withType()
is used. - #5729: The dependency resolution engine sometimes fails with "Unexpected parent dependency" message, which became more apparent in Gradle 4.8.
- #5722: Gradle 4.8 broke the ability of the
SourceSet
to override the compile tasks' destination directory. - #5692: Gradle 4.8 doesn't consider versions equal when using
dependencySubstitution
andfailOnVersionConflict
.
Upgrade Instructions
Switch your build to use Gradle 4.8.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=4.8.1
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle 4.8.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.