mirror of
https://github.com/ysoftdevs/gradle-training.git
synced 2026-11-28 11:32:35 +01:00
09 example with doLast - config/exec phase
This commit is contained in:
1 parent
faa16c51e7
commit
64f78ee11c
2 files changed
+30
-18
No files matched your search
@@ -0,0 +1,10 @@
|
||||
task helloWorld {
|
||||
// Configuration phase - Gradle learns about tasks.
|
||||
// This scope is executed first
|
||||
description "Say hello :-)"
|
||||
|
||||
doLast {
|
||||
// Execution phase
|
||||
println "Greetings from Brno"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user