Download gradle and dependencies moved to install stage