Improving gradle installation script