Define and use Build Configuration Fields
Centralizing dependencies via dependencies.gradle file
Sign APK without exposing keystore password
Adding product flavor-specific dependencies
Specifying different application IDs for build types and product flavors
Versioning your builds via version.properties file
Changing output apk name and add version name
Adding product flavor-specific resources
Why are there two build.gradle files in an Android Studio project
Directory structure for flavor-specific resources
Enable experimental NDK plugin support for Gradle and AndroidStudio