tools_gradle_intellij_plugin.md: verifyPluginConfiguration Task

This commit is contained in:
Jakub Chrzanowski 2022-08-22 13:58:11 +02:00 committed by Jakub Chrzanowski
parent cb82119596
commit 37a56066a2

View File

@ -1655,3 +1655,19 @@ Type
Default value
: `${prepareSandboxTask.destinationDir}/${prepareSandboxTask.pluginName}`
## verifyPluginConfiguration Task
> Available since the upcoming release
>
{type="warning"}
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`].
- 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`].
- 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`] 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`] or [`patchPluginXml.sinceBuild`](#patchpluginxml-task-sincebuild) properties.
For more details regarding the Java version used in the specific IntelliJ SDK, see [](build_number_ranges.md).