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:
E.g., to disable the
selfUpdateCheck feature, add this line:
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.
With this feature, it is possible to check if the currently used Gradle IntelliJ Plugin is outdated and if there's a new release 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 presenting the current and the latest versions.
Feature respects the Gradle