Add signing config
This commit is contained in:
parent
db6ef17664
commit
27e20030e2
|
@ -7,4 +7,6 @@
|
|||
/captures
|
||||
.externalNativeBuild
|
||||
|
||||
/keystore.properties
|
||||
|
||||
/app/src/main/assets/sia
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue