plugin_compatibility.md: do not duplicate contents from IDE pages

This commit is contained in:
Yann Cébron 2025-04-29 16:44:38 +02:00
parent be2c179fde
commit 9b4369c0c6

View File

@ -106,94 +106,7 @@ A dependency on the Java plugin (Plugin ID `com.intellij.java`) must be set up u
The [AppCode and CLion code was restructured](https://blog.jetbrains.com/clion/2020/12/migration-guide-for-plugins-2020-3/) in version 2020.3.
This refactoring extracted some functionalities into specific modules for easier maintainability and reuse between AppCode/CLion and other JetBrains IDEs.
Consequently, [dependencies](plugin_dependencies.md) on [AppCode](app_code.md) and [CLion](clion.md) functionalities are expressed differently in <path>plugin.xml</path> depending on the version of the IDE being targeted:
<tabs>
<tab title="CLion">
* Syntax for 2020.3 and later releases:
* <path>plugin.xml</path> (_allowable alternative_):
```xml
<depends>com.intellij.clion</depends>
```
* Gradle build script (_required_):
<tabs group="languages">
<tab title="Kotlin" group-key="kotlin">
```kotlin
intellij {
plugins.set(listOf("com.intellij.clion"))
}
```
</tab>
<tab title="Groovy" group-key="groovy">
```groovy
intellij {
plugins = ['com.intellij.clion']
}
```
</tab>
</tabs>
* Syntax _required_ for releases prior to 2020.3, _allowable_ in all releases:
* <path>plugin.xml</path>:
```xml
<depends>com.intellij.modules.clion</depends>
```
See also [](clion.md).
</tab>
<tab title="AppCode">
* Syntax for 2020.3 and later releases:
* <path>plugin.xml</path> (_allowable alternative_):
```xml
<depends>com.intellij.appcode</depends>
```
* Gradle build script (_required_):
<tabs group="languages">
<tab title="Kotlin" group-key="kotlin">
```kotlin
intellij {
plugins.set(listOf("com.intellij.appcode"))
}
```
</tab>
<tab title="Groovy" group-key="groovy">
```groovy
intellij {
plugins = ['com.intellij.appcode']
}
```
</tab>
</tabs>
* Syntax _required_ for releases prior to 2020.3, _allowable_ in all releases:
* <path>plugin.xml</path>:
```xml
<depends>com.intellij.modules.appcode</depends>
```
See also [](app_code.md).
</tab>
</tabs>
Consequently, [dependencies](plugin_dependencies.md) on [AppCode](app_code.md) and [CLion](clion.md) functionalities are expressed differently depending on the version of the IDE being targeted.
## Exploring Module and Plugin APIs