If you are trying to import module, which contains IntelliJ Platform Plugin, you would like to have it imported like plugin.
How to fix imported plugin module:
- Open Module settings
- Import module
- Apply changes
- Open .iml file for your module
- Look for
<module type="JAVA_MODULE" version="4">
- Change it to
<module type="PLUGIN_MODULE" version="4">
I was not able to find other solution how to fix this problem. But this one works. Now you are able to use Build -> Prepare plugin xyz for deployment and all other functionalities related to IntelliJ Platform Plugin development.
One thought on “IntelliJ IDEA – Import plugin module from existing source”