Gradle: Release build

This commit is contained in:
zt515
2017-06-17 12:52:04 +08:00
parent 1bf540e5e5
commit 255163ff98
2 changed files with 10 additions and 0 deletions

View File

@ -3,6 +3,14 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
android { android {
signingConfigs {
release {
keyAlias 'kiva'
keyPassword 'k12fd15dp'
storeFile file('docs/kiva.keystore')
storePassword 'k12fd15dp'
}
}
compileSdkVersion 25 compileSdkVersion 25
buildToolsVersion "25.0.2" buildToolsVersion "25.0.2"
defaultConfig { defaultConfig {
@ -28,6 +36,8 @@ android {
release { release {
minifyEnabled true minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
proguardFile 'app/proguard-rules.pro'
} }
} }
externalNativeBuild { externalNativeBuild {

BIN
docs/kiva.keystore Executable file

Binary file not shown.