
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"
