Multiple Gradle folder \.gradle\wrapper\dists\ settings gradle not download every time

Source: Internet
Author: User

Han Mengfei sha Han Yafei [email protected] yue31313 Han_meng_fei_sha

Set Gradle not download \.gradle\wrapper\dists\ every time

=======

When you import the project, there is an option:

If you choose Use default gradle mapper , you'll download it once, and you'll Use local gradle distribution use the gradle you made.

======

Set Gradle not download \.gradle\wrapper\dists\ every time

When we gradle under the setting set Gradle select "Use Defalut Gradle wrapper (recommended)", will go to see/.gradle there is no available Gradle package, there is directly used, not to download.

If you choose "Use local gradle distribution", it is directly configured directly with the local path.

To avoid multiple downloads of gradle, we use local paths.

My path is d:/Han Mengfei Sand-android Studio/gradle/gradle-3.3

Folder pointing to the Gradle package

=========

Delete the gradle of the previous multiple downloads. It takes up a lot of space, several gigabytes.

========

Multiple Gradle folder \.gradle\wrapper\dists\ settings gradle not download every time

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.