tools_gradle_intellij_plugin.md: clarify build features usage

This commit is contained in:
Yann Cébron 2022-06-21 16:50:02 +02:00
parent 7cf656203c
commit 24e3790cf9

View File

@ -1640,12 +1640,19 @@ Default value
## Build Features
With the Gradle IntelliJ Plugin releases, new features are introduced that require additional research, collecting more feedback from developers, or should be enabled or disabled under particular conditions.
With ongoing Gradle IntelliJ Plugin releases, new features are introduced that require additional research, collecting more feedback from developers, or should be enabled or disabled under particular conditions.
Build Features are an implementation of the feature flags concept and let you control some behaviors of the Gradle IntelliJ Plugin.
To enable or disable a particular feature, add the Project property to the <path>gradle.properties</path> file, like:
To enable or disable a particular feature, add a Project property to the <path>gradle.properties</path> file with the following pattern:
```properties
org.jetbrains.intellij.buildFeature.buildFeatureName=false
org.jetbrains.intellij.buildFeature.<buildFeatureName>=<true|false>
```
E.g., to disable the [selfUpdateCheck](#build-features-selfupdatecheck) feature, add this line:
```properties
org.jetbrains.intellij.buildFeature.selfUpdateCheck=false
```