fix only dependency are loaded

This commit is contained in:
jiahua.liu 2020-03-30 23:23:52 +08:00
parent 0eb4f58da0
commit 620f100da1
2 changed files with 3 additions and 3 deletions

View File

@ -12,8 +12,8 @@ import org.gradle.kotlin.dsl.DependencyHandlerScope
object Versions { object Versions {
object Mirai { object Mirai {
const val core = "0.31.0" const val core = "0.31.0"
const val console = "0.4.0" const val console = "0.4.1"
const val consoleGraphical = "0.0.4" const val consoleGraphical = "0.0.5"
const val consoleWrapper = "0.2.0" const val consoleWrapper = "0.2.0"
} }

View File

@ -151,7 +151,7 @@ object PluginManager {
} }
val depend = pluginsFound[dependent]!! val depend = pluginsFound[dependent]!!
if (loadPlugin(depend)) { if (!loadPlugin(depend)) {
logger.error("Failed to load plugin " + description.name + " because " + dependent + " as dependency failed to load") logger.error("Failed to load plugin " + description.name + " because " + dependent + " as dependency failed to load")
return false return false
} }