Add build configuration for release
This commit is contained in:
parent
ea1172606d
commit
94bcab0d76
|
@ -103,6 +103,16 @@ android {
|
||||||
abiFilters "armeabi-v7a", "x86"
|
abiFilters "armeabi-v7a", "x86"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
signingConfigs {
|
||||||
|
release {
|
||||||
|
if (project.hasProperty('ROCKETCHAT_RN_RELEASE_STORE_FILE')) {
|
||||||
|
storeFile file(ROCKETCHAT_RN_RELEASE_STORE_FILE)
|
||||||
|
storePassword ROCKETCHAT_RN_RELEASE_STORE_PASSWORD
|
||||||
|
keyAlias ROCKETCHAT_RN_RELEASE_KEY_ALIAS
|
||||||
|
keyPassword ROCKETCHAT_RN_RELEASE_KEY_PASSWORD
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
splits {
|
splits {
|
||||||
abi {
|
abi {
|
||||||
reset()
|
reset()
|
||||||
|
@ -115,6 +125,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