fix gradle distribution url resolution