Skip to content

Commit

Permalink
switch dep for sftp, fix the issue w/ jar signing on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
progwml6 committed Feb 23, 2014
1 parent 7ba9277 commit 31760e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -68,7 +68,7 @@ dependencies {
//compile name: 'ForgeMultipart', version: "${config.minecraft_version}-${config.FMP_version}", ext: 'jar'
//compile name: 'CodeChickenLib', version: "${config.minecraft_version}-${config.CCLIB_version}", ext: 'jar'
//compile name: 'NotEnoughItems', version: "${config.NEI_version}", type: 'jar'
deployerJars 'org.apache.maven.wagon:wagon-ssh-external:2.2'
deployerJars 'org.apache.maven.wagon:wagon-ssh:2.2'
}

// Finds and sets version data
Expand Down Expand Up @@ -168,7 +168,7 @@ if (!project.hasProperty("sftp_key"))
ext.sftp_key = "";
if (!project.hasProperty("keystore_user_password")) // keystore user pass
ext.keystore_user_password = "";
if (System.getenv().KSK_PW != null && !project.hasProperty("keystore_user_password"))
if (System.getenv().KSK_PW != null && project.keystore_user_password != "")
ext.keystore_user_password =System.getenv().KSK_PW;
task("signJar", dependsOn: "build")
{
Expand Down

0 comments on commit 31760e8

Please sign in to comment.