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 <span class="ref-name">fix-gradle-5-warnings</span> in 7 minutes and 12 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #6274
build

00:07:12