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

#755 Refactoring

parent 8f6c8ede
......@@ -150,7 +150,7 @@ def runItest(String iTestName) {
***************************/
def download(String remoteUrl, String localUrl) {
File localFile = new File("$localUrl")
File localFile = new File(localUrl)
if(!localFile.exists()) localFile.createNewFile()
localFile.withOutputStream { out ->
......@@ -165,7 +165,7 @@ task handleJreTask() {
boolean forceJreDownload = project.hasProperty('TABLEXIA_JRE_FORCE_DOWNLOAD') ? project.property('TABLEXIA_JRE_FORCE_DOWNLOAD') : false;
if(!jreFolder.exists() || forceJreDownload) {
logger.lifecycle("Downloading JRE.")
//Download JRE
download(project.property('TABLEXIA_JRE_DOWNLOAD_MIRROR'), project.buildDir.absolutePath + jreFileName)
......
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