IntelliJ Platform Gradle Plugin: Split Mode + target

This commit is contained in:
Jakub Chrzanowski 2024-05-13 21:26:58 +02:00
parent 9f35eb1dd6
commit 6009625c1c
No known key found for this signature in database
GPG Key ID: C39095BFD769862E
3 changed files with 52 additions and 2 deletions

View File

@ -200,6 +200,26 @@ See also:
- [Task Awares: `SplitModeAware`](tools_intellij_platform_gradle_plugin_task_awares.md#SplitModeAware)
### `splitModeTarget`
{#intellijPlatform-splitModeTarget}
> Split Mode requires the IntelliJ Platform in version `241.14473` or later.
>
{style="warning"}
Specifies in which part of the product the developed plugin should be installed.
{style="narrow"}
Type
: [`Property<SplitModeTarget>`](tools_intellij_platform_gradle_plugin_types.md#SplitModeAware-SplitModeTarget)
Default value
: [`SplitModeTarget.BACKEND`](tools_intellij_platform_gradle_plugin_types.md#SplitModeAware-SplitModeTarget)
See also:
- [Task Awares: `SplitModeAware`](tools_intellij_platform_gradle_plugin_task_awares.md#SplitModeAware)
## Plugin Configuration
{#intellijPlatform-pluginConfiguration}
@ -942,7 +962,7 @@ Defines the verification level at which the task should fail if any reported iss
{style="narrow"}
Type
: `ListProperty<FailureLevel>`
: [`ListProperty<FailureLevel>`](tools_intellij_platform_gradle_plugin_types.md#FailureLevel)
Default value
: [`FailureLevel.COMPATIBILITY_PROBLEMS`](tools_intellij_platform_gradle_plugin_types.md#FailureLevel)

View File

@ -564,7 +564,23 @@ Enables Split Mode when running the IDE.
{style="narrow"}
Type
: `DirectoryProperty`
: `Property<Boolean>`
Default value
: [`intellijPlatform.splitMode`](tools_intellij_platform_gradle_plugin_extension.md#intellijPlatform-splitMode)
### `splitModeTarget`
{#SplitModeAware-splitModeTarget}
Specifies in which part of the product the developed plugin should be installed.
{style="narrow"}
Type
: [`Property<SplitModeTarget>`](tools_intellij_platform_gradle_plugin_types.md#SplitModeAware-SplitModeTarget)
Default value
: [`intellijPlatform.splitModeTarget`](tools_intellij_platform_gradle_plugin_extension.md#intellijPlatform-splitModeTarget)
## `TestableAware`

View File

@ -159,6 +159,20 @@ See also:
- [Tasks: `printProductsReleases`](tools_intellij_platform_gradle_plugin_tasks.md#printProductsReleases)
## `SplitModeAware.SplitModeTarget`
{#SplitModeAware-SplitModeTarget}
[`SplitModeAware.SplitModeTarget`](%gh-ijpgp%/src/main/kotlin/org/jetbrains/intellij/platform/gradle/tasks/aware/SplitModeAware.kt)
Describes a part of the product where the developed plugin can be installed when running in _splitMode_ handled by [`SplitModeAware`](tools_intellij_platform_gradle_plugin_task_awares.md#SplitModeAware).
| Name | Description |
|------------------------|---------------------------------------------------|
| `BACKEND` | Install plugin in the backed IDE. |
| `FRONTEND` | Install plugin in the frontend IDE. |
| `BACKEND_AND_FRONTEND` | Install plugin in both backend and frontend IDEs. |
## `Subsystems`
{#Subsystems}