task compile << {
println 'Compiling source code'
}
task compileTest(dependsOn: compile) << {
println 'Compiling unit tests'
}
task test(dependsOn: compileTest) << {
println 'Running unit tests'
}
task dist(dependsOn: [compile, test]) << {
println 'Building the distribution'
}