Building Plugins with Gradle
The gradle-intellij-plugin Gradle plugin is the recommended solution for building IntelliJ Platform plugins. The plugin takes care of the dependencies of your plugin project — both the base IDE and other plugin dependencies. It provides tasks to run the IDE with your plugin and to package and publish your plugin to the JetBrains Marketplace. To make sure that a plugin is not affected by API changes, which may happen between major releases of the platform, you can quickly verify your plugin against other IDEs and releases.
Below are a series of guides to developing and deploying Gradle-based IntelliJ Platform Plugins: