IntelliJ Platform SDK DevGuide

Edit page

Building Plugins with Gradle

The gradle-intellij-plugin Gradle plugin is the recommended solution for building IntelliJ plugins. The plugin takes care of the dependencies of your plugin project - both the base IDE and other plugin dependencies.

If a new plugin will be Scala-based, a plugin development workflow sbt-idea-plugin, is available. The workflow is analogous to the Gradle workflow but tailored to developing IntelliJ Platform plugins in Scala. JetBrains does not officially support this Scala workflow, and at this time the workflow has only minimal documentation.

The gradle-intellij-plugin provides tasks to run the IDE with your plugin and to publish your plugin to the JetBrains plugins repository. To make sure that your plugin is not affected by API changes which may happen between major releases of the platform, you can easily build your plugin against many versions of the base IDE.

Below are a series of guides to developing and deploying Gradle-based IntelliJ Platform Plugins:

Last modified: 2 March 2020