diff options
author | Yves Fischer <yves.fischer@cern.ch> | 2016-12-01 13:33:36 +0100 |
---|---|---|
committer | Yves Fischer <yves.fischer@cern.ch> | 2016-12-01 13:33:42 +0100 |
commit | 2ad292bf503105eb6b0b293d79b0476f4314b432 (patch) | |
tree | 451bde4133892cf8f2277ee3bf6ee413b8203dad /build.gradle | |
parent | 74ad736656b986942d99667394b5462975c26304 (diff) | |
download | debian-packages-2ad292bf503105eb6b0b293d79b0476f4314b432.tar.gz debian-packages-2ad292bf503105eb6b0b293d79b0476f4314b432.zip |
Replace << by doLast
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle index af60897..7d9594c 100644 --- a/build.gradle +++ b/build.gradle @@ -37,7 +37,7 @@ allprojects { } final reindex = tasks.create('reindex') -reindex << { +reindex.doLast { ant.taskdef( name: 'antSsh', classname: 'org.apache.tools.ant.taskdefs.optional.ssh.SSHExec', @@ -67,7 +67,7 @@ subprojects { } // meta task - task download << {} + final download = tasks.create('download') ext.makeDownloadTask = { Map params -> final url = params.url @@ -98,7 +98,7 @@ subprojects { final buildDeb = project.getTasks().getByName('buildDeb') final upload = tasks.create('upload') - upload << { + upload.doLast { ant.antScp( file: buildDeb.archivePath, todir: "${sshUser}@${sshHost}:${sshTargetDir}", @@ -122,7 +122,7 @@ subprojects { project.extensions.add('activator', activatorExtension) final activatorTask = task('activator') - activatorTask << { + activatorTask.doLast { final activatorDir = new File(project.buildDir, 'activator') activatorExtension.bin.each { entry -> |