Skip to content

Commit

Permalink
hotfix: set IDE version to 2022.3 to avoid byte-code incompatibility
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Pakisan committed Sep 2, 2024
1 parent bdfbba8 commit fa4dd8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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"
))
}
}
Expand Down

0 comments on commit fa4dd8c

Please sign in to comment.