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() - ) +)