intellij-platform-gradle-plugin icon indicating copy to clipboard operation
intellij-platform-gradle-plugin copied to clipboard

Check the platformVersion against sinceBuild

Open hsz opened this issue 2 years ago • 0 comments

Introduce a new check for checking if the major part of the platformVersion isn't higher than the sinceBuild.

Reason: SDK may bring incompatibility changes between major versions. When targeting higher version, plugin run on the lower platform may crash due to the missing methods used for the implementation.

Examples:

platformVersion=2021.1     since build=211 OK
platformVersion=2021.1.3   since build=211 OK
platformVersion=2021.2.1   since build=211 NOT OK
platformVersion=2021.1.3   since build=213 NOT OK

hsz avatar Apr 12 '22 16:04 hsz

done in 1.9.0 https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#tasks-verifypluginconfiguration

YannCebron avatar Sep 05 '22 11:09 YannCebron