Add signing config
This commit is contained in:
parent
db6ef17664
commit
27e20030e2
|
@ -7,4 +7,6 @@
|
||||||
/captures
|
/captures
|
||||||
.externalNativeBuild
|
.externalNativeBuild
|
||||||
|
|
||||||
|
/keystore.properties
|
||||||
|
|
||||||
/app/src/main/assets/sia
|
/app/src/main/assets/sia
|
||||||
|
|
|
@ -9,10 +9,21 @@ android {
|
||||||
versionCode 310
|
versionCode 310
|
||||||
versionName "0.3.1"
|
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 {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||||
|
signingConfig signingConfigs.release
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
compileOptions {
|
compileOptions {
|
||||||
|
|
Loading…
Reference in New Issue