summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorYves Fischer <yves.fischer@cern.ch>2016-12-01 13:33:36 +0100
committerYves Fischer <yves.fischer@cern.ch>2016-12-01 13:33:42 +0100
commit2ad292bf503105eb6b0b293d79b0476f4314b432 (patch)
tree451bde4133892cf8f2277ee3bf6ee413b8203dad /packages
parent74ad736656b986942d99667394b5462975c26304 (diff)
downloaddebian-packages-2ad292bf503105eb6b0b293d79b0476f4314b432.tar.gz
debian-packages-2ad292bf503105eb6b0b293d79b0476f4314b432.zip
Replace << by doLast
Diffstat (limited to 'packages')
-rw-r--r--packages/gwt-chromium/build.gradle4
-rw-r--r--packages/oraclejdk/oracle.gradle2
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/gwt-chromium/build.gradle b/packages/gwt-chromium/build.gradle
index 63f16f9..3f4a46c 100644
--- a/packages/gwt-chromium/build.gradle
+++ b/packages/gwt-chromium/build.gradle
@@ -35,7 +35,7 @@ task unpackGwtPlugin() {
}
unpackGwtPlugin {}.dependsOn(downloadGwtPlugin)
-unpackGwtPlugin << {
+unpackGwtPlugin.doLast {
def fs = new FileOutputStream(zip)
final bytes = inputs.files.first().readBytes()
fs.write(bytes, 306, bytes.length - 306)
@@ -64,7 +64,7 @@ task unpackPdfPlugin() {
}
unpackPdfPlugin.dependsOn(downloadPdfPlugin)
-unpackPdfPlugin << {
+unpackPdfPlugin.doLast {
def fs = new FileOutputStream(zip)
final bytes = inputs.files.first().readBytes()
fs.write(bytes, 306, bytes.length - 306)
diff --git a/packages/oraclejdk/oracle.gradle b/packages/oraclejdk/oracle.gradle
index dc6020b..32f7ce0 100644
--- a/packages/oraclejdk/oracle.gradle
+++ b/packages/oraclejdk/oracle.gradle
@@ -51,7 +51,7 @@ final keytoolTask = tasks.create('keytool') {
inputs.file downloadCertRoot2.outputs
}
keytoolTask.dependsOn(tasks.untar, downloadCertGrid)
-keytoolTask << {
+keytoolTask.doLast {
keytool('cern_grid_ca', downloadCertGrid.dest)
keytool('cern_root2_ca', downloadCertRoot2.dest)
}