From 405536a333ffa19c4e948721fe74db8c38987e57 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 19 Feb 2024 23:55:03 +0100 Subject: [PATCH] IntelliJ Platform Gradle Plugin: Provide direct access to the IntelliJ Platform dependency artifact path --- ...lij_platform_gradle_plugin_build_features.md | 4 ++-- ...intellij_platform_gradle_plugin_extension.md | 17 +++++++++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_build_features.md b/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_build_features.md index 452debe0f..19e126865 100644 --- a/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_build_features.md +++ b/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_build_features.md @@ -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 gradle.properties file with the following pattern: ``` -org.jetbrains.intellij.buildFeature.= +org.jetbrains.intellij.platform.buildFeature.= ``` 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 ``` diff --git a/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_extension.md b/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_extension.md index 270f9ea00..9f6cc166f 100644 --- a/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_extension.md +++ b/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_extension.md @@ -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`](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