From d85b8afe58a17a8984b702ae5e4c58f1f1b20aaf Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 22 Mar 2014 07:31:44 -0500 Subject: [PATCH] Pass our signing information to gradle by argument. Changes from using environment variables that the world can see to arguments. So we don't have to expose our keys and aliases to people --- Source/Android/build.gradle | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Source/Android/build.gradle b/Source/Android/build.gradle index df7aafc266..aa519cf29f 100644 --- a/Source/Android/build.gradle +++ b/Source/Android/build.gradle @@ -61,12 +61,11 @@ android { signingConfigs { release { - if (System.getenv("KEYSTORE") != null) - { - storeFile file(System.getenv("KEYSTORE")) - storePassword System.getenv("KEYSTORE_PASSWORD") - keyAlias System.getenv("KEY_ALIAS") - keyPassword System.getenv("KEY_PASSWORD") + if (project.hasProperty('keystore')) { + storeFile file(project.property('keystore')) + storePassword project.property('storepass') + keyAlias project.property('keyalias') + keyPassword project.property('keypass') } } }