Commit 50eeef76 authored by Drahomír Karchňák's avatar Drahomír Karchňák

#755 Gradle's release exe task now runs in correct order. Added some TODOs for later.

parent 5a274d77
......@@ -148,6 +148,7 @@ def runItest(String iTestName) {
* Windows Desktop Version *
***************************/
//TODO - Separated debug and release builds
launch4j {
mainClassName = 'cz.nic.tablexia.desktop.DesktopLauncher'
icon = '../../assets/icons/desktop_icon_128.png.ico'
......@@ -168,6 +169,8 @@ task createReleaseExe(dependsOn: releaseJar, type: edu.sc.seis.launch4j.tasks.La
def jreFileName = '/jre.tar.gz'
//TODO - Don't download JRE on every build??
//TODO - Building without internet connection (Providing JRE manually)
//Download JRE
download(project.property('TABLEXIA_JRE_DOWNLOAD_MIRROR'), project.buildDir.absolutePath + jreFileName)
......@@ -185,7 +188,7 @@ task createReleaseExe(dependsOn: releaseJar, type: edu.sc.seis.launch4j.tasks.La
}
//Takes .exe file in desktop/build/bin and create installer using nsis
task releaseExe(dependsOn: createReleaseExe) {
task releaseExe(dependsOn: createReleaseExe) << {
//Byte buffer to store stdout
def stdout = new ByteArrayOutputStream()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment