1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-25 21:23:55 +08:00
This commit is contained in:
Him188 2020-07-11 20:08:53 +08:00
parent b636ea9b31
commit 0a50674f67
2 changed files with 3 additions and 2 deletions
backend/mirai-console
build.gradle.kts
src/main/kotlin/net/mamoe/mirai/console/plugin/jvm

View File

@ -30,6 +30,7 @@ kotlin {
kotlinOptions {
freeCompilerArgs = freeCompilerArgs + "-Xjvm-default=enable"
jvmTarget = "1.8"
// useIR = true
}
}
languageSettings.apply {

View File

@ -80,8 +80,8 @@ internal object JarPluginLoaderImpl :
logger.error("Cannot load plugin file ${file.name}", it)
null
}
)?.also { it._file = file }
}
)?.also { it._file = file }
}
}
@Suppress("RemoveExplicitTypeArguments") // until Kotlin 1.4 NI