add/keystore config
This commit is contained in:
parent
8472d8dd12
commit
da92bf5567
|
@ -154,6 +154,14 @@ android {
|
||||||
keyAlias 'androiddebugkey'
|
keyAlias 'androiddebugkey'
|
||||||
keyPassword 'android'
|
keyPassword 'android'
|
||||||
}
|
}
|
||||||
|
release {
|
||||||
|
if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
|
||||||
|
storeFile file(MYAPP_RELEASE_STORE_FILE)
|
||||||
|
storePassword MYAPP_RELEASE_STORE_PASSWORD
|
||||||
|
keyAlias MYAPP_RELEASE_KEY_ALIAS
|
||||||
|
keyPassword MYAPP_RELEASE_KEY_PASSWORD
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
|
@ -165,6 +173,7 @@ android {
|
||||||
signingConfig signingConfigs.debug
|
signingConfig signingConfigs.debug
|
||||||
minifyEnabled enableProguardInReleaseBuilds
|
minifyEnabled enableProguardInReleaseBuilds
|
||||||
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
||||||
|
signingConfig signingConfigs.release
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,3 +26,8 @@ android.enableJetifier=true
|
||||||
|
|
||||||
# Version of flipper SDK to use with React Native
|
# Version of flipper SDK to use with React Native
|
||||||
FLIPPER_VERSION=0.75.1
|
FLIPPER_VERSION=0.75.1
|
||||||
|
|
||||||
|
MYAPP_RELEASE_STORE_FILE=my-key.keystore
|
||||||
|
MYAPP_RELEASE_KEY_ALIAS=my-key-alias
|
||||||
|
MYAPP_RELEASE_STORE_PASSWORD=******
|
||||||
|
MYAPP_RELEASE_KEY_PASSWORD=*******
|
||||||
|
|
Loading…
Reference in New Issue