Add signing config

This commit is contained in:
xynngh 2019-12-01 14:41:42 +04:00
parent db6ef17664
commit 27e20030e2
2 changed files with 13 additions and 0 deletions

2
.gitignore vendored
View File

@ -7,4 +7,6 @@
/captures
.externalNativeBuild
/keystore.properties
/app/src/main/assets/sia

View File

@ -9,10 +9,21 @@ android {
versionCode 310
versionName "0.3.1"
}
signingConfigs {
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(rootProject.file("keystore.properties")))
release {
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
compileOptions {