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

runPluginVerifier should perform verification against used bundled plugins, too

Open sewe opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

ATM, the runPluginVerifier task only performs verification against the "base IDE", but not against intellij.plugins defined as dependencies.

You can hence declare a dependency on, say, the markdown plugin and use its API and not be notified by runPluginVerifier when the upstream API changes (as it did in our case, with HtmlGenerator.generateHtml() being no longer available with version 2022.1 of the bundled markdown plugin).

Describe the solution you'd like

As bundled intellij.plugins are easily distinguishable (they bear no version), the runPluginVerifier task should include them in its verification, too.

Describe alternatives you've considered

Run the standalone plugin verifier against a downloaded IDE. But runPluginVerifier is much more convenient and has all the information it needs, in particular the list of plugin dependencies.

sewe avatar Dec 13 '22 13:12 sewe