![]() ![]() retrofit_rxjava_adapter implementation libs. ![]() support_appcompat_v7 implementation libs. rxjava // => module2/adle implementation libs. Still, we are working on the same example of having two modules which are module1 and module2 Every support library dependency has the same version number, so only having to change this in one place. This method is great for upgrading libraries like the support library. It is also used in lots of Android projects. This is Google’s recommended way of doing this as seen in the Android documentation. ![]() Using Gradle Extra Properties “ Google’s Recommendation ” This is a lot of duplicated configuration that is hard to manage upgrades with, especially when you have a lot of modules like the above example. => module1/adle implementation ':appcompat-v7:27.1.1' implementation ":support-annotations:27.1.1" implementation ":appcompat-v7:27.1.1" implementation "2:retrofit:2.3.0" implementation "2:adapter-rxjava2:2.3.0" implementation "io.reactivex.rxjava2:rxjava:2.1.10" // => module2/adle implementation ':appcompat-v7:27.1.1' implementation ":support-annotations:27.1.1" implementation ":appcompat-v7:27.1.1" implementation "2:retrofit:2.3.0" implementation "2:adapter-rxjava2:2.3.0" implementation "io.reactivex.rxjava2:rxjava:2.1.10" ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |