Students who dislike the download speed of the official website are too slow, you can click the link below to download:
https://mirrors.cloud.tencent.com/gradle/
Screenshot below:
With such a fast domestic mirror, you can apply it to your own projects, as follows:
1. Enter the wrapper folder in your project directory.
2. Edit the gradle-wrapper file
Use https://mirrors.cloud.tencent.com/gradle/ gradle-4.6-all.zip to replace the original
https\://services.gradle.org/distributions/gradle-5.1-all.zip连接。
The specific gradle version can be changed according to your needs. But first, make sure that there are files of this version in the Tencent mirror.
3. When you use it again, you can see the speed flying
This article is not original, transferred from CSDN