mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-29 17:38:12 -07:00
Move the core plugins into plugins.xml.
This commit is contained in:
parent
23d9924242
commit
23cb52cacf
6 changed files with 38 additions and 38 deletions
|
@ -64,6 +64,13 @@ private class Main @Inject constructor(
|
|||
|
||||
public fun run(jc: JCommander, args: Args) : Int {
|
||||
|
||||
//
|
||||
// Add all the plugins read in plugin.xml to the Plugins singleton, so that code
|
||||
// in the build file that calls Plugins.findPlugin() can find them (code in the
|
||||
// build file do not have access to the KobaltContext).
|
||||
//
|
||||
pluginInfo.plugins.forEach { Plugins.addPluginInstance(it) }
|
||||
|
||||
if (args.client) {
|
||||
client.run()
|
||||
return 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue