mihaip / dex-method-counts

Command-line tool to count per-package methods in Android .dex files
Apache License 2.0
2.6k stars 376 forks source link

Avoid duplication download gradle file #15

Closed callmepeanut closed 8 years ago

callmepeanut commented 9 years ago

If you have download gradle file in AndroidStudio, then you can replace "distributionUrl=https://services.gradle.org/distributions/gradle-2.4-bin.zip" in gradle/wrapper/gradle-wrapper.properties by "distributionUrl=https://services.gradle.org/distributions/gradle-2.4-all.zip" then the gradle file would not need to download again.

This tip may be useful to the developers in counties which has limited access to gradle.org

sschuberth commented 8 years ago

Note that, however, gradle-2.4-all.zip is much bigger than gradle-2.4-bin.zip. So if you do not already have gradle-2.4-all.zip in use, such a change would in fact create more traffic for first-time users.

callmepeanut commented 8 years ago

Got it. This tip is only fit for those who haven't a global proxy and have download gradle-x.x-all.zip file manual before.