这是第一次在我们的项目中使用gradle,我们正在使用本地maven存储库.现在我有一个问题:是否可以自动将gradle下载依赖项合并到本地maven存储库中?是否有任何配置或插件可以解决?非常感谢!
Short answer is: no way!
Gradle has its own cache, although it can read the maven local repo like this:
repositories {
mavenLocal()
mavenCentral()
}
Run Code Online (Sandbox Code Playgroud)
If some dependency not found in maven local repo, Gradle will download it from maven central and cache it in ~/.gradle/caches/...
see http://forums.gradle.org/gradle/topics/cache_dependencies_into_local_maven_repository_from_gradle
归档时间: |
|
查看次数: |
2844 次 |
最近记录: |