From 97718a0a25ec50fedf7b023ae63bfcffbcfafb4b Mon Sep 17 00:00:00 2001 From: Andrew Grieve Date: Tue, 31 Mar 2015 20:42:26 -0400 Subject: [PATCH] CB-8548 Allow ant-style property key for key.store.type Other properties already allowed ant-style. This one was missed. --- bin/templates/project/build.gradle | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/templates/project/build.gradle b/bin/templates/project/build.gradle index f4829093..af96b118 100644 --- a/bin/templates/project/build.gradle +++ b/bin/templates/project/build.gradle @@ -286,16 +286,14 @@ def addSigningProps(propsFilePath, signingConfig) { signingConfig.keyPassword = props.get('keyPassword', props.get('key.alias.password', signingConfig.keyPassword)) signingConfig.storeFile = storeFile signingConfig.storePassword = props.get('storePassword', props.get('key.store.password', signingConfig.storePassword)) - def storeType = props.get('storeType') + def storeType = props.get('storeType', props.get('key.store.type', signingConfig.storeType)) if (!storeType) { def filename = storeFile.getName().toLowerCase(); if (filename.endsWith('.p12') || filename.endsWith('.pfx')) { storeType = 'pkcs12' } } - if (storeType) { - signingConfig.storeType = storeType - } + signingConfig.storeType = storeType } for (def func : cdvPluginPostBuildExtras) {