include debug keystore directly

replace symlink silliness ant required with gradle commands to sign
debug builds with the checked-in (local file) debug keystore. Make
it possible for an environment variable to override in case somebody
wants to use his own.
This commit is contained in:
Eric House 2017-01-22 15:27:35 -08:00
parent 15d0f88187
commit 83fed4da91
2 changed files with 10 additions and 0 deletions

View file

@ -95,6 +95,16 @@ android {
storePassword "notReal"
keyPassword "notReal"
}
debug {
def path = System.getenv("DEBUG_KEYSTORE_PATH")
if (! path) {
path = "./debug.keystore"
}
storeFile file(path)
keyAlias "androiddebugkey"
storePassword "android"
keyPassword "android"
}
}
buildTypes {