Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plugin is not compatible with the current version #1002

Open
SaeedAlbaradie opened this issue Oct 23, 2023 · 0 comments
Open

The plugin is not compatible with the current version #1002

SaeedAlbaradie opened this issue Oct 23, 2023 · 0 comments

Comments

@SaeedAlbaradie
Copy link

""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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant