Files
gradle-training/10-custom-task-dofirst/build.gradle
2014-05-09 16:28:50 +02:00

15 lines
305 B
Groovy

task helloWorld {
// Configuration phase - Gradle learns about tasks.
// This scope is executed first
description "Say hello :-)"
doFirst {
// Execution phase
println "Sunny day."
}
doLast {
// Execution phase
println "Greetings from Brno"
}
}