mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
plugin_configuration_file.md: Gradle 1.x/2.x
This commit is contained in:
parent
f82b9a3ad7
commit
f8b84ba937
@ -124,6 +124,12 @@ Children
|
|||||||
- [`<module-components>`](#idea-plugin__module-components)
|
- [`<module-components>`](#idea-plugin__module-components)
|
||||||
- [`<project-components>`](#idea-plugin__project-components)
|
- [`<project-components>`](#idea-plugin__project-components)
|
||||||
|
|
||||||
|
<snippet id="patchXmlGradleTask">
|
||||||
|
The element can be skipped in the source <path>plugin.xml</path> file if the Gradle
|
||||||
|
`patchPluginXml` task ([2.x](tools_intellij_platform_gradle_plugin_tasks.md#patchPluginXml), [1.x](tools_gradle_intellij_plugin.md#tasks-patchpluginxml))
|
||||||
|
task is enabled and configured.
|
||||||
|
</snippet>
|
||||||
|
|
||||||
### `id`
|
### `id`
|
||||||
{#idea-plugin__id}
|
{#idea-plugin__id}
|
||||||
|
|
||||||
@ -138,7 +144,7 @@ Please use characters, numbers, and `'.'`/`'-'`/`'_'` symbols only and keep it r
|
|||||||
Required
|
Required
|
||||||
: no; ignored in [additional config file](#additional-plugin-configuration-files)<br/>
|
: no; ignored in [additional config file](#additional-plugin-configuration-files)<br/>
|
||||||
**It is highly recommended to set in <path>plugin.xml</path> file.**<br/>
|
**It is highly recommended to set in <path>plugin.xml</path> file.**<br/>
|
||||||
The element can be skipped in the source <path>plugin.xml</path> file if the Gradle [`patchPluginXml`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml) task is enabled and configured.
|
<include from="plugin_configuration_file.md" element-id="patchXmlGradleTask"/>
|
||||||
|
|
||||||
Default value
|
Default value
|
||||||
: Value of the [`<name>`](#idea-plugin__name) element.<br/>
|
: Value of the [`<name>`](#idea-plugin__name) element.<br/>
|
||||||
@ -185,7 +191,7 @@ Plugins uploaded to the JetBrains Marketplace must follow semantic versioning.
|
|||||||
{style="narrow"}
|
{style="narrow"}
|
||||||
Required
|
Required
|
||||||
: **yes**; ignored in [additional config file](#additional-plugin-configuration-files)<br/>
|
: **yes**; ignored in [additional config file](#additional-plugin-configuration-files)<br/>
|
||||||
The element can be skipped in the source <path>plugin.xml</path> file if the Gradle [`patchPluginXml`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml) task is enabled and configured.
|
<include from="plugin_configuration_file.md" element-id="patchXmlGradleTask"/>
|
||||||
|
|
||||||
Example
|
Example
|
||||||
:
|
:
|
||||||
@ -239,7 +245,7 @@ The plugin's range of compatible IntelliJ-based IDE versions.
|
|||||||
{style="narrow"}
|
{style="narrow"}
|
||||||
Required
|
Required
|
||||||
: **yes**; ignored in [additional config file](#additional-plugin-configuration-files)<br/>
|
: **yes**; ignored in [additional config file](#additional-plugin-configuration-files)<br/>
|
||||||
The element can be skipped in the source <path>plugin.xml</path> file if the Gradle [`patchPluginXml`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml) task is enabled and configured.
|
<include from="plugin_configuration_file.md" element-id="patchXmlGradleTask"/>
|
||||||
|
|
||||||
Attributes
|
Attributes
|
||||||
:
|
:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user