1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00
This commit is contained in:
Cedric Beust 2015-12-07 21:53:21 -08:00
parent 6bbd9bd943
commit 36387c374d

View file

@ -119,6 +119,7 @@ class PluginInfo(val xml: KobaltPluginXml, val classLoader: ClassLoader?) {
//
// Populate pluginInfo with what was found in Kobalt's own kobalt-plugin.xml
//
@Suppress("UNCHECKED_CAST")
xml.pluginActors?.className?.forEach {
with(factory.instanceOf(forName(it))) {
// Note: can't use "when" here since the same instance can implement multiple interfaces