Configure JVM target for mirai-console-intellij

This commit is contained in:
Him188 2021-02-24 09:08:38 +08:00
parent 337246acff
commit 85c6387b9c

View File

@ -37,6 +37,8 @@ intellij {
)
}
project.extra.set("javaTarget", JavaVersion.VERSION_11) // see build.gradle.kts:213 in root project
tasks.getByName("publishPlugin", org.jetbrains.intellij.tasks.PublishTask::class) {
val pluginKey = project.findProperty("jetbrains.hub.key")?.toString()
if (pluginKey != null) {