From fa4dd8ca48c9d585df5bf361f331ef9f2b236d53 Mon Sep 17 00:00:00 2001 From: Pavel Bodiachevskii Date: Mon, 2 Sep 2024 18:40:46 +0400 Subject: [PATCH] hotfix: set IDE version to 2022.3 to avoid byte-code incompatibility Our developers believe that you likely built the plugin against version 2024.2, which includes a companion object in this class. As a result, the generated bytecode references it. To ensure compatibility, the plugin should be built against the lowest supported version, which in this case is 2022.3. Please adjust the IntelliJ version to 2022.3 in the Gradle build script and try building the plugin again. --- build.gradle.kts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 1a129c3..a0bd687 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,7 +20,7 @@ repositories { dependencies { intellijPlatform { - intellijIdeaCommunity("2024.2.0.2", useInstaller = false) + intellijIdeaCommunity("2022.3", useInstaller = false) // Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins. bundledPlugins(listOf( @@ -103,7 +103,8 @@ intellijPlatform { "2024.1.6", "2024.2", "2024.2.0.1", - "2024.2.0.2" + "2024.2.0.2", + "2024.2.1" )) } }