From 9ae00e8d395fe6bc67427d6cfd6c4a165122a5aa Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Sat, 10 Oct 2015 04:36:34 -0700 Subject: [PATCH] Doc. --- .../kotlin/com/beust/kobalt/api/annotation/Annotations.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/com/beust/kobalt/api/annotation/Annotations.kt b/src/main/kotlin/com/beust/kobalt/api/annotation/Annotations.kt index 86eeb670..f728bc9d 100644 --- a/src/main/kotlin/com/beust/kobalt/api/annotation/Annotations.kt +++ b/src/main/kotlin/com/beust/kobalt/api/annotation/Annotations.kt @@ -7,7 +7,12 @@ annotation class Directive @Retention(AnnotationRetention.RUNTIME) annotation class Task(val name: String, val description: String, + /** Tasks that this task depends on */ val runBefore: Array = arrayOf(), + + /** Tasks that this task will run after if they get run */ val runAfter: Array = arrayOf(), + + /** Tasks that this task will always run after */ val wrapAfter: Array = arrayOf() - ) +)