Instead of using additional `gradlew` binaries that are in subproject
directories, use the top-level `mach gradle` functionality. This will make
easier in future to adjust the gradle project structure.
Also, only pass Java8 binaries to the nexus/sonar invocation.
Differential Revision: https://phabricator.services.mozilla.com/D249860