From c820ff757e5204f0587c545c6a647fdea6234c9f Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 14 Mar 2017 18:46:43 +0100 Subject: [PATCH] update the signing file --- app/build.gradle | 7 +++---- signing.properties_sample | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 938e7ec..96578f9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -41,12 +41,11 @@ def propFile = new File('signing.properties') if (propFile.canRead()) { props.load(new FileInputStream(propFile)) - if (props != null && props.containsKey('STORE_FILE') && props.containsKey('STORE_PASSWORD') && - props.containsKey('KEY_ALIAS') && props.containsKey('KEY_PASSWORD')) { + if (props != null && props.containsKey('STORE_FILE') && props.containsKey('KEY_ALIAS') && props.containsKey('PASSWORD')) { android.signingConfigs.release.storeFile = file(props['STORE_FILE']) - android.signingConfigs.release.storePassword = props['STORE_PASSWORD'] + android.signingConfigs.release.storePassword = props['PASSWORD'] android.signingConfigs.release.keyAlias = props['KEY_ALIAS'] - android.signingConfigs.release.keyPassword = props['KEY_PASSWORD'] + android.signingConfigs.release.keyPassword = props['PASSWORD'] } else { println 'signing.properties found but some entries are missing' android.buildTypes.release.signingConfig = null diff --git a/signing.properties_sample b/signing.properties_sample index acf8fb9..6b9a344 100644 --- a/signing.properties_sample +++ b/signing.properties_sample @@ -1,4 +1,3 @@ STORE_FILE=/path/to/your.keystore -STORE_PASSWORD=yourkeypass KEY_ALIAS=projectkeyalias -KEY_PASSWORD=yourkeypass +PASSWORD=yourkeypass