fix gradle version script