X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=blobdiff_plain;f=build.gradle;h=af9a26f00b9169aabfef716047567c95192e8deb;hp=71eb491e3cd6ec8b45331a4062eec405702c145e;hb=b36478ce646df46b638fc673ab6434f01711c04b;hpb=87cf0bc9b8dd3420b6e4118b61c2a6eeab6a6b22 diff --git a/build.gradle b/build.gradle index 71eb491..af9a26f 100644 --- a/build.gradle +++ b/build.gradle @@ -807,7 +807,7 @@ task getdownWebsite() { // 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 += "resource = " + getdown_launcher_new + "\n" getdownTextString += "class = " + mainClass + "\n" def getdown_txt = file(project.ext.getdownWebsiteDir + "/getdown.txt") @@ -819,6 +819,13 @@ task getdownWebsite() { } copy { + from project.ext.getdownWebsiteDir + into project.ext.getdownWebsiteDir + include(file(getdownLauncher).getName()) + rename(file(getdownLauncher).getName(), getdown_launcher_new) + } + + copy { from getdownLauncher into project.ext.getdownFilesDir }