Browse Source

Fix idea plugin compatability (#2318)

IDEA doesn't provide backward compatibility policy, and breaking changes can happen in any version, without prior deprecation:

https://plugins.jetbrains.com/docs/intellij/api-changes-list.html

~~Because of that, we can't remove `plugin.until.build`, and have to build Compose plugin for each new version of IDEA separately~~ (see Update)

~~Update 1:
I removed plugin.until.build anyway. In most cases there won't be a broken plugin. And if it will be broken, we will know it during IDEA EAP. Considering this, better when users don't wait the new version, and use already available one.~~

Update 2:
If we omit plugin.until.build, then it has default value +8. Returned, but made the default value big enough.

What we should do after that commit, is make sure, that we don't forget to check this compatibility. And ship a new stable version for every new stable IDEA.

The ideal way is to run `runPluginVerifier` on CI for the latest version, which will fail the build, if our plugin isn't compatible.

But for some reason, there is no EAP for IDEA 2022.3 here:
https://jb.gg/intellij-platform-builds-list
pull/1997/merge
Igor Demin 2 years ago committed by GitHub
parent
commit
98b16c53ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      idea-plugin/gradle.properties

4
idea-plugin/gradle.properties

@ -6,9 +6,9 @@ deploy.version=0.1-SNAPSHOT
plugin.channels=snapshots
plugin.since.build=203
plugin.until.build=222.*
plugin.until.build=233.*
## See https://jb.gg/intellij-platform-builds-list for available build versions.
plugin.verifier.ide.versions=2020.3.2, 2021.1, 2022.1
plugin.verifier.ide.versions=2021.1, 2022.1, 2022.2
platform.type=IC
platform.version=2021.1

Loading…
Cancel
Save