Gradle offline feature application-lets Springboot no longer automatically update jar packs __idea

Source: Internet
Author: User

The recent application of the Springboot framework in the project has increased efficiency. But a little feel very helpless, every once in a while will automatically update jar bag, do not know is not my Gradle file is not configured for good reason (I use the environment: idea+gradle+springboot).

Very helpless in the circumstances, can only find another method, suddenly think of Gradle has an offline mode of work, is not networked, only with the local warehouse jar package, then will not automatically update the jar package, when the Gradle file added a new jar package, then just put offline settings off, Then refresh gradle to download the newly added package. When the download is complete, then open off-line mode. Open Offline 1. Mac

-> gradle-> 
offline work (tick)
2. Windows
buildtools-> gradle
- > 
offline work (tick)

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: 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.