android tutorial - Define the signing configuration in an external file in android | Developer android - android app development - android studio - android app developement
define-the-signing-configuration-in-an-external-file-in-android
You can define the signing configuration in an external file as a signing.properties in the root directory of your project. For example you can define these keys (you can use your favorite names):
Then in your build.gradle file
Then you can introduce some checks to avoid gradle issues in the build process.