Fix the Gradle 5.0 deprecation warnings. Task.execute() will be removed, the...

Fix the Gradle 5.0 deprecation warnings. Task.execute() will be removed, the new code avoids forking a JVM to retrofit the classes.
1 job for fix-gradle-5-warnings in 7 minutes and 12 seconds (queued for 2 seconds)