start 1.1.2 + add opportunity to load object plugins

This commit is contained in:
2022-06-20 20:52:42 +06:00
parent 5ec1c8c55f
commit e0a19bb5e5
6 changed files with 16 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ import org.koin.dsl.module
@Serializable
@SerialName("Hello")
class HelloPlugin : Plugin {
object HelloPlugin : Plugin {
@Serializable
data class HelloPluginConfig(
val print: String