Gradle
suggest changeDefine 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
Executing a shell script from gradle
Delete unaligned apk automatically
Disable image compression for a smaller APK file size
Use gradle.properties for central versionnumberbuildconfigurations