From 119d7750e55980d07f2f896b9e75694ba24e1d18 Mon Sep 17 00:00:00 2001 From: Jalview Build Box Date: Thu, 25 Apr 2019 15:14:54 +0100 Subject: [PATCH] JAL-3234 Gradle properties for signing: OSX_KEYSTORE, OSX_KEYPASS, JSIGN_SH --- build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 55d5709..b2da5be 100644 --- a/build.gradle +++ b/build.gradle @@ -823,9 +823,15 @@ task installers(type: com.install4j.gradle.Install4jTask) { dependsOn copyInstall4jTemplate projectFile = file(install4jConf) println("Using projectFile "+projectFile) - variables = [majorVersion: version.substring(2, 11), build: 001] + variables = [majorVersion: version.substring(2, 11), build: 001, OSX_KEYSTORE: OSX_KEYSTORE, JSIGN_SH: JSIGN_SH] destination = "$jalviewDir/$install4jBuildDir/$JAVA_VERSION" buildSelected = true + + if (OSX_KEYPASS) { + macKeystorePassword=OSX_KEYPASS + + } + inputs.dir(project.ext.getdownWebsiteDir) inputs.file(install4jConf) inputs.dir(macosJavaVMDir) -- 1.7.10.2