X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=build.gradle;h=2f50c3d489b8ce6c69b51d3f5480d16da7eeac9f;hb=25a6eb94ea06ffae53a2368e8165832adcbc014c;hp=c5416e1f93440c200aae9131911a22be89dd3731;hpb=31245062876ba32c239a8000f475101625e3c581;p=jalview.git diff --git a/build.gradle b/build.gradle index c5416e1..2f50c3d 100644 --- a/build.gradle +++ b/build.gradle @@ -722,7 +722,9 @@ task getdownWebsite() { } */ - getdownTextString += "code = " + file(getdownLauncher).getName() + "\n" + // getdown-launcher.jar should not be in main application class path so the main application can move it when updated. Listed as a resource so it gets updated. + //getdownTextString += "class = " + file(getdownLauncher).getName() + "\n" + getdownTextString += "resource = " + file(getdownLauncher).getName() + "\n" getdownTextString += "class = " + mainClass + "\n" def getdown_txt = file(project.ext.getdownWebsiteDir + "/getdown.txt") @@ -771,6 +773,7 @@ task getdownDigest(type: JavaExec) { classpath file(jalviewDir + '/' + getdown_lib1) main = "com.threerings.getdown.tools.Digester" args project.ext.getdownWebsiteDir + inputs.dir(project.ext.getdownWebsiteDir) outputs.file(project.ext.getdownWebsiteDir + '/' + "digest2.txt") } @@ -822,7 +825,6 @@ task copyInstall4jTemplate(type: Copy) { filter(ReplaceTokens, beginToken: '', endToken: '', tokens: ['9999999999': JAVA_VERSION]) filter(ReplaceTokens, beginToken: '$$', endToken: '$$', tokens: ['JAVA_VERSION': JAVA_VERSION, 'JAVA_INTEGER_VERSION': JAVA_INTEGER_VERSION, 'VERSION': JALVIEW_VERSION, 'MACOS_JAVA_VM_DIR': macosJavaVMDir, 'MACOS_JAVA_VM_TGZ': macosJavaVMTgz, 'WINDOWS_JAVA_VM_DIR': windowsJavaVMDir, 'WINDOWS_JAVA_VM_TGZ': windowsJavaVMTgz]) if (OSX_KEYPASS=="") { - println "Empty '"+OSX_KEYPASS+"'" filter(ReplaceTokens, beginToken: 'codeSigning macEnabled="', endToken: '"', tokens: ['true':'codeSigning macEnabled="false"']) filter(ReplaceTokens, beginToken: 'runPostProcessor="true" ',endToken: 'Processor', tokens: ['post':'runPostProcessor="false" postProcessor']) }