idea: Support 221-222. fix #2124

This commit is contained in:
Him188 2022-07-20 18:50:50 +08:00
parent f256926821
commit f5ff4be3a2
No known key found for this signature in database
GPG Key ID: BA439CDDCF652375
2 changed files with 8 additions and 8 deletions

View File

@ -23,14 +23,14 @@ object Versions {
val core = project
val console = project
val consoleIntellij = "221-$project-162-1" // idea-mirai-kotlin-patch
val consoleIntellij = "221-$project-171-1" // idea-mirai-kotlin-patch
val consoleTerminal = project
const val kotlinCompiler = "1.7.0"
const val kotlinStdlib = kotlinCompiler
const val dokka = "1.6.21"
const val kotlinCompilerForIdeaPlugin = "1.7.0"
const val kotlinCompilerForIdeaPlugin = "1.7.10"
const val coroutines = "1.6.2"
const val atomicFU = "0.17.2"
@ -66,9 +66,9 @@ object Versions {
const val yamlkt = "0.12.0"
const val intellijGradlePlugin = "1.7.0"
// const val kotlinIntellijPlugin = "211-1.5.20-release-284-IJ7442.40" // keep to newest as kotlinCompiler
const val intellij = "2022.1" // don't update easily unless you want your disk space -= 500MB
// don't update easily unless you want your disk space -= 1000 MB
// (700 MB for IDEA, 150 MB for sources, 150 MB for JBR)
const val intellij = "222.3345-EAP-CANDIDATE-SNAPSHOT"
}
@Suppress("unused")

View File

@ -28,7 +28,7 @@ description = "IntelliJ plugin for Mirai Console"
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version.set(Versions.intellij)
downloadSources.set(true)
downloadSources.set(IDEA_ACTIVE)
updateSinceUntilBuild.set(false)
sandboxDir.set(projectDir.resolve("run/idea-sandbox").absolutePath)
@ -71,8 +71,8 @@ kotlin.target.compilations.all {
// https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library
tasks.withType<org.jetbrains.intellij.tasks.PatchPluginXmlTask> {
sinceBuild.set("221.0")
untilBuild.set("221.999999")
sinceBuild.set("221")
untilBuild.set("222.*")
pluginDescription.set(
"""
Plugin development support for <a href='https://github.com/mamoe/mirai'>Mirai Console</a>