Cause
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
Preference
->
(build,execution,deployment)
->
buildtools
-> gradle->
offline work (tick)
2. Windows
Setting
->
(build,execution,deployment)
->
buildtools-> gradle
- >
offline work (tick)