Constants for Groovy code
I believe if you use constants in your gradle scripts instead of this
compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:recyclerview-v7:23.1.1'
Build script would be less error prone. You can store them in the gradle.properties file for example And use like below
compile "com.android.support:recyclerview-v7:$depAndroidSupportVersion" compile "com.android.support:design:$depAndroidSupportVersion" compile "com.android.support:recyclerview-v7:$depAndroidSupportVersion" compile "com.android.support:cardview-v7:$depAndroidSupportVersion"
Hi, this is something we may look at as part of improving the build system, but we'd want to bring it in line with what were doing in internally. I can certainly see advantages of taking this approach.