mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 01:37:51 +08:00
30 lines
1.7 KiB
Markdown
30 lines
1.7 KiB
Markdown
[//]: # (title: Building Plugins with Gradle)
|
|
|
|
<!-- Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
|
|
|
|
The [gradle-intellij-plugin](https://github.com/JetBrains/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](https://plugins.jetbrains.com).
|
|
To make sure that a plugin is not affected by [API changes](api_changes_list.md), which may happen between major releases of the platform, you can quickly verify your plugin against other IDEs and releases.
|
|
|
|
> [](github_template.md) makes it easier to create and maintain your IDE plugins, having the Gradle plugin already integrated and CI covered with GitHub Actions.
|
|
>
|
|
{type="tip"}
|
|
|
|
> If a new plugin will be Scala-based, a dedicated [SBT plugin](https://github.com/JetBrains/sbt-idea-plugin) is available.
|
|
>
|
|
{type="note"}
|
|
|
|
|
|
> Please make sure to always upgrade `gradle-intellij-plugin` to the latest version [](https://github.com/jetbrains/gradle-intellij-plugin/releases)
|
|
>
|
|
> See [What's New & Upgrade Instructions](https://lp.jetbrains.com/gradle-intellij-plugin) for upgrading from pre-1.0 versions.
|
|
>
|
|
{type="note"}
|
|
|
|
Below are a series of guides to developing and deploying Gradle-based IntelliJ Platform Plugins:
|
|
|
|
* [](gradle_prerequisites.md)
|
|
* [](gradle_guide.md)
|
|
* [](deployment.md)
|