idea.md: Gradle 1.x/2.x

This commit is contained in:
Yann Cébron 2024-07-29 14:17:50 +02:00
parent 43f89a24a6
commit c756898f75
2 changed files with 39 additions and 2 deletions

View File

@ -13,7 +13,37 @@
See [Choose your edition](https://www.jetbrains.com/idea/features/#choose-your-edition) and [Feature Comparison](https://www.jetbrains.com/products/compare/?product=idea&product=idea-ce) for a detailed comparison.
</snippet>
## Configuring Plugin Projects Targeting IntelliJ IDEA
## IntelliJ IDEA Plugin Setup
{id="ideaPluginSetup"}
### Gradle Build Script
<tabs>
<tab title="IntelliJ Platform Gradle Plugin (2.x)">
Define a dependency using [`intellijIdeaCommunity()` or `intellijIdeaUltimate()`](tools_intellij_platform_gradle_plugin_dependencies_extension.md), see _Versions_ link on top of this page for all available versions.
See [](tools_intellij_platform_gradle_plugin.md#dependenciesLocalPlatform) for using a local installation.
Minimum <path>build.gradle.kts</path> setup:
```kotlin
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
dependencies {
intellijPlatform {
intellijIdeaCommunity("<versionNumber>")
}
}
```
</tab>
<tab title="Gradle IntelliJ Plugin (1.x)">
The configuration of IntelliJ IDEA plugin projects follows the methods described in [Configuring Plugin Projects using the IntelliJ IDEA Product Attribute](dev_alternate_products.md#configuring-plugin-projects-using-the-intellij-idea-product-attribute).
@ -22,6 +52,9 @@ The configuration of IntelliJ IDEA plugin projects follows the methods described
| [`intellij.type`](tools_gradle_intellij_plugin.md#intellij-extension-type) | <p>`IC` for IntelliJ IDEA Community Edition (default)</p><p>`IU` for [](idea_ultimate.md)</p> |
| [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | IDE version, e.g. `2022.2` |
</tab>
</tabs>
## Available API
See [](intellij_community_plugins_extension_point_list.md) for API from bundled plugins.

View File

@ -1,4 +1,4 @@
<!-- Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
<!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
# IntelliJ IDEA Ultimate
@ -13,6 +13,10 @@ IntelliJ IDEA Ultimate comes with a number of additional features and bundled pl
<include from="snippets.md" element-id="jetbrainsProductOpenSourceLicense"/>
## IntelliJ IDEA Plugin Setup
See [](idea.md#ideaPluginSetup).
## Bundled Open Source Plugins API
See [](oss_plugins_extension_point_list.md) on how to extend bundled plugins.