Configure build for release
App is finally done.
This commit is contained in:
parent
75ee14d890
commit
4314ea8bed
|
@ -97,6 +97,14 @@ android {
|
||||||
abiFilters "armeabi-v7a", "x86"
|
abiFilters "armeabi-v7a", "x86"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
signingConfigs {
|
||||||
|
release {
|
||||||
|
storeFile file(MYAPP_RELEASE_STORE_FILE)
|
||||||
|
storePassword MYAPP_RELEASE_STORE_PASSWORD
|
||||||
|
keyAlias MYAPP_RELEASE_KEY_ALIAS
|
||||||
|
keyPassword MYAPP_RELEASE_KEY_PASSWORD
|
||||||
|
}
|
||||||
|
}
|
||||||
splits {
|
splits {
|
||||||
abi {
|
abi {
|
||||||
reset()
|
reset()
|
||||||
|
@ -109,6 +117,7 @@ android {
|
||||||
release {
|
release {
|
||||||
minifyEnabled enableProguardInReleaseBuilds
|
minifyEnabled enableProguardInReleaseBuilds
|
||||||
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
||||||
|
signingConfig signingConfigs.release
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// applicationVariants are e.g. debug, release
|
// applicationVariants are e.g. debug, release
|
||||||
|
|
Loading…
Reference in New Issue
Block a user