Fixed Gradle IntelliJ Plugin properties anchors

This commit is contained in:
Jakub Chrzanowski 2022-09-28 22:32:27 +02:00
parent 9ff1c2950e
commit 1d6578e174
No known key found for this signature in database
GPG Key ID: C39095BFD769862E
17 changed files with 133 additions and 133 deletions

View File

@ -316,7 +316,7 @@ Acceptable values
#### updateSinceUntilBuild #### updateSinceUntilBuild
{id="intellij-extension-updatesinceuntilbuild"} {id="intellij-extension-updatesinceuntilbuild"}
Enables patching <path>[plugin.xml](plugin_configuration_file.md)</path> with the values of [`patchPluginXml.sinceBuild`](#patchpluginxml-task-sincebuild) and [`patchPluginXml.untilBuild`](#patchpluginxml-task-untilbuild) properties. Enables patching <path>[plugin.xml](plugin_configuration_file.md)</path> with the values of [`patchPluginXml.sinceBuild`](#tasks-patchpluginxml-sincebuild) and [`patchPluginXml.untilBuild`](#tasks-patchpluginxml-untilbuild) properties.
{style="narrow"} {style="narrow"}
Type Type
@ -329,11 +329,11 @@ Default value
#### sameSinceUntilBuild #### sameSinceUntilBuild
{id="intellij-extension-samesinceuntilbuild"} {id="intellij-extension-samesinceuntilbuild"}
Enables patching <path>[plugin.xml](plugin_configuration_file.md)</path> with the [`patchPluginXml.untilBuild`](#patchpluginxml-task-untilbuild) using value of [`patchPluginXml.sinceBuild`](#patchpluginxml-task-sincebuild) with `*` wildcard, like `sinceBuild.*`, e.g., `221.*`. Enables patching <path>[plugin.xml](plugin_configuration_file.md)</path> with the [`patchPluginXml.untilBuild`](#tasks-patchpluginxml-untilbuild) using value of [`patchPluginXml.sinceBuild`](#tasks-patchpluginxml-sincebuild) with `*` wildcard, like `sinceBuild.*`, e.g., `221.*`.
Notes: Notes:
- Useful for building plugins against EAP builds. - Useful for building plugins against EAP builds.
- If [`patchPluginXml.untilBuild`](#patchpluginxml-task-untilbuild) has a value set, then [`intellij.sameSinceUntilBuild`](#intellij-extension-samesinceuntilbuild) is ignored. - If [`patchPluginXml.untilBuild`](#tasks-patchpluginxml-untilbuild) has a value set, then [`intellij.sameSinceUntilBuild`](#intellij-extension-samesinceuntilbuild) is ignored.
{style="narrow"} {style="narrow"}
Type Type
@ -481,7 +481,7 @@ Default value
Assembles a plugin and prepares ZIP archive for [deployment](publishing_plugin.md). Assembles a plugin and prepares ZIP archive for [deployment](publishing_plugin.md).
#### archiveBaseName #### archiveBaseName
{id="buildplugin-task-archivebasename"} {id="tasks-buildplugin-archivebasename"}
The base name of the ZIP archive. The base name of the ZIP archive.
@ -510,7 +510,7 @@ Note, that this is a [`runIde`](#tasks-runide)-based task with predefined argume
#### outputDir #### outputDir
{id="buildsearchableoptions-task-outputdir"} {id="tasks-buildsearchableoptions-outputdir"}
{style="narrow"} {style="narrow"}
Type Type
@ -528,7 +528,7 @@ The `robot-server` plugin is required for running the UI tests using the [`runId
#### version #### version
{id="downloadrobotserverplugin-task-version"} {id="tasks-downloadrobotserverplugin-version"}
The version of the Robot Server Plugin to download. The version of the Robot Server Plugin to download.
@ -541,7 +541,7 @@ Default value
#### pluginArchive #### pluginArchive
{id="downloadrobotserverplugin-task-pluginarchive"} {id="tasks-downloadrobotserverplugin-pluginarchive"}
The Robot Server Plugin archive, downloaded by default to the [Gradle cache](https://docs.gradle.org/current/userguide/directory_layout.html#dir:gradle_user_home). The Robot Server Plugin archive, downloaded by default to the [Gradle cache](https://docs.gradle.org/current/userguide/directory_layout.html#dir:gradle_user_home).
@ -554,7 +554,7 @@ Default value
#### outputDir #### outputDir
{id="downloadrobotserverplugin-task-outputdir"} {id="tasks-downloadrobotserverplugin-outputdir"}
Location of the extracted archive. Location of the extracted archive.
@ -573,7 +573,7 @@ The following attributes help you to tune instrumenting behaviour in `instrument
#### compilerVersion #### compilerVersion
{id="instrumentcode-task-compilerversion"} {id="tasks-instrumentcode-compilerversion"}
A version of instrumenting compiler. A version of instrumenting compiler.
It's used in cases when targeting non-IntelliJ IDEA IDEs (e.g. [CLion](clion.md) or [Rider](rider.md)). It's used in cases when targeting non-IntelliJ IDEA IDEs (e.g. [CLion](clion.md) or [Rider](rider.md)).
@ -593,7 +593,7 @@ Creates a JAR file with searchable options to be distributed with the plugin.
#### outputDir #### outputDir
{id="jarsearchableoptions-task-outputdir"} {id="tasks-jarsearchableoptions-outputdir"}
The output directory where the JAR file will be created. The output directory where the JAR file will be created.
@ -606,7 +606,7 @@ Default value
#### pluginName #### pluginName
{id="jarsearchableoptions-task-pluginname"} {id="tasks-jarsearchableoptions-pluginname"}
The name of the plugin. The name of the plugin.
@ -619,7 +619,7 @@ Default value
#### sandboxDir #### sandboxDir
{id="jarsearchableoptions-task-sandboxdir"} {id="tasks-jarsearchableoptions-sandboxdir"}
The sandbox output directory. The sandbox output directory.
@ -641,13 +641,13 @@ Plugin Verifier requires a list of the IDEs that will be used for verifying your
The availability of the releases may change in time, i.e., due to security issues in one version which will be later removed and replaced with an updated IDE release. The availability of the releases may change in time, i.e., due to security issues in one version which will be later removed and replaced with an updated IDE release.
With the [`listProductsReleases`](#tasks-listproductsreleases) task, it is possible to list the currently available IDEs matching given conditions, like platform types, since/until release versions. With the [`listProductsReleases`](#tasks-listproductsreleases) task, it is possible to list the currently available IDEs matching given conditions, like platform types, since/until release versions.
Such a list is fetched from the remote updates file: `https://www.jetbrains.com/updates/updates.xml`, parsed and filtered considering the specified [`listProductsReleases.types`](#listproductsreleases-task-types), [`listProductsReleases.sinceVersion`](#listproductsreleases-task-sinceversion), [`listProductsReleases.untilVersion`](#listproductsreleases-task-untilversion) (or [`listProductsReleases.sinceBuild`](#listproductsreleases-task-sincebuild), [`listProductsReleases.untilBuild`](#listproductsreleases-task-untilbuild)) properties. Such a list is fetched from the remote updates file: `https://www.jetbrains.com/updates/updates.xml`, parsed and filtered considering the specified [`listProductsReleases.types`](#tasks-listproductsreleases-types), [`listProductsReleases.sinceVersion`](#tasks-listproductsreleases-sinceversion), [`listProductsReleases.untilVersion`](#tasks-listproductsreleases-untilversion) (or [`listProductsReleases.sinceBuild`](#tasks-listproductsreleases-sincebuild), [`listProductsReleases.untilBuild`](#tasks-listproductsreleases-untilbuild)) properties.
The result list is stored within the [`listProductsReleases.outputFile`](#listproductsreleases-task-outputfile), which is used as a source for the Plugin Verifier if the [`runPluginVerifier`](#tasks-runpluginverifier) task has no [`runPluginVerifier.ideVersions`](#runpluginverifier-task-ideversions) property specified, the output of the [`listProductsReleases`](#tasks-listproductsreleases) task is used. The result list is stored within the [`listProductsReleases.outputFile`](#tasks-listproductsreleases-outputfile), which is used as a source for the Plugin Verifier if the [`runPluginVerifier`](#tasks-runpluginverifier) task has no [`runPluginVerifier.ideVersions`](#tasks-runpluginverifier-ideversions) property specified, the output of the [`listProductsReleases`](#tasks-listproductsreleases) task is used.
#### updatesFile #### updatesFile
{id="listproductsreleases-task-updatesfile"} {id="tasks-listproductsreleases-updatesfile"}
Path to the products releases update file. Path to the products releases update file.
@ -660,7 +660,7 @@ Default value
#### types #### types
{id="listproductsreleases-task-types"} {id="tasks-listproductsreleases-types"}
List of types of IDEs that will be listed in results. List of types of IDEs that will be listed in results.
@ -673,10 +673,10 @@ Default value
#### sinceVersion #### sinceVersion
{id="listproductsreleases-task-sinceversion"} {id="tasks-listproductsreleases-sinceversion"}
Lower boundary of the listed results in product marketing version format, e.g., `2020.2.1`. Lower boundary of the listed results in product marketing version format, e.g., `2020.2.1`.
It takes precedence over [`listProductsReleases.sinceBuild`](#listproductsreleases-task-sincebuild) property. It takes precedence over [`listProductsReleases.sinceBuild`](#tasks-listproductsreleases-sincebuild) property.
{style="narrow"} {style="narrow"}
Type Type
@ -687,10 +687,10 @@ Default value
#### untilVersion #### untilVersion
{id="listproductsreleases-task-untilversion"} {id="tasks-listproductsreleases-untilversion"}
Upper boundary of the listed results in product marketing version format, e.g., `2020.2.1`. Upper boundary of the listed results in product marketing version format, e.g., `2020.2.1`.
It takes precedence over [`listProductsReleases.untilBuild`](#listproductsreleases-task-untilbuild) property. It takes precedence over [`listProductsReleases.untilBuild`](#tasks-listproductsreleases-untilbuild) property.
{style="narrow"} {style="narrow"}
Type Type
@ -701,7 +701,7 @@ Default value
#### sinceBuild #### sinceBuild
{id="listproductsreleases-task-sincebuild"} {id="tasks-listproductsreleases-sincebuild"}
Lower boundary of the listed results in build number format, like `192`. Lower boundary of the listed results in build number format, like `192`.
@ -714,7 +714,7 @@ Default value
#### untilBuild #### untilBuild
{id="listproductsreleases-task-untilbuild"} {id="tasks-listproductsreleases-untilbuild"}
Upper boundary of the listed results in build number format, like `192`. Upper boundary of the listed results in build number format, like `192`.
@ -727,7 +727,7 @@ Default value
#### releaseChannels #### releaseChannels
{id="listproductsreleases-task-releasechannels"} {id="tasks-listproductsreleases-releasechannels"}
Release channels that product updates will be filtered with. Release channels that product updates will be filtered with.
@ -740,7 +740,7 @@ Default value
#### outputFile #### outputFile
{id="listproductsreleases-task-outputfile"} {id="tasks-listproductsreleases-outputfile"}
Path to the file, where the output list will be stored. Path to the file, where the output list will be stored.
@ -753,7 +753,7 @@ Default value
#### androidStudioUpdatePath #### androidStudioUpdatePath
{id="listproductsreleases-task-androidstudioupdatepath"} {id="tasks-listproductsreleases-androidstudioupdatepath"}
For [Android Studio releases](android_studio_releases_list.md), a separated storage for the updates is used. For [Android Studio releases](android_studio_releases_list.md), a separated storage for the updates is used.
@ -776,7 +776,7 @@ Patches <path>[plugin.xml](plugin_configuration_file.md)</path> files with value
#### destinationDir #### destinationDir
{id="patchpluginxml-task-destinationdir"} {id="tasks-patchpluginxml-destinationdir"}
The directory where the patched <path>[plugin.xml](plugin_configuration_file.md)</path> will be written. The directory where the patched <path>[plugin.xml](plugin_configuration_file.md)</path> will be written.
@ -789,7 +789,7 @@ Default value
#### pluginXmlFiles #### pluginXmlFiles
{id="patchpluginxml-task-pluginxmlfiles"} {id="tasks-patchpluginxml-pluginxmlfiles"}
The list of <path>[plugin.xml](plugin_configuration_file.md)</path> files to patch. The list of <path>[plugin.xml](plugin_configuration_file.md)</path> files to patch.
@ -802,7 +802,7 @@ Default value
#### pluginDescription #### pluginDescription
{id="patchpluginxml-task-plugindescription"} {id="tasks-patchpluginxml-plugindescription"}
The description of the plugin used in the [`<description>`](plugin_configuration_file.md#idea-plugin__description) tag. The description of the plugin used in the [`<description>`](plugin_configuration_file.md#idea-plugin__description) tag.
@ -815,7 +815,7 @@ Default value
#### sinceBuild #### sinceBuild
{id="patchpluginxml-task-sincebuild"} {id="tasks-patchpluginxml-sincebuild"}
The lower bound of the [version range](build_number_ranges.md) to be patched used in the `since-build` attribute of the [`<idea-version>`](plugin_configuration_file.md#idea-plugin__idea-version) tag. The lower bound of the [version range](build_number_ranges.md) to be patched used in the `since-build` attribute of the [`<idea-version>`](plugin_configuration_file.md#idea-plugin__idea-version) tag.
@ -828,7 +828,7 @@ Default value
#### untilBuild #### untilBuild
{id="patchpluginxml-task-untilbuild"} {id="tasks-patchpluginxml-untilbuild"}
The upper bound of the [version range](build_number_ranges.md) to be patched used in the `until-build` attribute of the [`<idea-version>`](plugin_configuration_file.md#idea-plugin__idea-version) tag. The upper bound of the [version range](build_number_ranges.md) to be patched used in the `until-build` attribute of the [`<idea-version>`](plugin_configuration_file.md#idea-plugin__idea-version) tag.
@ -841,7 +841,7 @@ Default value
#### version #### version
{id="patchpluginxml-task-version"} {id="tasks-patchpluginxml-version"}
The version of the plugin used in the [`<version>`](plugin_configuration_file.md#idea-plugin__version) tag. The version of the plugin used in the [`<version>`](plugin_configuration_file.md#idea-plugin__version) tag.
@ -854,7 +854,7 @@ Default value
#### changeNotes #### changeNotes
{id="patchpluginxml-task-changenotes"} {id="tasks-patchpluginxml-changenotes"}
The change notes of the plugin used in the [`<change-notes>`](plugin_configuration_file.md#idea-plugin__change-notes) tag. The change notes of the plugin used in the [`<change-notes>`](plugin_configuration_file.md#idea-plugin__change-notes) tag.
@ -867,7 +867,7 @@ Default value
#### pluginId #### pluginId
{id="patchpluginxml-task-pluginid"} {id="tasks-patchpluginxml-pluginid"}
The ID of the plugin used in the [`<id>`](plugin_configuration_file.md#idea-plugin__id) tag. The ID of the plugin used in the [`<id>`](plugin_configuration_file.md#idea-plugin__id) tag.
@ -886,7 +886,7 @@ Prepares sandbox directory with installed plugin and its dependencies.
#### pluginName #### pluginName
{id="preparesandbox-task-pluginname"} {id="tasks-preparesandbox-pluginname"}
The name of the plugin. The name of the plugin.
@ -899,7 +899,7 @@ Default value
#### configDir #### configDir
{id="preparesandbox-task-configdir"} {id="tasks-preparesandbox-configdir"}
The directory with the plugin configuration. The directory with the plugin configuration.
@ -912,7 +912,7 @@ Default value
#### pluginJar #### pluginJar
{id="preparesandbox-task-pluginjar"} {id="tasks-preparesandbox-pluginjar"}
The input plugin JAR file used to prepare the sandbox. The input plugin JAR file used to prepare the sandbox.
@ -925,10 +925,10 @@ Default value
#### librariesToIgnore #### librariesToIgnore
{id="preparesandbox-task-librariestoignore"} {id="tasks-preparesandbox-librariestoignore"}
Libraries that will be ignored when preparing the sandbox. Libraries that will be ignored when preparing the sandbox.
By default, excludes all libraries that are a part of the [`setupDependenciesTask.idea`](#setupdependencies-task-idea) dependency. By default, excludes all libraries that are a part of the [`setupDependenciesTask.idea`](#tasks-setupdependencies-idea) dependency.
{style="narrow"} {style="narrow"}
Type Type
@ -939,7 +939,7 @@ Default value
#### pluginDependencies #### pluginDependencies
{id="preparesandbox-task-plugindependencies"} {id="tasks-preparesandbox-plugindependencies"}
List of dependencies of the current plugin. List of dependencies of the current plugin.
@ -981,7 +981,7 @@ See [](publishing_plugin.md#publishing-plugin-with-gradle) tutorial for step-by-
#### token #### token
{id="publishplugin-task-token"} {id="tasks-publishplugin-token"}
Authentication token. Authentication token.
@ -996,7 +996,7 @@ Default value
#### channels #### channels
{id="publishplugin-task-channels"} {id="tasks-publishplugin-channels"}
List of channel names to upload plugin to. List of channel names to upload plugin to.
@ -1009,7 +1009,7 @@ Default value
#### host #### host
{id="publishplugin-task-host"} {id="tasks-publishplugin-host"}
URL host of a plugin repository. URL host of a plugin repository.
@ -1022,7 +1022,7 @@ Default value
#### distributionFile #### distributionFile
{id="publishplugin-task-distributionfile"} {id="tasks-publishplugin-distributionfile"}
ZIP file of plugin to upload. ZIP file of plugin to upload.
@ -1035,7 +1035,7 @@ Default value
#### toolboxEnterprise #### toolboxEnterprise
{id="publishplugin-task-toolboxenterprise"} {id="tasks-publishplugin-toolboxenterprise"}
Specifies if the Toolbox Enterprise plugin repository service should be used. Specifies if the Toolbox Enterprise plugin repository service should be used.
This feature is still in the incubating phase and is not yet available for public use. This feature is still in the incubating phase and is not yet available for public use.
@ -1057,21 +1057,21 @@ Runs the IDE instance with the developed plugin installed.
#### ideDir #### ideDir
{id="runide-task-idedir"} {id="tasks-runide-idedir"}
The IDE dependency sources path. The IDE dependency sources path.
Configured automatically with the [`setupDependencies.idea`](#setupdependencies-task-idea) dependency. Configured automatically with the [`setupDependencies.idea`](#tasks-setupdependencies-idea) dependency.
{style="narrow"} {style="narrow"}
Type Type
: `File` : `File`
Default value Default value
: [`setupDependencies.idea`](#setupdependencies-task-idea) : [`setupDependencies.idea`](#tasks-setupdependencies-idea)
#### jbrVersion #### jbrVersion
{id="runide-task-jbrversion"} {id="tasks-runide-jbrversion"}
Custom JetBrains Runtime (JBR) version to use for running the IDE. Custom JetBrains Runtime (JBR) version to use for running the IDE.
@ -1093,7 +1093,7 @@ Accepted values
{type="note"} {type="note"}
#### jbrVariant #### jbrVariant
{id="runide-task-jbrvariant"} {id="tasks-runide-jbrvariant"}
JetBrains Runtime (JBR) variant to use when running the IDE with the plugin. JetBrains Runtime (JBR) variant to use when running the IDE with the plugin.
@ -1106,7 +1106,7 @@ Default value
#### pluginsDir #### pluginsDir
{id="runide-task-pluginsdir"} {id="tasks-runide-pluginsdir"}
Path to the `plugins` directory within the sandbox prepared with the [`prepareSandbox`](#tasks-preparesandbox) task. Path to the `plugins` directory within the sandbox prepared with the [`prepareSandbox`](#tasks-preparesandbox) task.
Provided to the `idea.plugins.path` system property. Provided to the `idea.plugins.path` system property.
@ -1120,7 +1120,7 @@ Default value
#### autoReloadPlugins #### autoReloadPlugins
{id="runide-task-autoreloadplugins"} {id="tasks-runide-autoreloadplugins"}
Enables auto-reload of dynamic plugins. Enables auto-reload of dynamic plugins.
Dynamic plugins will be reloaded automatically when their JARs are modified. Dynamic plugins will be reloaded automatically when their JARs are modified.
@ -1158,7 +1158,7 @@ See [`runIde`](#tasks-runide) task for more details.
Currently, the task is under adaptation; more documentation will be added in the future. Currently, the task is under adaptation; more documentation will be added in the future.
#### testDataDir #### testDataDir
{id="runideperformancetest-task-testdatadir"} {id="tasks-runideperformancetest-testdatadir"}
Path to directory with test projects and <path>.ijperf</path> files. Path to directory with test projects and <path>.ijperf</path> files.
@ -1171,7 +1171,7 @@ Default value
#### artifactsDir #### artifactsDir
{id="runideperformancetest-task-artifactsdir"} {id="tasks-runideperformancetest-artifactsdir"}
Path to directory where performance test artifacts (IDE logs, snapshots, screenshots, etc.) will be stored. Path to directory where performance test artifacts (IDE logs, snapshots, screenshots, etc.) will be stored.
If the directory doesn't exist, it will be created. If the directory doesn't exist, it will be created.
@ -1185,7 +1185,7 @@ Default value
#### profilerName #### profilerName
{id="runideperformancetest-task-profilername"} {id="tasks-runideperformancetest-profilername"}
Name of the profiler which will be used during execution. Name of the profiler which will be used during execution.
@ -1219,7 +1219,7 @@ Plugin Verifier DSL `runPluginVerifier { ... }` allows to define the list of IDE
#### ideVersions #### ideVersions
{id="runpluginverifier-task-ideversions"} {id="tasks-runpluginverifier-ideversions"}
IDEs to check, in [`intellij.version`](#intellij-extension-version) format, i.e.: `["IC-2019.3.5", "PS-2019.3.2"]`. IDEs to check, in [`intellij.version`](#intellij-extension-version) format, i.e.: `["IC-2019.3.5", "PS-2019.3.2"]`.
Check the available build versions on [IntelliJ Platform Builds list](https://jb.gg/intellij-platform-builds-list). Check the available build versions on [IntelliJ Platform Builds list](https://jb.gg/intellij-platform-builds-list).
@ -1233,7 +1233,7 @@ Default value
#### verifierVersion #### verifierVersion
{id="runpluginverifier-task-verifierversion"} {id="tasks-runpluginverifier-verifierversion"}
IntelliJ Plugin Verifier version. IntelliJ Plugin Verifier version.
Do not change unless absolutely required. Do not change unless absolutely required.
@ -1247,23 +1247,23 @@ Default value
#### verifierPath #### verifierPath
{id="runpluginverifier-task-verifierpath"} {id="tasks-runpluginverifier-verifierpath"}
Local path to the pre-downloaded IntelliJ Plugin Verifier JAR file. Local path to the pre-downloaded IntelliJ Plugin Verifier JAR file.
If set, [`runPluginVerifier.verifierVersion`](#runpluginverifier-task-verifierversion) is ignored. If set, [`runPluginVerifier.verifierVersion`](#tasks-runpluginverifier-verifierversion) is ignored.
{style="narrow"} {style="narrow"}
Type Type
: `String` : `String`
Default value Default value
: path to the JAR file resolved using the [`runPluginVerifier.verifierVersion`](#runpluginverifier-task-verifierversion) property : path to the JAR file resolved using the [`runPluginVerifier.verifierVersion`](#tasks-runpluginverifier-verifierversion) property
#### localPaths #### localPaths
{id="runpluginverifier-task-localpaths"} {id="tasks-runpluginverifier-localpaths"}
A list of the paths to locally installed IDE distributions that should be used for verification in addition to those specified in [`runPluginVerifier.ideVersions`](#runpluginverifier-task-ideversions). A list of the paths to locally installed IDE distributions that should be used for verification in addition to those specified in [`runPluginVerifier.ideVersions`](#tasks-runpluginverifier-ideversions).
{style="narrow"} {style="narrow"}
Type Type
@ -1274,7 +1274,7 @@ Default value
#### distributionFile #### distributionFile
{id="runpluginverifier-task-distributionfile"} {id="tasks-runpluginverifier-distributionfile"}
ZIP file of the plugin to verify. ZIP file of the plugin to verify.
If empty, the task will be skipped. If empty, the task will be skipped.
@ -1288,7 +1288,7 @@ Default value
#### failureLevel #### failureLevel
{id="runpluginverifier-task-failurelevel"} {id="tasks-runpluginverifier-failurelevel"}
Defines the verification level at which the task should fail if any reported issue matches. Defines the verification level at which the task should fail if any reported issue matches.
Can be set as `FailureLevel` enum or `EnumSet<FailureLevel>`. Can be set as `FailureLevel` enum or `EnumSet<FailureLevel>`.
@ -1319,7 +1319,7 @@ Accepted values
#### verificationReportsDir #### verificationReportsDir
{id="runpluginverifier-task-verificationreportsdir"} {id="tasks-runpluginverifier-verificationreportsdir"}
The path to directory where verification reports will be saved. The path to directory where verification reports will be saved.
@ -1332,7 +1332,7 @@ Default value
#### downloadDir #### downloadDir
{id="runpluginverifier-task-downloaddir"} {id="tasks-runpluginverifier-downloaddir"}
The path to directory where IDEs used for the verification will be downloaded. The path to directory where IDEs used for the verification will be downloaded.
@ -1345,7 +1345,7 @@ Default value
#### jbrVersion #### jbrVersion
{id="runpluginverifier-task-jbrversion"} {id="tasks-runpluginverifier-jbrversion"}
Custom JetBrains Runtime (JBR) version to use for running the verification. Custom JetBrains Runtime (JBR) version to use for running the verification.
@ -1368,7 +1368,7 @@ Acceptable values
#### jbrVariant #### jbrVariant
{id="runpluginverifier-task-jbrvariant"} {id="tasks-runpluginverifier-jbrvariant"}
JetBrains Runtime (JBR) variant to use when running the verification. JetBrains Runtime (JBR) variant to use when running the verification.
@ -1381,9 +1381,9 @@ Default value
#### runtimeDir #### runtimeDir
{id="runpluginverifier-task-runtimedir"} {id="tasks-runpluginverifier-runtimedir"}
The path to directory containing JVM runtime, overrides [`runPluginVerifier.jbrVersion`](#runpluginverifier-task-jbrversion). The path to directory containing JVM runtime, overrides [`runPluginVerifier.jbrVersion`](#tasks-runpluginverifier-jbrversion).
{style="narrow"} {style="narrow"}
Type Type
@ -1394,7 +1394,7 @@ Default value
#### externalPrefixes #### externalPrefixes
{id="runpluginverifier-task-externalprefixes"} {id="tasks-runpluginverifier-externalprefixes"}
The list of classes prefixes from the external libraries. The list of classes prefixes from the external libraries.
The Plugin Verifier will not report `No such class` for classes of these packages. The Plugin Verifier will not report `No such class` for classes of these packages.
@ -1408,7 +1408,7 @@ Default value
#### teamCityOutputFormat #### teamCityOutputFormat
{id="runpluginverifier-task-teamcityoutputformat"} {id="tasks-runpluginverifier-teamcityoutputformat"}
A flag that controls the output format - if set to `true`, the [TeamCity Tests Format](https://www.jetbrains.com/help/teamcity/service-messages.html) the TeamCity compatible output will be returned to stdout. A flag that controls the output format - if set to `true`, the [TeamCity Tests Format](https://www.jetbrains.com/help/teamcity/service-messages.html) the TeamCity compatible output will be returned to stdout.
@ -1421,7 +1421,7 @@ Default value
#### subsystemsToCheck #### subsystemsToCheck
{id="runpluginverifier-task-subsystemstocheck"} {id="tasks-runpluginverifier-subsystemstocheck"}
Specifies which subsystems of IDE should be checked. Specifies which subsystems of IDE should be checked.
@ -1452,7 +1452,7 @@ This task is automatically added to the ["After Sync" Gradle trigger](https://ww
#### idea #### idea
{id="setupdependencies-task-idea"} {id="tasks-setupdependencies-idea"}
This task exposes the `setupDependencies.idea` property which contains a reference to the resolved IDE dependency used for building the plugin. This task exposes the `setupDependencies.idea` property which contains a reference to the resolved IDE dependency used for building the plugin.
@ -1466,12 +1466,12 @@ Signs the ZIP archive with the provided key using [marketplace-zip-signer](https
To sign the plugin before publishing to [JetBrains Marketplace](https://plugins.jetbrains.com) with the [`signPlugin`](#tasks-signplugin) task, it is required to provide a certificate chain and a private key with its password using `signPlugin { ... }` Plugin Signing DSL. To sign the plugin before publishing to [JetBrains Marketplace](https://plugins.jetbrains.com) with the [`signPlugin`](#tasks-signplugin) task, it is required to provide a certificate chain and a private key with its password using `signPlugin { ... }` Plugin Signing DSL.
As soon as [`signPlugin.privateKey`](#signplugin-task-privatekey) (or [`signPlugin.privateKeyFile`](#signplugin-task-privatekeyfile)) and [`signPlugin.certificateChain`](#signplugin-task-certificatechain) (or [`signPlugin.certificateChainFile`](#signplugin-task-certificatechainfile)) properties are specified, the task will be executed automatically right before the [`publishPlugin`](#tasks-publishplugin) task. As soon as [`signPlugin.privateKey`](#tasks-signplugin-privatekey) (or [`signPlugin.privateKeyFile`](#tasks-signplugin-privatekeyfile)) and [`signPlugin.certificateChain`](#tasks-signplugin-certificatechain) (or [`signPlugin.certificateChainFile`](#tasks-signplugin-certificatechainfile)) properties are specified, the task will be executed automatically right before the [`publishPlugin`](#tasks-publishplugin) task.
For more details, see [Plugin Signing](plugin_signing.md) article. For more details, see [Plugin Signing](plugin_signing.md) article.
#### certificateChain #### certificateChain
{id="signplugin-task-certificatechain"} {id="tasks-signplugin-certificatechain"}
A string containing X509 certificates. A string containing X509 certificates.
The first certificate from the chain will be used as a certificate authority (CA). The first certificate from the chain will be used as a certificate authority (CA).
@ -1486,7 +1486,7 @@ Default value
#### certificateChainFile #### certificateChainFile
{id="signplugin-task-certificatechainfile"} {id="tasks-signplugin-certificatechainfile"}
A file containing X509 certificates. A file containing X509 certificates.
The first certificate from the chain will be used as a certificate authority (CA). The first certificate from the chain will be used as a certificate authority (CA).
@ -1501,7 +1501,7 @@ Default value
#### privateKey #### privateKey
{id="signplugin-task-privatekey"} {id="tasks-signplugin-privatekey"}
Encoded private key in PEM format. Encoded private key in PEM format.
Refers to `key` CLI option. Refers to `key` CLI option.
@ -1515,7 +1515,7 @@ Default value
#### privateKeyFile #### privateKeyFile
{id="signplugin-task-privatekeyfile"} {id="tasks-signplugin-privatekeyfile"}
A file with encoded private key in PEM format. A file with encoded private key in PEM format.
Refers to `key-file` CLI option. Refers to `key-file` CLI option.
@ -1529,7 +1529,7 @@ Default value
#### password #### password
{id="signplugin-task-password"} {id="tasks-signplugin-password"}
Password required to decrypt the private key. Password required to decrypt the private key.
Refers to `key-pass` CLI option. Refers to `key-pass` CLI option.
@ -1543,7 +1543,7 @@ Default value
#### cliVersion #### cliVersion
{id="signplugin-task-cliversion"} {id="tasks-signplugin-cliversion"}
Returns the version of [JetBrains Marketplace ZIP Signer CLI](https://github.com/JetBrains/marketplace-zip-signer) that will be used. Returns the version of [JetBrains Marketplace ZIP Signer CLI](https://github.com/JetBrains/marketplace-zip-signer) that will be used.
@ -1556,10 +1556,10 @@ Default value
#### cliPath #### cliPath
{id="signplugin-task-clipath"} {id="tasks-signplugin-clipath"}
Path to [JetBrains Marketplace ZIP Signer CLI](https://github.com/JetBrains/marketplace-zip-signer) file. Path to [JetBrains Marketplace ZIP Signer CLI](https://github.com/JetBrains/marketplace-zip-signer) file.
Takes precedence over [`signPlugin.cliVersion`](#signplugin-task-cliversion). Takes precedence over [`signPlugin.cliVersion`](#tasks-signplugin-cliversion).
{style="narrow"} {style="narrow"}
Type Type
@ -1570,7 +1570,7 @@ Default value
#### keyStore #### keyStore
{id="signplugin-task-keystore"} {id="tasks-signplugin-keystore"}
KeyStore file path. KeyStore file path.
Refers to `ks` CLI option. Refers to `ks` CLI option.
@ -1584,7 +1584,7 @@ Default value
#### keyStorePassword #### keyStorePassword
{id="signplugin-task-keystorepassword"} {id="tasks-signplugin-keystorepassword"}
KeyStore password. KeyStore password.
@ -1597,7 +1597,7 @@ Default value
#### keyStoreKeyAlias #### keyStoreKeyAlias
{id="signplugin-task-keystorekeyalias"} {id="tasks-signplugin-keystorekeyalias"}
KeyStore key alias. KeyStore key alias.
Refers to `ks-key-alias` CLI option. Refers to `ks-key-alias` CLI option.
@ -1611,7 +1611,7 @@ Default value
#### keyStoreType #### keyStoreType
{id="signplugin-task-keystoretype"} {id="tasks-signplugin-keystoretype"}
KeyStore type. KeyStore type.
@ -1624,7 +1624,7 @@ Default value
#### keyStoreProviderName #### keyStoreProviderName
{id="signplugin-task-keystoreprovidername"} {id="tasks-signplugin-keystoreprovidername"}
JCA KeyStore Provider name. JCA KeyStore Provider name.
Refers to `ks-provider-name` CLI option. Refers to `ks-provider-name` CLI option.
@ -1638,7 +1638,7 @@ Default value
#### inputArchiveFile #### inputArchiveFile
{id="signplugin-task-inputarchivefile"} {id="tasks-signplugin-inputarchivefile"}
Input, unsigned ZIP archive file. Input, unsigned ZIP archive file.
Refers to `in` CLI option. Refers to `in` CLI option.
@ -1646,7 +1646,7 @@ Refers to `in` CLI option.
Provided by the [`buildPlugin`](#tasks-buildplugin) task. Provided by the [`buildPlugin`](#tasks-buildplugin) task.
#### outputArchiveFile #### outputArchiveFile
{id="signplugin-task-outputarchivefile"} {id="tasks-signplugin-outputarchivefile"}
Output, signed ZIP archive file. Output, signed ZIP archive file.
Refers to `out` CLI option. Refers to `out` CLI option.
@ -1665,7 +1665,7 @@ Validates completeness and contents of <path>[plugin.xml](plugin_configuration_f
#### ignoreFailures #### ignoreFailures
{id="verifyplugin-task-ignorefailures"} {id="tasks-verifyplugin-ignorefailures"}
Specifies whether the build should fail when the verifications performed by this task fail. Specifies whether the build should fail when the verifications performed by this task fail.
@ -1678,7 +1678,7 @@ Default value
#### ignoreWarnings #### ignoreWarnings
{id="verifyplugin-task-ignorewarnings"} {id="tasks-verifyplugin-ignorewarnings"}
Specifies whether the build should fail when the verifications performed by this task emit warnings. Specifies whether the build should fail when the verifications performed by this task emit warnings.
@ -1691,7 +1691,7 @@ Default value
#### ignoreUnacceptableWarnings #### ignoreUnacceptableWarnings
{id="verifyplugin-task-ignoreunacceptablewarnings"} {id="tasks-verifyplugin-ignoreunacceptablewarnings"}
Specifies whether the build should fail when the verifications performed by this task emit unacceptable warnings. Specifies whether the build should fail when the verifications performed by this task emit unacceptable warnings.
@ -1704,7 +1704,7 @@ Default value
#### pluginDir #### pluginDir
{id="verifyplugin-task-plugindir"} {id="tasks-verifyplugin-plugindir"}
The location of the built plugin file which will be used for verification. The location of the built plugin file which will be used for verification.
@ -1721,12 +1721,12 @@ Default value
Validates the plugin project configuration: Validates the plugin project configuration:
- The [`patchPluginXml.sinceBuild`](#patchpluginxml-task-sincebuild) property can't be lower than the major version of the currently used IntelliJ SDK set with the [`intellij.version`](#intellij-extension-version). - The [`patchPluginXml.sinceBuild`](#tasks-patchpluginxml-sincebuild) property can't be lower than the major version of the currently used IntelliJ SDK set with the [`intellij.version`](#intellij-extension-version).
- The `sourceCompatibility` property of the Java configuration can't be lower than the Java version used for assembling the IntelliJ SDK specified by the [`intellij.version`](#intellij-extension-version). - The `sourceCompatibility` property of the Java configuration can't be lower than the Java version used for assembling the IntelliJ SDK specified by the [`intellij.version`](#intellij-extension-version).
- The `targetCompatibility` property of the Java configuration can't be higher than the Java version required for running IDE in the version specified by the [`intellij.version`](#intellij-extension-version) or [`patchPluginXml.sinceBuild`](#patchpluginxml-task-sincebuild) properties. - The `targetCompatibility` property of the Java configuration can't be higher than the Java version required for running IDE in the version specified by the [`intellij.version`](#intellij-extension-version) or [`patchPluginXml.sinceBuild`](#tasks-patchpluginxml-sincebuild) properties.
- The `jvmTarget` property of the Kotlin configuration (if used) can't be higher than the Java version required for running IDE in the version specified by the [`intellij.version`](#intellij-extension-version) or [`patchPluginXml.sinceBuild`](#patchpluginxml-task-sincebuild) properties. - The `jvmTarget` property of the Kotlin configuration (if used) can't be higher than the Java version required for running IDE in the version specified by the [`intellij.version`](#intellij-extension-version) or [`patchPluginXml.sinceBuild`](#tasks-patchpluginxml-sincebuild) properties.
- The `languageVersion` property of the Kotlin configuration (if used) can't be lower than the Kotlin bundled with IDE in the version specified by the [`intellij.version`](#intellij-extension-version) or [`patchPluginXml.sinceBuild`](#patchpluginxml-task-sincebuild) properties. - The `languageVersion` property of the Kotlin configuration (if used) can't be lower than the Kotlin bundled with IDE in the version specified by the [`intellij.version`](#intellij-extension-version) or [`patchPluginXml.sinceBuild`](#tasks-patchpluginxml-sincebuild) properties.
- The `apiVersion` property of the Kotlin configuration (if used) can't be higher than the Kotlin bundled with IDE in the version specified by the [`intellij.version`](#intellij-extension-version) or [`patchPluginXml.sinceBuild`](#patchpluginxml-task-sincebuild) properties. - The `apiVersion` property of the Kotlin configuration (if used) can't be higher than the Kotlin bundled with IDE in the version specified by the [`intellij.version`](#intellij-extension-version) or [`patchPluginXml.sinceBuild`](#tasks-patchpluginxml-sincebuild) properties.
> For more details regarding the Java version used in the specific IntelliJ SDK, see [](build_number_ranges.md). > For more details regarding the Java version used in the specific IntelliJ SDK, see [](build_number_ranges.md).
@ -1734,4 +1734,4 @@ Validates the plugin project configuration:
> Read more about controlling this behavior on [](using_kotlin.md#kotlin-standard-library). > Read more about controlling this behavior on [](using_kotlin.md#kotlin-standard-library).
- An old default [`runPluginVerifier.downloadDir`][#runpluginverifier-task-downloaddir] path contains downloaded IDEs but another default is in use. Links to the [FAQ section][] - An old default [`runPluginVerifier.downloadDir`][#tasks-runpluginverifier-downloaddir] path contains downloaded IDEs but another default is in use. Links to the [FAQ section][]

View File

@ -176,7 +176,7 @@ See the [](bundling_plugin_openapi_sources.md) section for details.
With the `1.10.0` release, the [`runPluginVerifier`](tools_gradle_intellij_plugin.md#tasks-runpluginverifier) task uses the `XDG_CACHE_HOME` environment variable to resolve the default directory for downloaded IDEs instead of the user's home directory. With the `1.10.0` release, the [`runPluginVerifier`](tools_gradle_intellij_plugin.md#tasks-runpluginverifier) task uses the `XDG_CACHE_HOME` environment variable to resolve the default directory for downloaded IDEs instead of the user's home directory.
We recommend moving your existing IDEs stored i.e., in <path>~/.pluginVerifier/ides/</path> directory into <path>$XDG_CACHE_HOME/pluginVerifier/ides</path> to avoid downloading them once again. We recommend moving your existing IDEs stored i.e., in <path>~/.pluginVerifier/ides/</path> directory into <path>$XDG_CACHE_HOME/pluginVerifier/ides</path> to avoid downloading them once again.
In case you want to keep the downloaded archives in the previous location, specify the given path explicitly to the [`runPluginVerifier.downloadDir`](tools_gradle_intellij_plugin.md#runpluginverifier-task-downloaddir) property: In case you want to keep the downloaded archives in the previous location, specify the given path explicitly to the [`runPluginVerifier.downloadDir`](tools_gradle_intellij_plugin.md#tasks-runpluginverifier-downloaddir) property:
<tabs group="languages"> <tabs group="languages">
<tab title="Kotlin" group-key="kotlin"> <tab title="Kotlin" group-key="kotlin">

View File

@ -136,7 +136,7 @@ The task is configured using common [`grammarKit`](#grammar-kit-extension) exten
### source ### source
{id="generatelexer-task-source"} {id="tasks-generatelexer-source"}
The source Flex file to generate the lexer from. The source Flex file to generate the lexer from.
@ -149,7 +149,7 @@ Type
### targetDir ### targetDir
{id="generatelexer-task-targetdir"} {id="tasks-generatelexer-targetdir"}
The path to the target directory for the generated lexer. The path to the target directory for the generated lexer.
@ -162,7 +162,7 @@ Type
### targetClass ### targetClass
{id="generatelexer-task-targetclass"} {id="tasks-generatelexer-targetclass"}
The Java file name where the generated lexer will be written. The Java file name where the generated lexer will be written.
@ -175,7 +175,7 @@ Type
### skeleton ### skeleton
{id="generatelexer-task-skeleton"} {id="tasks-generatelexer-skeleton"}
An optional path to the skeleton file to use for the generated lexer. An optional path to the skeleton file to use for the generated lexer.
The path will be provided as `--skel` option. The path will be provided as `--skel` option.
@ -190,7 +190,7 @@ Default
### purgeOldFiles ### purgeOldFiles
{id="generatelexer-task-purgeoldfiles"} {id="tasks-generatelexer-purgeoldfiles"}
Purge old files from the target directory before generating the lexer. Purge old files from the target directory before generating the lexer.
@ -210,7 +210,7 @@ The task is configured using common [`grammarKit`](#grammar-kit-extension) exten
### source ### source
{id="generateparser-task-source"} {id="tasks-generateparser-source"}
The source BNF file to generate the parser from. The source BNF file to generate the parser from.
@ -223,7 +223,7 @@ Type
### targetRoot ### targetRoot
{id="generateparser-task-targetroot"} {id="tasks-generateparser-targetroot"}
The path to the target directory for the generated parser. The path to the target directory for the generated parser.
@ -236,9 +236,9 @@ Default
### pathToParser ### pathToParser
{id="generateparser-task-pathtoparser"} {id="tasks-generateparser-pathtoparser"}
The location of the generated parser class, relative to the [`targetRoot`](#generateparser-task-targetroot). The location of the generated parser class, relative to the [`targetRoot`](#tasks-generateparser-targetroot).
{style="narrow"} {style="narrow"}
Required Required
@ -249,9 +249,9 @@ Type
### pathToPsiRoot ### pathToPsiRoot
{id="generateparser-task-pathtopsiroot"} {id="tasks-generateparser-pathtopsiroot"}
The location of the generated PSI files, relative to the [`targetRoot`](#generateparser-task-targetroot). The location of the generated PSI files, relative to the [`targetRoot`](#tasks-generateparser-targetroot).
{style="narrow"} {style="narrow"}
Required Required
@ -262,7 +262,7 @@ Type
### purgeOldFiles ### purgeOldFiles
{id="generateparser-task-purgeoldfiles"} {id="tasks-generateparser-purgeoldfiles"}
Purge old files from the target directory before generating the parser. Purge old files from the target directory before generating the parser.

View File

@ -142,7 +142,7 @@ If successfully deployed, any users who currently have your plugin installed on
### Specifying a Release Channel ### Specifying a Release Channel
You may also deploy plugins to a release channel of your choosing, by configuring the [`publishPlugin.channels`](tools_gradle_intellij_plugin.md#publishplugin-task-channels) property. You may also deploy plugins to a release channel of your choosing, by configuring the [`publishPlugin.channels`](tools_gradle_intellij_plugin.md#tasks-publishplugin-channels) property.
For example: For example:
<tabs group="languages"> <tabs group="languages">

View File

@ -56,7 +56,7 @@ Available JBR variants are:
<tab title="Gradle" group-key="gradle"> <tab title="Gradle" group-key="gradle">
By default, the Gradle plugin will fetch and use the version of the JetBrains Runtime for the Development Instance corresponding to the version of the IntelliJ Platform used for building the plugin project. By default, the Gradle plugin will fetch and use the version of the JetBrains Runtime for the Development Instance corresponding to the version of the IntelliJ Platform used for building the plugin project.
If required, an alternative version can be specified using [`runIde.jbrVersion`](tools_gradle_intellij_plugin.md#runide-task-jbrversion) task property. If required, an alternative version can be specified using [`runIde.jbrVersion`](tools_gradle_intellij_plugin.md#tasks-runide-jbrversion) task property.
</tab> </tab>
@ -87,7 +87,7 @@ Please note that any unloading problems in a production environment will ask the
Enabled by default for target platform 2020.2 or later. Enabled by default for target platform 2020.2 or later.
Set property [`runIde.autoReloadPlugins`](tools_gradle_intellij_plugin.md#runide-task-autoreloadplugins) to `true` for enabling it in earlier platform versions or `false` to disable it explicitly, see [](tools_gradle_intellij_plugin_faq.md#how-to-disable-automatic-reload-of-dynamic-plugins). Set property [`runIde.autoReloadPlugins`](tools_gradle_intellij_plugin.md#tasks-runide-autoreloadplugins) to `true` for enabling it in earlier platform versions or `false` to disable it explicitly, see [](tools_gradle_intellij_plugin_faq.md#how-to-disable-automatic-reload-of-dynamic-plugins).
After starting the sandbox IDE instance, run [`buildPlugin`](tools_gradle_intellij_plugin.md#tasks-buildplugin) task after modifications in the plugin project and switch focus back to sandbox instance to trigger reload. After starting the sandbox IDE instance, run [`buildPlugin`](tools_gradle_intellij_plugin.md#tasks-buildplugin) task after modifications in the plugin project and switch focus back to sandbox instance to trigger reload.

View File

@ -55,8 +55,8 @@ openssl genpkey\
-pkeyopt rsa_keygen_bits:4096 -pkeyopt rsa_keygen_bits:4096
``` ```
At this point, the generated <path>private.pem</path> content should be provided to the [`signPlugin.privateKey`](tools_gradle_intellij_plugin.md#signplugin-task-privatekey) property. At this point, the generated <path>private.pem</path> content should be provided to the [`signPlugin.privateKey`](tools_gradle_intellij_plugin.md#tasks-signplugin-privatekey) property.
Provided password should be specified as the [`signPlugin.password`](tools_gradle_intellij_plugin.md#signplugin-task-password) property in the [`signPlugin`](tools_gradle_intellij_plugin.md#tasks-signplugin) configuration. Provided password should be specified as the [`signPlugin.password`](tools_gradle_intellij_plugin.md#tasks-signplugin-password) property in the [`signPlugin`](tools_gradle_intellij_plugin.md#tasks-signplugin) configuration.
As a next step, we'll generate a <path>chain.crt</path> certificate chain with: As a next step, we'll generate a <path>chain.crt</path> certificate chain with:
@ -69,11 +69,11 @@ openssl req\
-out chain.crt -out chain.crt
``` ```
The content of the <path>chain.crt</path> file will be used for the [`signPlugin.certificateChain`](tools_gradle_intellij_plugin.md#signplugin-task-certificatechain) property. The content of the <path>chain.crt</path> file will be used for the [`signPlugin.certificateChain`](tools_gradle_intellij_plugin.md#tasks-signplugin-certificatechain) property.
### Gradle IntelliJ Plugin ### Gradle IntelliJ Plugin
In version `1.x`, the Gradle IntelliJ Plugin provides the [`signPlugin`](tools_gradle_intellij_plugin.md#tasks-signplugin) task, which will be executed automatically right before the [`publishPlugin`](tools_gradle_intellij_plugin.md#tasks-publishplugin) task when [`signPlugin.certificateChain`](tools_gradle_intellij_plugin.md#signplugin-task-certificatechain) and [`signPlugin.privateKey`](tools_gradle_intellij_plugin.md#signplugin-task-privatekey) signing properties are specified. In version `1.x`, the Gradle IntelliJ Plugin provides the [`signPlugin`](tools_gradle_intellij_plugin.md#tasks-signplugin) task, which will be executed automatically right before the [`publishPlugin`](tools_gradle_intellij_plugin.md#tasks-publishplugin) task when [`signPlugin.certificateChain`](tools_gradle_intellij_plugin.md#tasks-signplugin-certificatechain) and [`signPlugin.privateKey`](tools_gradle_intellij_plugin.md#tasks-signplugin-privatekey) signing properties are specified.
Otherwise, it'll be skipped. Otherwise, it'll be skipped.
An example [`signPlugin`](tools_gradle_intellij_plugin.md#tasks-signplugin) task configuration may look like: An example [`signPlugin`](tools_gradle_intellij_plugin.md#tasks-signplugin) task configuration may look like:

View File

@ -27,7 +27,7 @@ Click on an entry in the table's *Attribute* column to go to the documentation a
| `gradle-intellij-plugin` Attribute | Attribute Value | | `gradle-intellij-plugin` Attribute | Attribute Value |
|--------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |--------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [`intellij.localPath`](tools_gradle_intellij_plugin.md#intellij-extension-localpath) | Path to locally installed target version of AppCode. For example, for macOS:<br/><path>/Users/$USERNAME$/Library/Application Support/JetBrains/Toolbox/apps/AppCode/ch-0/193.5662.55/AppCode.app/Contents</path>. | | [`intellij.localPath`](tools_gradle_intellij_plugin.md#intellij-extension-localpath) | Path to locally installed target version of AppCode. For example, for macOS:<br/><path>/Users/$USERNAME$/Library/Application Support/JetBrains/Toolbox/apps/AppCode/ch-0/193.5662.55/AppCode.app/Contents</path>. |
| [`runIde.ideDir`](tools_gradle_intellij_plugin.md#runide-task-idedir) | Path to locally installed target version of AppCode. For example, for macOS:<br/><path>/Users/$USERNAME$/Library/Application Support/JetBrains/Toolbox/apps/AppCode/ch-0/193.5662.55/AppCode.app/Contents</path>. | | [`runIde.ideDir`](tools_gradle_intellij_plugin.md#tasks-runide-idedir) | Path to locally installed target version of AppCode. For example, for macOS:<br/><path>/Users/$USERNAME$/Library/Application Support/JetBrains/Toolbox/apps/AppCode/ch-0/193.5662.55/AppCode.app/Contents</path>. |
The dependency on the AppCode APIs must be declared in the <path>[plugin.xml](plugin_configuration_file.md)</path> file. The dependency on the AppCode APIs must be declared in the <path>[plugin.xml](plugin_configuration_file.md)</path> file.
As described in [Modules Specific to Functionality](plugin_compatibility.md#modules-specific-to-functionality) table, the [`<depends>`](plugin_configuration_file.md#idea-plugin__depends) tags must declare `com.intellij.modules.appcode` module dependency, or `com.intellij.appcode` plugin dependency for plugins targeting only versions 2020.3+. As described in [Modules Specific to Functionality](plugin_compatibility.md#modules-specific-to-functionality) table, the [`<depends>`](plugin_configuration_file.md#idea-plugin__depends) tags must declare `com.intellij.modules.appcode` module dependency, or `com.intellij.appcode` plugin dependency for plugins targeting only versions 2020.3+.

View File

@ -26,7 +26,7 @@ Click on an entry in the table's *Attribute* column to go to the documentation a
| [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | Set to the targeted CLion version, e.g. `2019.3.1`. | | [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | Set to the targeted CLion version, e.g. `2019.3.1`. |
| [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) | No specific declaration is needed. | | [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) | No specific declaration is needed. |
| [`intellij.downloadSources`](tools_gradle_intellij_plugin.md#intellij-extension-downloadsources) | `false` is required because no public source code is available. | | [`intellij.downloadSources`](tools_gradle_intellij_plugin.md#intellij-extension-downloadsources) | `false` is required because no public source code is available. |
| [`runIde.ideDir`](tools_gradle_intellij_plugin.md#runide-task-idedir) | Not needed; the Development Instance will automatically match `intellij.type`. | | [`runIde.ideDir`](tools_gradle_intellij_plugin.md#tasks-runide-idedir) | Not needed; the Development Instance will automatically match `intellij.type`. |
The dependency on the CLion APIs must be declared in the <path>[plugin.xml](plugin_configuration_file.md)</path> file. The dependency on the CLion APIs must be declared in the <path>[plugin.xml](plugin_configuration_file.md)</path> file.
As described in [Modules Specific to Functionality](plugin_compatibility.md#modules-specific-to-functionality) table, the [`<depends>`](plugin_configuration_file.md#idea-plugin__depends) tags must declare `com.intellij.modules.clion` module dependency, or `com.intellij.clion` plugin dependency for plugins targeting only versions 2020.3+. As described in [Modules Specific to Functionality](plugin_compatibility.md#modules-specific-to-functionality) table, the [`<depends>`](plugin_configuration_file.md#idea-plugin__depends) tags must declare `com.intellij.modules.clion` module dependency, or `com.intellij.clion` plugin dependency for plugins targeting only versions 2020.3+.

View File

@ -21,7 +21,7 @@ To see how these attributes appear in a similar Gradle build script for PhpStorm
| [`intellij.type`](tools_gradle_intellij_plugin.md#intellij-extension-type) | `IU` for IntelliJ IDEA Ultimate.<br/>(`IC` is incompatible with the required `DatabaseTools` plugin.) | | [`intellij.type`](tools_gradle_intellij_plugin.md#intellij-extension-type) | `IU` for IntelliJ IDEA Ultimate.<br/>(`IC` is incompatible with the required `DatabaseTools` plugin.) |
| [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | `2019.3` Set to the same version as the DataGrip target version, as set by `runIde.ideDir`. | | [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | `2019.3` Set to the same version as the DataGrip target version, as set by `runIde.ideDir`. |
| [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) | `DatabaseTools` Dependency on the bundled `DatabaseTools` plugin. | | [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) | `DatabaseTools` Dependency on the bundled `DatabaseTools` plugin. |
| [`runIde.ideDir`](tools_gradle_intellij_plugin.md#runide-task-idedir) | Path to locally installed target version of DataGrip. For example, for macOS:<br/><path>/Users/$USERNAME$/Library/Application Support/JetBrains/Toolbox/apps/datagrip/ch-0/193.5233.139/DataGrip.app/Contents</path>. | | [`runIde.ideDir`](tools_gradle_intellij_plugin.md#tasks-runide-idedir) | Path to locally installed target version of DataGrip. For example, for macOS:<br/><path>/Users/$USERNAME$/Library/Application Support/JetBrains/Toolbox/apps/datagrip/ch-0/193.5233.139/DataGrip.app/Contents</path>. |
The dependency on the DataGrip APIs must be declared in the <path>[plugin.xml](plugin_configuration_file.md)</path> file. The dependency on the DataGrip APIs must be declared in the <path>[plugin.xml](plugin_configuration_file.md)</path> file.
As described in [Modules Specific to Functionality](plugin_compatibility.md#modules-specific-to-functionality) table, the [`<depends>`](plugin_configuration_file.md#idea-plugin__depends) tags must declare `com.intellij.database`. As described in [Modules Specific to Functionality](plugin_compatibility.md#modules-specific-to-functionality) table, the [`<depends>`](plugin_configuration_file.md#idea-plugin__depends) tags must declare `com.intellij.database`.

View File

@ -127,7 +127,7 @@ Use the Gradle plugin attribute [`intellij.plugins`](tools_gradle_intellij_plugi
See the specific product pages in _Part VIII — Product Specific_ for the _targetIDE_ plugin or module name. See the specific product pages in _Part VIII — Product Specific_ for the _targetIDE_ plugin or module name.
The best practice is to modify the [`runIde`](tools_gradle_intellij_plugin.md#tasks-runide) task to use a local installation of _targetIDE_ as the [](ide_development_instance.md). The best practice is to modify the [`runIde`](tools_gradle_intellij_plugin.md#tasks-runide) task to use a local installation of _targetIDE_ as the [](ide_development_instance.md).
Set the [`runIde.ideDir`](tools_gradle_intellij_plugin.md#runide-task-idedir) attribute to the (user-specific) absolute path of the _targetIDE_ application. Set the [`runIde.ideDir`](tools_gradle_intellij_plugin.md#tasks-runide-idedir) attribute to the (user-specific) absolute path of the _targetIDE_ application.
The exact path format varies by operating system. The exact path format varies by operating system.
This snippet is an example for configuring the Setup and Running DSLs in a Gradle build script specific to developing a plugin for _targetIDE_. This snippet is an example for configuring the Setup and Running DSLs in a Gradle build script specific to developing a plugin for _targetIDE_.

View File

@ -61,7 +61,7 @@ Select a [version](https://plugins.jetbrains.com/plugin/9568-go/versions) of the
| [`intellij.type`](tools_gradle_intellij_plugin.md#intellij-extension-type) | `IU` for IntelliJ IDEA Ultimate. The Go plugin isn't compatible with IntelliJ IDEA Community Edition. | | [`intellij.type`](tools_gradle_intellij_plugin.md#intellij-extension-type) | `IU` for IntelliJ IDEA Ultimate. The Go plugin isn't compatible with IntelliJ IDEA Community Edition. |
| [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | Set to the same `IU` BRANCH.BUILD as the GoLand target version, e.g. `193.5233.102`. | | [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | Set to the same `IU` BRANCH.BUILD as the GoLand target version, e.g. `193.5233.102`. |
| [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) | `org.jetbrains.plugins.go:193.5233.102.83` for the Go plugin.<br/>See below for Go plugin version information. | | [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) | `org.jetbrains.plugins.go:193.5233.102.83` for the Go plugin.<br/>See below for Go plugin version information. |
| [`runIde.ideDir`](tools_gradle_intellij_plugin.md#runide-task-idedir) | Path to locally installed target version of GoLand. For example, on macOS:<br/><path>/Users/$USERNAME$/Library/Application Support/JetBrains/Toolbox/apps/Goland/ch-0/193.5233.112/GoLand.app/Contents</path>. | | [`runIde.ideDir`](tools_gradle_intellij_plugin.md#tasks-runide-idedir) | Path to locally installed target version of GoLand. For example, on macOS:<br/><path>/Users/$USERNAME$/Library/Application Support/JetBrains/Toolbox/apps/Goland/ch-0/193.5233.112/GoLand.app/Contents</path>. |
</tab> </tab>

View File

@ -55,7 +55,7 @@ To see how these attributes appear in the Gradle build script for PhpStorm, see
| [`intellij.type`](tools_gradle_intellij_plugin.md#intellij-extension-type) | `IU` for IntelliJ IDEA Ultimate. The required PHP plugin isn't compatible with IntelliJ IDEA Community Edition. | | [`intellij.type`](tools_gradle_intellij_plugin.md#intellij-extension-type) | `IU` for IntelliJ IDEA Ultimate. The required PHP plugin isn't compatible with IntelliJ IDEA Community Edition. |
| [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | Set to the same `IU` BRANCH.BUILD as the PhpStorm target version, e.g. `193.5233.102`. | | [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | Set to the same `IU` BRANCH.BUILD as the PhpStorm target version, e.g. `193.5233.102`. |
| [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) | `com.jetbrains.php:193.5233.102` for the PHP plugin.<br/>See below for PHP plugin version information. | | [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) | `com.jetbrains.php:193.5233.102` for the PHP plugin.<br/>See below for PHP plugin version information. |
| [`runIde.ideDir`](tools_gradle_intellij_plugin.md#runide-task-idedir) | Path to locally installed target version of PhpStorm. For example, on macOS:<br/><path>/Users/$USERNAME$/Library/Application Support/JetBrains/Toolbox/apps/PhpStorm/ch-0/193.5233.101/PhpStorm.app/Contents</path>. | | [`runIde.ideDir`](tools_gradle_intellij_plugin.md#tasks-runide-idedir) | Path to locally installed target version of PhpStorm. For example, on macOS:<br/><path>/Users/$USERNAME$/Library/Application Support/JetBrains/Toolbox/apps/PhpStorm/ch-0/193.5233.101/PhpStorm.app/Contents</path>. |
The PHP plugin version is explicitly declared because it isn't bundled with IntelliJ IDEA Ultimate Edition. The PHP plugin version is explicitly declared because it isn't bundled with IntelliJ IDEA Ultimate Edition.
Select a [version](https://plugins.jetbrains.com/plugin/6610-php/versions) of the PHP plugin compatible with the [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version). Select a [version](https://plugins.jetbrains.com/plugin/6610-php/versions) of the PHP plugin compatible with the [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version).

View File

@ -20,7 +20,7 @@ Click on an entry in the table's *Attribute* column to go to the documentation a
| [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | Set to the targeted `PY` or `PC` version. | | [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | Set to the targeted `PY` or `PC` version. |
| [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) | `Pythonid` for `PY` / `PythonCore` for `PC`. | | [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) | `Pythonid` for `PY` / `PythonCore` for `PC`. |
| [`intellij.downloadSources`](tools_gradle_intellij_plugin.md#intellij-extension-downloadsources) | `false` is required because no public source code is available. | | [`intellij.downloadSources`](tools_gradle_intellij_plugin.md#intellij-extension-downloadsources) | `false` is required because no public source code is available. |
| [`runIde.ideDir`](tools_gradle_intellij_plugin.md#runide-task-idedir) | Not needed; the Development Instance will automatically match `intellij.type`. | | [`runIde.ideDir`](tools_gradle_intellij_plugin.md#tasks-runide-idedir) | Not needed; the Development Instance will automatically match `intellij.type`. |
The dependency on the PyCharm APIs must be declared in the <path>[plugin.xml](plugin_configuration_file.md)</path> file. The dependency on the PyCharm APIs must be declared in the <path>[plugin.xml](plugin_configuration_file.md)</path> file.
As described in [Configuring the plugin.xml File](dev_alternate_products.md#configuring-pluginxml), the [`<depends>`](plugin_configuration_file.md#idea-plugin__depends) tags must declare `com.intellij.modules.python`. As described in [Configuring the plugin.xml File](dev_alternate_products.md#configuring-pluginxml), the [`<depends>`](plugin_configuration_file.md#idea-plugin__depends) tags must declare `com.intellij.modules.python`.

View File

@ -22,7 +22,7 @@ To see how these attributes appear in a similar Gradle build script for PhpStorm
| [`intellij.type`](tools_gradle_intellij_plugin.md#intellij-extension-type) | `IU` for IntelliJ IDEA Ultimate. | | [`intellij.type`](tools_gradle_intellij_plugin.md#intellij-extension-type) | `IU` for IntelliJ IDEA Ultimate. |
| [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | Set to the same `IU` BRANCH.BUILD as the RubyMine target version, e.g. `192.7142.36`. | | [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | Set to the same `IU` BRANCH.BUILD as the RubyMine target version, e.g. `192.7142.36`. |
| [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) | `org.jetbrains.plugins.ruby:2019.2.20191029` for the Ruby plugin.<br/>See below for Ruby plugin version information. | | [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) | `org.jetbrains.plugins.ruby:2019.2.20191029` for the Ruby plugin.<br/>See below for Ruby plugin version information. |
| [`runIde.ideDir`](tools_gradle_intellij_plugin.md#runide-task-idedir) | Path to locally installed target version of RubyMine. For example, on macOS:<br/><path>/Users/$USERNAME$/Library/Application Support/JetBrains/Toolbox/apps/RubyMine/ch-0/192.7142.37/RubyMine.app/Contents</path>. | | [`runIde.ideDir`](tools_gradle_intellij_plugin.md#tasks-runide-idedir) | Path to locally installed target version of RubyMine. For example, on macOS:<br/><path>/Users/$USERNAME$/Library/Application Support/JetBrains/Toolbox/apps/RubyMine/ch-0/192.7142.37/RubyMine.app/Contents</path>. |
The required `org.jetbrains.plugins.ruby` plugin isn't compatible with IntelliJ IDEA Community edition but is compatible with IntelliJ IDEA Ultimate (`IU`) edition. The required `org.jetbrains.plugins.ruby` plugin isn't compatible with IntelliJ IDEA Community edition but is compatible with IntelliJ IDEA Ultimate (`IU`) edition.
Product compatibility is determined from the Ruby plugin [version page](https://plugins.jetbrains.com/plugin/1293-ruby/versions). Product compatibility is determined from the Ruby plugin [version page](https://plugins.jetbrains.com/plugin/1293-ruby/versions).

View File

@ -25,7 +25,7 @@ To see how these attributes appear in a similar Gradle build script for PhpStorm
| [`intellij.type`](tools_gradle_intellij_plugin.md#intellij-extension-type) | `IU` for IntelliJ IDEA Ultimate.<br/>(`IC` is incompatible with the required `JavaScriptLanguage` plugin) | | [`intellij.type`](tools_gradle_intellij_plugin.md#intellij-extension-type) | `IU` for IntelliJ IDEA Ultimate.<br/>(`IC` is incompatible with the required `JavaScriptLanguage` plugin) |
| [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | `192.7142.36` Set to the same BRANCH.BUILD as the WebStorm target version. | | [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) | `192.7142.36` Set to the same BRANCH.BUILD as the WebStorm target version. |
| [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) | Dependency on the `JavaScriptLanguage` plugin. | | [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) | Dependency on the `JavaScriptLanguage` plugin. |
| [`runIde.ideDir`](tools_gradle_intellij_plugin.md#runide-task-idedir) | Path to locally installed target version of WebStorm. For example, for macOS:<br/><path>/Users/$USERNAME$/Library/Application Support/JetBrains/Toolbox/apps/WebStorm/ch-0/192.7142.35/WebStorm.app/Contents</path>. | | [`runIde.ideDir`](tools_gradle_intellij_plugin.md#tasks-runide-idedir) | Path to locally installed target version of WebStorm. For example, for macOS:<br/><path>/Users/$USERNAME$/Library/Application Support/JetBrains/Toolbox/apps/WebStorm/ch-0/192.7142.35/WebStorm.app/Contents</path>. |
The dependency on the WebStorm APIs must be declared in the <path>[plugin.xml](plugin_configuration_file.md)</path> file. The dependency on the WebStorm APIs must be declared in the <path>[plugin.xml](plugin_configuration_file.md)</path> file.
As described in [Modules Specific to Functionality](plugin_compatibility.md#modules-specific-to-functionality) table, the [`<depends>`](plugin_configuration_file.md#idea-plugin__depends) tags must declare `JavaScriptLanguage`. As described in [Modules Specific to Functionality](plugin_compatibility.md#modules-specific-to-functionality) table, the [`<depends>`](plugin_configuration_file.md#idea-plugin__depends) tags must declare `JavaScriptLanguage`.

View File

@ -56,13 +56,13 @@ Using the corresponding JetBrains Runtime is also the default, so for this use-c
### Running Against Alternate Versions and Types of IntelliJ Platform-Based IDEs ### Running Against Alternate Versions and Types of IntelliJ Platform-Based IDEs
The IntelliJ Platform IDE used for the [Development Instance](ide_development_instance.md) can be different from that used to build the plugin project. The IntelliJ Platform IDE used for the [Development Instance](ide_development_instance.md) can be different from that used to build the plugin project.
Setting the [`runIde.ideDir`](tools_gradle_intellij_plugin.md#runide-task-idedir) property will define an IDE to be used for the Development Instance. Setting the [`runIde.ideDir`](tools_gradle_intellij_plugin.md#tasks-runide-idedir) property will define an IDE to be used for the Development Instance.
This attribute is commonly used when running or debugging a plugin in an [alternate IntelliJ Platform-based IDE](intellij_platform.md#ides-based-on-the-intellij-platform). This attribute is commonly used when running or debugging a plugin in an [alternate IntelliJ Platform-based IDE](intellij_platform.md#ides-based-on-the-intellij-platform).
### Running Against Alternate Versions of the JetBrains Runtime ### Running Against Alternate Versions of the JetBrains Runtime
Every version of the IntelliJ Platform has a corresponding version of the [JetBrains Runtime](ide_development_instance.md#using-a-jetbrains-runtime-for-the-development-instance). Every version of the IntelliJ Platform has a corresponding version of the [JetBrains Runtime](ide_development_instance.md#using-a-jetbrains-runtime-for-the-development-instance).
A different version of the runtime can be used by specifying the [`runIde.jbrVersion`](tools_gradle_intellij_plugin.md#runide-task-jbrversion) attribute, describing a version of the JetBrains Runtime that should be used by the IDE Development Instance. A different version of the runtime can be used by specifying the [`runIde.jbrVersion`](tools_gradle_intellij_plugin.md#tasks-runide-jbrversion) attribute, describing a version of the JetBrains Runtime that should be used by the IDE Development Instance.
The Gradle plugin will fetch the specified JetBrains Runtime as needed. The Gradle plugin will fetch the specified JetBrains Runtime as needed.
## Patching the Plugin Configuration File ## Patching the Plugin Configuration File
@ -70,7 +70,7 @@ The Gradle plugin will fetch the specified JetBrains Runtime as needed.
A plugin project's <path>plugin.xml</path> file has element values that are "patched" at build time from the attributes of the [`patchPluginXml`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml) task. A plugin project's <path>plugin.xml</path> file has element values that are "patched" at build time from the attributes of the [`patchPluginXml`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml) task.
As many as possible of the attributes in the Patching DSL will be substituted into the corresponding element values in a plugin project's <path>plugin.xml</path> file: As many as possible of the attributes in the Patching DSL will be substituted into the corresponding element values in a plugin project's <path>plugin.xml</path> file:
* If a `patchPluginXml` attribute default value is defined, the attribute value will be patched in <path>plugin.xml</path> _regardless of whether the `patchPluginXml` task appears in the Gradle build script_. * If a `patchPluginXml` attribute default value is defined, the attribute value will be patched in <path>plugin.xml</path> _regardless of whether the `patchPluginXml` task appears in the Gradle build script_.
* For example, the default values for the attributes [`patchPluginXml.sinceBuild`](tools_gradle_intellij_plugin.md#patchpluginxml-task-sincebuild) and [`patchPluginXml.untilBuild`](tools_gradle_intellij_plugin.md#patchpluginxml-task-untilbuild) are defined based on the declared (or default) value of [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version). * For example, the default values for the attributes [`patchPluginXml.sinceBuild`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml-sincebuild) and [`patchPluginXml.untilBuild`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml-untilbuild) are defined based on the declared (or default) value of [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version).
So by default `patchPluginXml.sinceBuild` and `patchPluginXml.untilBuild` are substituted into the [`<idea-version>`](plugin_configuration_file.md#idea-plugin__idea-version) element's `since-build` and `until-build` attributes in the <path>plugin.xml</path> file. So by default `patchPluginXml.sinceBuild` and `patchPluginXml.untilBuild` are substituted into the [`<idea-version>`](plugin_configuration_file.md#idea-plugin__idea-version) element's `since-build` and `until-build` attributes in the <path>plugin.xml</path> file.
* If a [`patchPluginXml`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml) task's attribute value is explicitly defined, the attribute value will be substituted in <path>plugin.xml</path>. * If a [`patchPluginXml`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml) task's attribute value is explicitly defined, the attribute value will be substituted in <path>plugin.xml</path>.
* If both `patchPluginXml.sinceBuild` and `patchPluginXml.untilBuild` attributes are explicitly set, both are substituted in <path>plugin.xml</path>. * If both `patchPluginXml.sinceBuild` and `patchPluginXml.untilBuild` attributes are explicitly set, both are substituted in <path>plugin.xml</path>.
@ -80,7 +80,7 @@ As many as possible of the attributes in the Patching DSL will be substituted in
The best practice to avoid confusion is to replace the elements in <path>plugin.xml</path> that will be patched by the Gradle plugin with a comment. The best practice to avoid confusion is to replace the elements in <path>plugin.xml</path> that will be patched by the Gradle plugin with a comment.
That way, the values for these parameters do not appear in two places in the source code. That way, the values for these parameters do not appear in two places in the source code.
The Gradle plugin will add the necessary elements as part of the patching process. The Gradle plugin will add the necessary elements as part of the patching process.
For those [`patchPluginXml`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml) attributes that contain descriptions such as [`patchPluginXml.changeNotes`](tools_gradle_intellij_plugin.md#patchpluginxml-task-changenotes) and [`patchPluginXml.pluginDescription`](tools_gradle_intellij_plugin.md#patchpluginxml-task-plugindescription), a `CDATA` block is not necessary when using HTML elements. For those [`patchPluginXml`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml) attributes that contain descriptions such as [`patchPluginXml.changeNotes`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml-changenotes) and [`patchPluginXml.pluginDescription`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml-plugindescription), a `CDATA` block is not necessary when using HTML elements.
> To maintain and generate an up-to-date changelog, try using [Gradle Changelog Plugin](https://github.com/JetBrains/gradle-changelog-plugin). > To maintain and generate an up-to-date changelog, try using [Gradle Changelog Plugin](https://github.com/JetBrains/gradle-changelog-plugin).
> >

View File

@ -124,7 +124,7 @@ tasks {
* The `sourceCompatibility` line is injected to enforce using Java 11 JDK to compile Java sources. * The `sourceCompatibility` line is injected to enforce using Java 11 JDK to compile Java sources.
* The values of the [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) and [`intellij.type`](tools_gradle_intellij_plugin.md#intellij-extension-type) properties specify the version and type of the IntelliJ Platform to be used to build the plugin. * The values of the [`intellij.version`](tools_gradle_intellij_plugin.md#intellij-extension-version) and [`intellij.type`](tools_gradle_intellij_plugin.md#intellij-extension-type) properties specify the version and type of the IntelliJ Platform to be used to build the plugin.
* The empty placeholder list for [plugin dependencies](tools_gradle_intellij_plugin.md#intellij-extension-plugins). * The empty placeholder list for [plugin dependencies](tools_gradle_intellij_plugin.md#intellij-extension-plugins).
* The values of the [`patchPluginXml.sinceBuild`](tools_gradle_intellij_plugin.md#patchpluginxml-task-sincebuild) and [`patchPluginXml.untilBuild`](tools_gradle_intellij_plugin.md#patchpluginxml-task-untilbuild) properties specifying the minimum and maximum versions of the IDE build the plugin is compatible with. * The values of the [`patchPluginXml.sinceBuild`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml-sincebuild) and [`patchPluginXml.untilBuild`](tools_gradle_intellij_plugin.md#tasks-patchpluginxml-untilbuild) properties specifying the minimum and maximum versions of the IDE build the plugin is compatible with.
* The initial [`signPlugin`](tools_gradle_intellij_plugin.md#tasks-signplugin) and [`publishPlugin`](tools_gradle_intellij_plugin.md#tasks-publishplugin) tasks configuration. * The initial [`signPlugin`](tools_gradle_intellij_plugin.md#tasks-signplugin) and [`publishPlugin`](tools_gradle_intellij_plugin.md#tasks-publishplugin) tasks configuration.
See the [](publishing_plugin.md#publishing-plugin-with-gradle) section for more information. See the [](publishing_plugin.md#publishing-plugin-with-gradle) section for more information.