llms.txt: machine-readable documentation index. Markdown version of this page is also available.

IntelliJ Platform Plugin SDK Help

Gradle Properties

The IntelliJ Platform Gradle Plugin exposes a number of Gradle properties to control some of the low-level Gradle plugin behaviors. To enable or disable a particular feature, add a Project property to the gradle.properties file with the following pattern:

org.jetbrains.intellij.platform.<name>=<value>

downloadSources

Instruct the IDE that sources are needed to be downloaded when working with IntelliJ Platform Gradle Plugin.

Value is passed directly to the IDEA Gradle Plugin to the idea.module.downloadSources property.

See also:

Default value

true

Example
org.jetbrains.intellij.platform.downloadSources=true

intellijPlatformCache

Specifies the location of the local IntelliJ Platform cache directory for storing files related to the current project, like:

Default value

[rootProject]/.intellijPlatform/

Example
org.jetbrains.intellij.platform.intellijPlatformCache=/path/to/intellijPlatformCache/

intellijPlatformIdesCache

Specifies the location of the IntelliJ Platform IDEs cache directory for storing downloaded IDE distributions and related artifacts. This cache is used to avoid re-downloading the same IDE versions across different project builds and can be shared between multiple projects. Serialized IDE layout indices are stored in its layoutIndex/ subdirectory.

Note: this directory can be shared across projects and should be excluded from versioning.

See also:

Default value

intellijPlatformCache/ides/

Example
org.jetbrains.intellij.platform.intellijPlatformIdesCache=/path/to/ides-cache/

intellijPlatformIdesCacheEnabled

Indicates whether caching for IntelliJ Platform IDEs is enabled globally.

This property can still be overridden locally with useCache in an IntelliJ Platform dependency configuration.

See also:

Default value

false

Example
org.jetbrains.intellij.platform.intellijPlatformIdesCacheEnabled=true

localPlatformArtifacts

The localPlatformArtifacts() entry applied to the repositories {} block is required to apply to the project dependencies that need extra pre-processing before they can be correctly used by the IntelliJ Platform Gradle Plugin and loaded by Gradle.

Default value

intellijPlatformCache/localPlatformArtifacts/

Example
org.jetbrains.intellij.platform.localPlatformArtifacts=/path/to/localPlatformArtifacts/

noSearchableOptionsWarning

When the buildSearchableOptions task doesn't produce any results, for example, when the plugin doesn't implement any settings, a warning is shown to suggest disabling it for better performance with the buildSearchableOptions property.

Default value

true

Example
org.jetbrains.intellij.platform.noSearchableOptionsWarning=false

forceBuildSearchableOptions

Forces the buildSearchableOptions task to run even when descriptor analysis doesn't find any Configurable extension points. This property overrides both the automatic skip optimization and the intellijPlatform.buildSearchableOptions extension property.

Default value

false

Example
org.jetbrains.intellij.platform.forceBuildSearchableOptions=true

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.platform.paidPluginSearchableOptionsWarning=false

productsReleasesAndroidStudioUrl

Specifies the URL from which the list of all Android Studio releases is fetched. The JSON listing is used to resolve Android Studio distributions and select IDEs for the verifyPlugin task. Custom mirrors must provide JSON rather than XML.

Default value

https://jb.gg/android-studio-releases-list.json

Example
org.jetbrains.intellij.platform.productsReleasesAndroidStudioUrl=https://...

productsReleasesJetBrainsIdesUrl

Removed in 2.18.0. JetBrains IDE release listings are configured with productsReleasesCdnBuildsUrl instead.

selfUpdateCheck

Checks whether the currently used IntelliJ Platform Gradle Plugin is outdated and if a new release is available. The update check reads Maven metadata from the Gradle Plugin Portal.

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.platform.selfUpdateCheck=false

subscriptionKey

Specifies the path to an IntelliJ IDEA subscription key file used as the default for intellijPlatform.subscriptionKey. The key file is copied to config/idea.key, and com.intellij.modules.ultimate is removed from config/disabled_plugins.txt in each prepared sandbox. Set PrepareSandboxTask.subscriptionKey to override this value for a specific sandbox task.

Default value

empty (subscription activation is disabled)

Example
org.jetbrains.intellij.platform.subscriptionKey=/path/to/idea.key

To configure the key-file path globally for all projects, set the corresponding Gradle project property through the ORG_GRADLE_PROJECT_org.jetbrains.intellij.platform.subscriptionKey environment variable.

testIdeBundledPluginsClasspathEnabled

Removed in 2.20.0. Bundled plugins declared in the IntelliJ Platform's product-info.json file are now always added to the classpaths used by the testIde and ordinary Gradle test tasks. Use testIdeBundledPluginsClasspathExcludes to exclude optional bundled plugins instead.

testIdeBundledPluginsClasspathExcludes

Specifies a comma-separated list of bundled plugin IDs or module IDs excluded from the classpaths used by the testIde and ordinary Gradle test tasks. Bundled plugins that require an excluded plugin are excluded, too. Plugins required by the tested plugin, its plugin dependencies, or explicitly declared bundled plugins and modules are never excluded.

Setting this property explicitly replaces all defaults, including the version-specific exclusions below. Set it to an empty value to disable the default ID exclusions.

Default value

com.intellij.openRewrite,com.intellij.ja,com.intellij.ko,com.intellij.zh,org.jetbrains.plugins.vue,org.jetbrains.plugins.clion.radlerThe defaults additionally exclude com.intellij.spring.boot on IntelliJ Platform 2023.3 (build 233) and com.intellij.swagger on 2024.1 (build 241). These IDE versions do not ship the corresponding test-service implementations.

Example
org.jetbrains.intellij.platform.testIdeBundledPluginsClasspathExcludes=

verifyPluginDefaultRecommendedIdes

Controls whether intellijPlatform.pluginVerification.ides.recommended() is used automatically when no IntelliJ Plugin Verifier IDEs were configured explicitly. Keep this enabled for normal compatibility checks. The selection follows current release catalogs, so the target IDE set can change without changes to the build configuration.

Default value

true

Example
org.jetbrains.intellij.platform.verifyPluginDefaultRecommendedIdes=false

shimServerPort

Specifies the starting port for the local Shim server. The Shim server is used to proxy requests to the authorized custom plugin repositories registered with customPluginRepository(). If the port is occupied, the server tries subsequent ports until one is available.

Default value

7348

Example
org.jetbrains.intellij.platform.shimServerPort=7348

useCacheRedirector

Controls whether Maven repositories added by the IntelliJ Platform Gradle Plugin use JetBrains Cache Redirector or their direct URLs. Set this property to false to use direct URLs where an alternative is available. Repositories without a direct alternative, such as the JetBrains Runtime repository, retain their configured URLs. For isolated networks, see Working in Isolated Networks.

Default value

true

Example
org.jetbrains.intellij.platform.useCacheRedirector=false

useDefaultSandboxExclusions

Controls whether Kotlin standard library and Kotlin Coroutines dependencies provided by the IntelliJ Platform are excluded from sandbox runtime classpaths by default. The exclusions apply to sandboxes prepared for running the IDE and tests, including the prepareSandbox and prepareTestSandbox tasks. Set this property to false to opt out of the default exclusions.

Default value

true

Example
org.jetbrains.intellij.platform.useDefaultSandboxExclusions=false

addDefaultIntelliJPlatformDependencies

Controls whether default IntelliJ Platform dependencies (like com.intellij and intellij.rider) should be added automatically when creating a dependency on the IntelliJ Platform.

Default value

true

Example
org.jetbrains.intellij.platform.addDefaultIntelliJPlatformDependencies=false

productsReleasesCdnBuildsUrl

Specifies the URL from which JetBrains IDE release listings are fetched. The {type} placeholder is replaced with the product code. The JSON listing supplies versions, build numbers, release channels, and download links for IDE resolution, JetBrains Client, and IntelliJ Plugin Verifier targets.

Default value

https://data.services.jetbrains.com/products?code={type}&fields=code,releases.type,releases.version,releases.build,releases.downloads

Example
org.jetbrains.intellij.platform.productsReleasesCdnBuildsUrl=https://...

verifyPluginProjectConfigurationMutedMessages

Allows muting specific messages reported by the verifyPluginProjectConfiguration task. The property accepts a comma-separated list of message patterns. Each pattern is matched against the message text using a case-sensitive substring search.

Default value

empty (no messages are muted)

Example
org.jetbrains.intellij.platform.verifyPluginProjectConfigurationMutedMessages=Kotlin Standard Library,Java Runtime is not JetBrains Runtime
30 November 2026