IDEA2019 Gradle local third-party warehouse storage location Jar package

Gradle local third-party warehouse storage location Jar package

First, modify Gradle local warehouse location

1, selecting a path as a local repository location Gradle

For example: D: // GradleRepository

2, add the environment variable added to the upper path environment variable

 

3, in D: // create a directory under GradleRepository .gradle folders

4, modify the IDEA gradle warehouse use local warehouse

 

5. When you create gradle project, and add third-party relies in build.gradle of dependence will rely on third-party download Jar package.

View third party dependencies storage location: In the local repository to create their own path Gradle caches - modules-2 - files-2.1

 

Published 316 original articles · won praise 117 · views 420 000 +

Guess you like

Origin blog.csdn.net/m0_38039437/article/details/104504554