spek icon indicating copy to clipboard operation
spek copied to clipboard

The plugin is not compatible with the current version

Open SaeedAlbaradie opened this issue 2 years ago • 0 comments

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

SaeedAlbaradie avatar Oct 23 '23 14:10 SaeedAlbaradie