1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00
This commit is contained in:
Cedric Beust 2015-12-20 10:28:33 +04:00
parent 8eacf476a1
commit 3c1e1acd20
2 changed files with 2 additions and 2 deletions

View file

@ -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
taskManager.computePluginTasks(plugins, projects)
taskManager.computePluginTasks(projects)
}
private fun <T: Annotation> findStaticTasks(plugin: IPlugin, klass: Class<T>, validate: (Method) -> Boolean)

View file

@ -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.
*/
fun computePluginTasks(plugins: List<IPlugin>, projects: List<Project>) {
fun computePluginTasks(projects: List<Project>) {
installAnnotationTasks(projects)
addDynamicTasks(projects)
}