Gradle 4.8 RC1 is available for testing; see the release notes.
FYI - Spotbugs fails with RC-1. Likely needs a fix on their side due to using an internal API.