Is there a way to build plugin artifact as part of project build or run configuration "before launch"?
Answered
Seems there is every other option but the built-in Prepare plugin module ... for deployment.
Neither is there an ability to have the artifact built as part of the project build because the plugin deployment artifact is not a real artifact.
It is possible to create an ant task for the plugin artifact as a workaround but seems like unnecessary work when the build plugin deployment is already available.
Use case: After building and testing the plugin, remembering to build the deployment before installing the zip or jar is an easy step to forget.

Please sign in to leave a comment.
There is indeed no way to build a plugin distribution in 'Before launch' step. It seems that the simplest workaround is creating an artifact configuration for the plugin manually.
Also note what we currently recommend to use gradle-intellij-plugin to develop plugins. It will not only automate tasks like building and deploying the plugin, but also make switching between different IDE version much easier.
Nikolay, I started out with DevKit when it was the only option and have not migrated my plugins to gradle, yet.
I'll have to bite the bullet and migrate to gradle. Just a quick look at the updated docs convinced me that gradle makes life so much easier.
Just the easy switching between different versions for backwards compatibility testing is enough of an argument.
Thank you.