1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 08:38:13 -07:00

First pass at adding incremental tasks.

This commit is contained in:
Cedric Beust 2015-12-20 09:38:55 +04:00
parent fdbbc8ebde
commit 8883055337
5 changed files with 46 additions and 10 deletions

View file

@ -87,7 +87,7 @@ class BuildScriptUtil @Inject constructor(val plugins: Plugins, val files: KFile
} else {
val taskAnnotation = method.getAnnotation(Task::class.java)
if (taskAnnotation != null) {
taskManager.staticTasks.add(TaskManager.StaticTask(defaultPlugin, method, taskAnnotation))
taskManager.addStaticTask(defaultPlugin, method, taskAnnotation)
}
}}