mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
add method to get password to decrypt key from system environment for use in CI servers
This commit is contained in:
1 parent
a8c00f761a
commit
f803f14f7b
1 file changed
+2
-1
+2
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user