Jakub Chrzanowski eafe86f0db proofreading
2020-08-19 15:32:54 +02:00

1.8 KiB

title
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.

Tip

IntelliJ Platform Plugin Template makes it easier to create and maintain your IDE plugins, having the Gradle plugin already integrated and CI covered with GitHub Actions.

Note

If a new plugin will be Scala-based, a dedicated SBT plugin sbt-idea-plugin is available.

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 quickly build your plugin against many versions of the base IDE.

Warning

When adding additional repositories to your Gradle build script, make sure always to use HTTPS protocol.

Note

Please make sure to always upgrade to the latest version of gradle-intellij-plugin. Follow releases on GitHub.

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