![]() ![]() So, it is so simple, you just need to push your library on these remote servers. So, how can other developers download your awesome library by declaring a similar line of code?Īs mentioned above, Gradle finds the libraries from Maven remote servers and download them when building. So, you don’t have to search on internet for the library that you want, download it and integrate it into your project manually. The line compile ‘:appcompat-v7:25.1.0’ means that “ Hey Gradle, please go to Maven Repository to look for a library named :appcompat-v7 version 25.1.0 and download it for me”. It works as a remote server which hosts Java and Android files such as. Since several years ago, Google has chosen Gradle as the default build system for Android apps in Android Studio, and Gradle supports something called Maven Repository Dependences. If now you are building an awesome library as your personal project or your organization and provide to other developers like that way but still not figure it out, please go further in this article.įirstly, what does the above line of code mean? ![]() Now, almost libraries are added by just declaring them in your adle file. These above methods are OK but not convenient and not professional. ![]() There are several ways to grab them and integrate into your project. If you are an Android developer, it is inevitable that your apps use some cool libraries because reinventing the wheel is unnecessary. How to distribute Android library in a convenient way ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |