From 738cbb560236089a1c9a1867482668ed4ce89028 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Sat, 14 Dec 2024 18:02:55 +0100 Subject: [PATCH] Downgrade IntelliJ plugin since latest one requires jvm 17 --- gradle/libs.versions.toml | 2 +- tools/idea/build.gradle.kts | 22 ++++++++++------------ 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7dc014512..58496ab30 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -69,6 +69,6 @@ version.ref = "shadow" [plugins] shadow = { id = "com.gradleup.shadow", version.ref = "shadow" } -intellij = { id = "org.jetbrains.intellij.platform", version = "2.2.0" } +intellij = { id = "org.jetbrains.intellij", version = "1.17.2" } pluginPublish = { id = "com.gradle.plugin-publish", version = "1.1.0" } nodejs = { id = "com.github.node-gradle.node", version = "7.1.0" } \ No newline at end of file diff --git a/tools/idea/build.gradle.kts b/tools/idea/build.gradle.kts index 31736bf0f..6ade3055f 100644 --- a/tools/idea/build.gradle.kts +++ b/tools/idea/build.gradle.kts @@ -19,23 +19,21 @@ plugins { alias(libs.plugins.intellij) } -repositories { - mavenCentral() - intellijPlatform { - defaultRepositories() - } +intellij { + version = libs.versions.idea.asProvider().get() + type = "IC" + updateSinceUntilBuild = false + + plugins = listOf( + "java", + "org.intellij.scala:${libs.versions.idea.scala.get()}", + "org.jetbrains.kotlin" + ) } dependencies { compileOnly(project(":tools:ide-deps")) runtimeOnly(project(path = ":tools:ide-deps", configuration = "shadow").setTransitive(false)) - intellijPlatform { - intellijIdeaCommunity(libs.versions.idea.asProvider()) - - bundledPlugin("com.intellij.java") - bundledPlugin("org.jetbrains.kotlin") - plugin("org.intellij.scala", libs.versions.idea.scala.get()) - } } tasks {