add method to get password to decrypt key from system environment for use in CI servers

This commit is contained in:
Progwml6 committed 2014-02-10 01:15:56 -05:00
1 parent a8c00f761a
commit f803f14f7b
1 file changed
+2 -1
+2 -1
View File
@@ -178,7 +178,8 @@ if (!project.hasProperty("keystore_user_alias")) // keystore user alias
if (!project.hasProperty("keystore_user_password")) // keystore user pass
ext.keystore_user_password = "";
if (System.getenv().KSK_PW != null && !project.hasProperty("keystore_user_password"))
ext.keystore_user_password =System.getenv().KSK_PW;
task("signJar", dependsOn: "build")
{
inputs.file jar.getArchivePath()