IntelliJ Platform Gradle Plugin: Provide direct access to the IntelliJ Platform dependency artifact path

This commit is contained in:
Jakub Chrzanowski 2024-02-19 23:55:03 +01:00
parent faaa2f11d3
commit 405536a333
No known key found for this signature in database
GPG Key ID: C39095BFD769862E
2 changed files with 17 additions and 4 deletions

View File

@ -10,7 +10,7 @@ The IntelliJ Platform Gradle Plugin exposes a number of build features to contro
To enable or disable a particular feature, add a Project property to the <path>gradle.properties</path> file with the following pattern:
```
org.jetbrains.intellij.buildFeature.<buildFeatureName>=<true|false>
org.jetbrains.intellij.platform.buildFeature.<buildFeatureName>=<true|false>
```
E.g., to disable the [](#selfUpdateCheck) feature, add this line:
@ -32,7 +32,7 @@ Default value
Example
:
```
org.jetbrains.intellij.buildFeature.buildSearchableOptions=false
org.jetbrains.intellij.platform.buildFeature.buildSearchableOptions=false
```

View File

@ -78,17 +78,30 @@ Default value
: `true`
### platformPath
{#intellijPlatform-platformPath}
Provides read-only access to the IntelliJ Platform dependency artifact path.
{style="narrow"}
Type
: `DirectoryProperty`
Default value
: Path of the current IntelliJ Platform
### productInfo
{#intellijPlatform-productInfo}
Provides read access for the [`ProductInfo`](tools_intellij_platform_gradle_plugin_types.md#ProductInfo) object associated with the IntelliJ Platform dependency configured for the current project.
Provides read-only access to the [`ProductInfo`](tools_intellij_platform_gradle_plugin_types.md#ProductInfo) object associated with the IntelliJ Platform dependency configured for the current project.
{style="narrow"}
Type
: [`Property<ProductInfo>`](tools_intellij_platform_gradle_plugin_types.md#ProductInfo)
Default value
: [`ProductInfo`](tools_intellij_platform_gradle_plugin_types.md#ProductInfo) for the current IntelliJ Platform
: [`ProductInfo`](tools_intellij_platform_gradle_plugin_types.md#ProductInfo) of the current IntelliJ Platform
### sandboxContainer