JAL-3224 JAL-3225 Added lines to check for updates to getdown-launcher.jar into Jalvi...
[jalview.git] / build.gradle
index 0716ae9..55d5709 100644 (file)
@@ -715,8 +715,7 @@ task getdownWebsite() {
     }
     */
 
-    //moved getdown_launcher into dist
-    //getdownTextString += "code = " + packageDir + '/' + file(getdownLauncher).getName() + "\n"
+    getdownTextString += "code = " + file(getdownLauncher).getName() + "\n"
     getdownTextString += "class = " + mainClass + "\n"
 
     def getdown_txt = file(project.ext.getdownWebsiteDir + "/getdown.txt")
@@ -729,7 +728,12 @@ task getdownWebsite() {
 
     copy {
       from getdownLauncher
-      into project.ext.getdownFilesDir + '/' + packageDir
+      into project.ext.getdownFilesDir
+    }
+
+    copy {
+      from getdownLauncher
+      into project.ext.getdownWebsiteDir
     }
 
     copy {