mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Warning.
This commit is contained in:
parent
8eacf476a1
commit
3c1e1acd20
2 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ public class Plugins @Inject constructor (val taskManagerProvider : Provider<Tas
|
||||||
}
|
}
|
||||||
|
|
||||||
// Now that we have collected all static and dynamic tasks, turn them all into plug-in tasks
|
// Now that we have collected all static and dynamic tasks, turn them all into plug-in tasks
|
||||||
taskManager.computePluginTasks(plugins, projects)
|
taskManager.computePluginTasks(projects)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun <T: Annotation> findStaticTasks(plugin: IPlugin, klass: Class<T>, validate: (Method) -> Boolean)
|
private fun <T: Annotation> findStaticTasks(plugin: IPlugin, klass: Class<T>, validate: (Method) -> Boolean)
|
||||||
|
|
|
@ -266,7 +266,7 @@ public class TaskManager @Inject constructor(val args: Args) {
|
||||||
/**
|
/**
|
||||||
* Turn all the static and dynamic tasks into plug-in tasks, which are then suitable to be executed.
|
* Turn all the static and dynamic tasks into plug-in tasks, which are then suitable to be executed.
|
||||||
*/
|
*/
|
||||||
fun computePluginTasks(plugins: List<IPlugin>, projects: List<Project>) {
|
fun computePluginTasks(projects: List<Project>) {
|
||||||
installAnnotationTasks(projects)
|
installAnnotationTasks(projects)
|
||||||
addDynamicTasks(projects)
|
addDynamicTasks(projects)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue