IntelliJ Platform Plugin SDK Help

Gradle IntelliJ Plugin – Build Features

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 a Project property to the gradle.properties file with the following pattern:

org.jetbrains.intellij.buildFeature.<buildFeatureName>=<true|false>

E.g., to disable the selfUpdateCheck feature, add this line:

org.jetbrains.intellij.buildFeature.selfUpdateCheck=false

noSearchableOptionsWarning

When the buildSearchableOptions doesn't produce any results, e.g., when the plugin doesn't implement any Settings, a warning is shown to suggest disabling the task for better performance.

Default value

true

Example
org.jetbrains.intellij.buildFeature.buildSearchableOptions=false

paidPluginSearchableOptionsWarning

Due to IDE limitations, it is impossible to run the IDE in headless mode to collect searchable options for a paid plugin. As paid plugins require providing a valid license and presenting a UI dialog, it is impossible to handle such a case, and the task will fail. This feature flag displays the given warning when the task is run by a paid plugin.

Default value

true

Example
org.jetbrains.intellij.buildFeature.paidPluginSearchableOptionsWarning=false

selfUpdateCheck

Checks whether the currently used Gradle IntelliJ Plugin is outdated and if a new release is available. The plugin performs an update check on every run asking the GitHub Releases page for the redirection URL to the latest version with HEAD HTTP request: https://github.com/jetbrains/gradle-intellij-plugin/releases/latest.

If the current version is outdated, the plugin will emit a warning with its current and the latest version.

Feature respects the Gradle --offline mode.

Default value

true

Example
org.jetbrains.intellij.buildFeature.selfUpdateCheck=false
Last modified: 29 九月 2022