add signing info for example app

This commit is contained in:
Stanislav Miklik 2016-12-05 13:19:42 +01:00
parent 829c807bba
commit b3391efa2b
2 changed files with 9 additions and 0 deletions

View File

@ -96,6 +96,14 @@ android {
abiFilters "armeabi-v7a", "x86"
}
}
signingConfigs {
release {
storeFile file("my-release-key.keystore")
storePassword "my-password"
keyAlias "my-key-alias"
keyPassword "my-password"
}
}
splits {
abi {
reset()
@ -108,6 +116,7 @@ android {
release {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release
}
}
// applicationVariants are e.g. debug, release