Skip to content

Commit

Permalink
Merge pull request #6 from AdamKobus/ST-151
Browse files Browse the repository at this point in the history
ST-151 Fixed keystorePropPath param
  • Loading branch information
AdamKobus authored Jul 22, 2016
2 parents 9eb4fb6 + 7495a56 commit 297f6fc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class CreateKeyStoreExtCommand extends IConfigCommand {
@Override
void performCommand(IProjectConfigurator configurator) {
configuredProject.ext.createSigningConfigFromFile = { String defaultPath ->
def String path = configuredProject.hasProperty('keystorePropPath') ? keystorePropPath : defaultPath;
def String path = configuredProject.hasProperty('keystorePropPath') ?
configuredProject.keystorePropPath : defaultPath;
println ">> Keystore properties path is set to $path";
def propFile = new File(path);
def propDir = propFile.getParentFile().getAbsolutePath();
Expand Down

0 comments on commit 297f6fc

Please sign in to comment.