Gradle 4.6 RC2 is now available for testing. Release Notes
In both 4.6 release candidates I get a Gradle deprecation warning without merit:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See Command-Line Interface - Gradle User Manual
Do you get any warnings using --warning-mode=all
?