From 25304c80bcbe3669cf60a2b78329c02f8d4a24bb Mon Sep 17 00:00:00 2001 From: Juraj Michalek Date: Fri, 9 May 2014 12:12:12 +0200 Subject: [PATCH] fix hello task - use doLast --- gradle/01-hello-task/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gradle/01-hello-task/build.gradle b/gradle/01-hello-task/build.gradle index 7b61e71..96000bc 100644 --- a/gradle/01-hello-task/build.gradle +++ b/gradle/01-hello-task/build.gradle @@ -1,5 +1,9 @@ task hello { + // Loaded in configuration phase description = "Say Hello :-)" - println "Hello FI MUNI!" + doLast { + // Executed in execution phase + println "Hello FI MUNI!" + } }