Optimize Workflow for performance (#382)
Optimize Workflow for performance (#382)

Summary:
For some reason I had used the wrong Gradle command to pre-fetch dependencies (e.g.: `./gradlew dependencies`) and when reaching the `gradle_tests_run` Job in the Workflow, Gradle was downloading those dependencies every time.

I copied the Gradle command used in passy 's Dockerfile of the previously used image, in order to trigger a dependencies fetch.
Closes https://github.com/facebook/litho/pull/382

Differential Revision: D8343557

Pulled By: passy

fbshipit-source-id: 090545e043f93ccabd55b7ea333363afc8897663

facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho