dirk.dittert
03/23/2017, 5:52 PMtasks {
val needsToRunFirst by creating {
doLast { println("This thingy needs to run first") }
}
val sayHello by creating {
description = "A sample that shows how to create tasks in Kotlin!"
group = "samples"
dependsOn("needsToRunFirst")
doLast { println("Hello from Kotlin!") }
}
}