Gradle Dependency Management: Using Gradle Extra Properties (ext)

preview_player
Показать описание
This is Google’s recommended way of doing this as seen in the Android documentation. It is also used in lots of Android projects, like ButterKnife and Picasso.

This method is great for upgrading libraries like the support library. Every support library dependency has the same version number, so only having to change this in one place is 💯. The same things goes for Retrofit, and many other libraries.
Рекомендации по теме
Комментарии
Автор

what if that version property we want to update dynamically in case of any vulnerability. How to do that.
for eg: under ext {
log4j = 1.2.1
}
Due to some vulnerability I want to update it to the latest fixed version. Which language we can use for that. I am kind of new to this gradle, and not able to figure out this issue

sumit