Remove deprecated gradle calls
Remove deprecated gradle calls

Summary: Mirroring https://github.com/facebook/litho/commit/897fe6123e8bab797cddf9ec1d93efd3630eb32b#diff-aa51f8b3cd4c236a2fa014f530b3b780

Reviewed By: jknoxville

Differential Revision: D15146913

fbshipit-source-id: 0eca84e9d0c536ac78883b11dccb3243786ab130

facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper