X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=build.gradle;h=0a27370a4f0666558cbc0223ef341d0cd8fafa9b;hb=9038c9b054cee6232692f51d9370ad707a0efceb;hp=2e2301351ebad50ea38e2aada1b90ecd0f1cc605;hpb=20b030b657ab849a61bdd950abba0c58b013f11f;p=jalview.git diff --git a/build.gradle b/build.gradle index 2e23013..0a27370 100644 --- a/build.gradle +++ b/build.gradle @@ -1572,6 +1572,18 @@ task getdownWebsite() { into getdownResourceDir } } + + def getdownWrapperScripts = [ getdown_mac_wrapper_script, getdown_unix_wrapper_script, getdown_windows_wrapper_script ] + getdownWrapperScripts.each{ script -> + def s = file( "${jalviewDir}/utils/getdown/${script}" ) + if (s.exists()) { + copy { + from s + into getdownWebsiteDir + } + getdownTextString += "resource = ${script}\n" + } + } def codeFiles = [] fileTree(file(package_dir)).each{ f -> @@ -1900,6 +1912,8 @@ task installers(type: com.install4j.gradle.Install4jTask) { 'WINDOWS_APPLICATION_ID': install4jWinApplicationId, 'MACOS_DMG_DS_STORE': install4jDMGDSStore, 'MACOS_DMG_BG_IMAGE': install4jDMGBackgroundImage, + 'MACOS_DMG_WRAPPER_LINK': install4j_dmg_wrapper_link, + 'MACOS_WRAPPER_SCRIPT': getdown_mac_wrapper_script, 'INSTALLER_NAME': install4jInstallerName, 'INSTALL4J_UTILS_DIR': install4j_utils_dir, 'GETDOWN_WEBSITE_DIR': getdown_website_dir, @@ -2064,7 +2078,7 @@ task sourceDist(type: Tar) { include(file(buildProperties).getName()) rename(file(buildProperties).getName(), "build_properties") filter({ line -> - line.replaceAll("^INSTALLATION=.*\$","INSTALLATION=SourceDist"+" git-commit\\\\:"+gitHash+" ["+gitBranch+"]") + line.replaceAll("^INSTALLATION=.*\$","INSTALLATION=Source Release"+" git-commit\\\\:"+gitHash+" ["+gitBranch+"]") }) }