Created
April 30, 2020 00:55
-
-
Save FarazPatankar/ccddd23bc553db426c6c21d9caff2616 to your computer and use it in GitHub Desktop.
Gradle config for React Native
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
android { | |
... | |
defaultConfig { ... } | |
signingConfigs { | |
release { | |
if (project.hasProperty('MYAPP_UPLOAD_STORE_FILE')) { | |
storeFile file(MYAPP_UPLOAD_STORE_FILE) | |
storePassword MYAPP_UPLOAD_STORE_PASSWORD | |
keyAlias MYAPP_UPLOAD_KEY_ALIAS | |
keyPassword MYAPP_UPLOAD_KEY_PASSWORD | |
} | |
} | |
} | |
buildTypes { | |
release { | |
... | |
signingConfig signingConfigs.release | |
} | |
} | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment