fix exec flag for gradle on unix systems