Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/byteszero/asgradleupdate
Android Studio gradle update(帮助你免翻墙更新gradle,避免升级卡死问题)
https://github.com/byteszero/asgradleupdate
android androidstudio gradle
Last synced: 4 days ago
JSON representation
Android Studio gradle update(帮助你免翻墙更新gradle,避免升级卡死问题)
- Host: GitHub
- URL: https://github.com/byteszero/asgradleupdate
- Owner: BytesZero
- License: apache-2.0
- Created: 2017-03-06T10:05:28.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-06T11:45:41.000Z (almost 8 years ago)
- Last Synced: 2023-11-05T13:22:10.131Z (about 1 year ago)
- Topics: android, androidstudio, gradle
- Size: 338 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AsGradleUpdate
Android Studio gradle update(帮助你免翻墙更新gradle,避免升级卡死问题)## Gradle 版本
Version|Url
---|---
3.3|`http\://ome2s08jl.bkt.clouddn.com/gradle-3.3-all.zip`
2.14.1|`http\://ome2s08jl.bkt.clouddn.com/gradle-2.14.1-all.zip`[All Gradle Version](https://services.gradle.org/distributions)
## 配置教程
1、找到并打开 `gradle-wrapper.properties` 文件
```
$Project > gradle > wrapper > gradle-wrapper.properties
```
2、替换 `gradle-wrapper.properties` 中的 `distributionUrl` 为 上面列出的Gradle 版本对应版本的url,如
```
$old ==> distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
$new ==> distributionUrl=http://ome2s08jl.bkt.clouddn.com/gradle-3.3-all.zip
```
![old](https://github.com/yy1300326388/AsGradleUpdate/blob/master/image/gradle_url_simple.png)
![old](https://github.com/yy1300326388/AsGradleUpdate/blob/master/image/gradle_url_simple2.png)