// 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")
copy {
from getdownLauncher
+ into project.ext.getdownWebsiteDir
+ rename(file(getdownLauncher).getName(), getdown_launcher_new)
+ }
+
+ copy {
+ from getdownLauncher
into project.ext.getdownFilesDir
}