From: Jalview Build Box Date: Thu, 25 Apr 2019 14:14:54 +0000 (+0100) Subject: JAL-3234 Gradle properties for signing: OSX_KEYSTORE, OSX_KEYPASS, JSIGN_SH X-Git-Tag: Release_2_11_0~17^2~7^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=119d7750e55980d07f2f896b9e75694ba24e1d18;p=jalview.git JAL-3234 Gradle properties for signing: OSX_KEYSTORE, OSX_KEYPASS, JSIGN_SH --- 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)