Skip to content

The plugin is not compatible with the current version #1002

@SaeedAlbaradie

Description

@SaeedAlbaradie

""Plugin is not compatible with the current version of the IDE, because it requires build 223.* or older but the current build is IU-231.9011.34""

I am working on a plugin that must be compatible with many platform versions of IntelliJ. As shown, I have this version, and other users might have the 2022.3 version.

In my build.gradle, I configured it like this:
// Configure Gradle IntelliJ Plugin

intellij { pluginName = properties("pluginName").get() version = properties("platformVersion").get() type = properties("platformType").get() sinceBuild = properties("pluginSinceBuild").get() untilBuild = properties("pluginUntilBuild").get() }

And in my gradle.properties, I defined the following:

`# Supported build number ranges and IntelliJ Platform versions

https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html

pluginSinceBuild=211
pluginUntilBuild=232.*

IntelliJ Platform Properties

https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension

platformType=IU
platformVersion=2022.3.2`

How can I make the plugin run on many versions without continuously updating it for the latest platform? At the same time, I want to ensure that users with older platform versions can still use the plugin.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions