Android Studio - is there a way to add a module directly from git / svn without saving it locally

Usually we load a module from git or any version control, store it locally and add it as a module dependency. Therefore, every time, if there are any changes in the module, I have to retrieve and update existing ones locally. Is there a way to add a module directly from git / svn, and if there are any changes (commit) in the module, will it be automatically displayed?

+4
source share
1 answer

To include third-party libraries in your application without adding a source to your version control, you can use third-party dependent ones.

, Picasso (http://square.imtqy.com/picasso/) compile 'com.squareup.picasso:picasso:2.5.2'. build.gradle.

, 2.5.2 .

(, , ) Google Play, Android Design and Support.

. http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Dependencies-Android-Libraries-and-Multi-project-setup.

+1

Source: https://habr.com/ru/post/1611781/


All Articles