Commit 92e8c1c2 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Improved keystore properties

parent 6b4a0910
......@@ -23,3 +23,4 @@ app/google-services.json
res/value-hi_IN
linphone-sdk-android/*.aar
app/release
keystore.properties
......@@ -58,12 +58,16 @@ android {
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
def keystorePropertiesFile = rootProject.file("keystore.properties")
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
signingConfigs {
release {
storeFile file(RELEASE_STORE_FILE)
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
}
}
......
storePassword=
keyPassword=
keyAlias=
storeFile=bc-android.keystore
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment