4.2.1
This bug-fix release addresses a regression in 4.2, which caused Android instrumented tests to fail. It also improves Java 9 compatibility and clarifies a few deprecation warnings. We recommend that all Gradle 4.2 users upgrade to 4.2.1
For the full list of fixed issues, see the GitHub milestone.
Upgrade Instructions
Switch your build to use Gradle 4.2.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=4.2.1
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle 4.2.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.