mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-27 00:30:17 +08:00
Configure JVM target for mirai-console-intellij
This commit is contained in:
parent
337246acff
commit
85c6387b9c
@ -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) {
|
tasks.getByName("publishPlugin", org.jetbrains.intellij.tasks.PublishTask::class) {
|
||||||
val pluginKey = project.findProperty("jetbrains.hub.key")?.toString()
|
val pluginKey = project.findProperty("jetbrains.hub.key")?.toString()
|
||||||
if (pluginKey != null) {
|
if (pluginKey != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user