in ~/.gradle/gradle.properties APP.signing=/home/user/.signing/appname/prefix
in /home/user/.signing/appname put 2 files prefix.keystore
the keystore and a gradle snippet with name prefix.gradle
prefix.gradle:
android {
buildTypes {
debug {
buildConfigField 'String', 'BASE_URL', '"https://api-debug.example.com"'