From 61544185d2e20d99f37f63c98584bcc7c73b359b Mon Sep 17 00:00:00 2001 From: Mateusz Sterczewski Date: Tue, 7 Apr 2026 11:54:53 +0200 Subject: [PATCH 1/2] CM-62296: Add IntelliJ IDEA 2026.1 support - Bump pluginUntilBuild from 253.* to 263.* to support 2026.x IDEs - Upgrade to IntelliJ Platform Gradle Plugin 2.13.1 (from 2.10.4) which supports the new unified IntelliJ IDEA distribution (2025.3+) - Upgrade Gradle to 9.4.1 (required by plugin 2.13.1) - Upgrade Kover to 0.9.8 (required for Gradle 9 compatibility) - Switch from intellijIdeaCommunity() to intellijIdea() and bump platformVersion to 2025.3, as Community/Ultimate are now unified - Add runIde2026 task for local testing against an installed 2026.1 IDE Co-Authored-By: Claude Sonnet 4.6 --- build.gradle.kts | 7 ++++++- gradle.properties | 6 +++--- gradle/libs.versions.toml | 4 ++-- gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 9c2985c..a1fc729 100755 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -32,7 +32,7 @@ dependencies { implementation(libs.flexmark) intellijPlatform { - intellijIdeaCommunity(properties("platformVersion")) + intellijIdea(properties("platformVersion")) // Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html // Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22 bundledPlugin("com.intellij.java") @@ -152,6 +152,11 @@ tasks { } } +val runIde2026 by intellijPlatformTesting.runIde.registering { + useInstaller = false + localPath = file("/Applications/IntelliJ IDEA.app") +} + val runIdeForUiTests by intellijPlatformTesting.runIde.registering { task { jvmArgumentProviders += CommandLineArgumentProvider { diff --git a/gradle.properties b/gradle.properties index e00a840..927f629 100755 --- a/gradle.properties +++ b/gradle.properties @@ -8,17 +8,17 @@ pluginVersion = 3.0.4 # Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html pluginSinceBuild = 241 -pluginUntilBuild = 253.* +pluginUntilBuild = 263.* # IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html # 2021.1 - Apple Silicon support + fixes for development on Apple Silicon # 2022.3 - minimum version for IntelliJ Platform Gradle Plugin (2.x) # 2023.1 - allows to fix "com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated blabla" # 2024.1 - allows to fix "com.cycode.plugin.services.ServicesKt" compatibility issues -platformVersion = 2024.1 +platformVersion = 2025.3 # Gradle Releases -> https://github.com/gradle/gradle/releases -gradleVersion = 8.14.1 +gradleVersion = 9.4.1 # Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib kotlin.stdlib.default.dependency = false diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index ae58114..a2f9e6e 100755 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -8,8 +8,8 @@ flexmark = "0.64.8" dokka = "1.9.20" kotlin = "2.2.0" changelog = "2.2.1" -gradleIntelliJPlugin = "2.10.4" -kover = "0.9.0" +gradleIntelliJPlugin = "2.13.1" +kover = "0.9.8" [libraries] annotations = { group = "org.jetbrains", name = "annotations", version.ref = "annotations" } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 002b867..c61a118 100755 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME From 42ee47a3a92e83c28c6d847db041b9ef4eaa5c9e Mon Sep 17 00:00:00 2001 From: Mateusz Sterczewski Date: Tue, 7 Apr 2026 12:32:39 +0200 Subject: [PATCH 2/2] CM-62296: Revert platformVersion to 2024.1 to fix older IDE compatibility Compiling against 2025.3 SDK causes PluginId.Companion references in bytecode that don't exist in IDEs 241-251. Reverting to 2024.1 fixes this. The verifier already covers 2026.1 via recommended() without needing to compile against a newer SDK. Co-Authored-By: Claude Sonnet 4.6 --- build.gradle.kts | 7 +------ gradle.properties | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index a1fc729..9c2985c 100755 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -32,7 +32,7 @@ dependencies { implementation(libs.flexmark) intellijPlatform { - intellijIdea(properties("platformVersion")) + intellijIdeaCommunity(properties("platformVersion")) // Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html // Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22 bundledPlugin("com.intellij.java") @@ -152,11 +152,6 @@ tasks { } } -val runIde2026 by intellijPlatformTesting.runIde.registering { - useInstaller = false - localPath = file("/Applications/IntelliJ IDEA.app") -} - val runIdeForUiTests by intellijPlatformTesting.runIde.registering { task { jvmArgumentProviders += CommandLineArgumentProvider { diff --git a/gradle.properties b/gradle.properties index 927f629..69dcf16 100755 --- a/gradle.properties +++ b/gradle.properties @@ -15,7 +15,7 @@ pluginUntilBuild = 263.* # 2022.3 - minimum version for IntelliJ Platform Gradle Plugin (2.x) # 2023.1 - allows to fix "com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated blabla" # 2024.1 - allows to fix "com.cycode.plugin.services.ServicesKt" compatibility issues -platformVersion = 2025.3 +platformVersion = 2024.1 # Gradle Releases -> https://github.com/gradle/gradle/releases gradleVersion = 9.4.1