Commit 350fe5aa authored by jiahua.liu's avatar jiahua.liu

plugin supporting

parent be91d607
......@@ -134,7 +134,7 @@ object PluginManager {
}
}
fun checkNoCircularDependsCheck(
fun checkNoCircularDepends(
target: PluginDescription,
needDepends: List<String>,
existDepends: MutableList<String>
......@@ -154,14 +154,14 @@ object PluginManager {
needDepends.forEach {
if (pluginsFound.containsKey(it)) {
checkNoCircularDependsCheck(pluginsFound[it]!!, pluginsFound[it]!!.depends, existDepends)
checkNoCircularDepends(pluginsFound[it]!!, pluginsFound[it]!!.depends, existDepends)
}
}
}
pluginsFound.values.forEach {
checkNoCircularDependsCheck(it, it.depends, mutableListOf())
checkNoCircularDepends(it, it.depends, mutableListOf())
}
//load
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment