diff --git a/topics/basics/plugin_structure/plugin_dependencies.md b/topics/basics/plugin_structure/plugin_dependencies.md index 9020f81c7..aa2d181e6 100644 --- a/topics/basics/plugin_structure/plugin_dependencies.md +++ b/topics/basics/plugin_structure/plugin_dependencies.md @@ -105,11 +105,22 @@ Depending on the chosen development workflow (Gradle or DevKit), one of the foll #### IntelliJ Platform Gradle Plugin (2.x) -**Bundled Plugin**: Use `bundledPlugin()` +{collapsible="true" default-state="expanded"} -**Non-Bundled Plugin**: Use `plugin()` +Define dependencies on plugins using the provided helper functions in the `dependencies {}` block of the build.gradle.kts file: -See [](tools_intellij_platform_gradle_plugin_dependencies_extension.md#plugins) for full reference. +```kotlin +dependencies { + intellijPlatform { + bundledPlugin("") + plugin(":") + } +} +``` + +For bundled plugins, use `bundledPlugin()`. Use `plugin()` for non-bundled plugins (for example, from [JetBrains Marketplace](https://plugins.jetbrains.com)). + +See [](tools_intellij_platform_gradle_plugin_dependencies_extension.md#plugins) for full reference and additional options. #### Gradle IntelliJ Plugin (1.x)