Fix gradle installation on travis