Skip to content

Releases: JetBrains/intellij-platform-gradle-plugin

2.16.0

01 May 09:27
470a570

Choose a tag to compare

Added

  • Cache a serialized IDE layout index and reuse it for bundled plugin/module dependency resolution, test runtime classpath collection, and printBundledPlugins/printBundledModules.

Fixed

  • Avoid resolving the JetBrains Runtime for buildSearchableOptions when searchable options are skipped, while keeping JBR resolution for tests and IDE run tasks.
  • Refactor Kotlin JVM toolchain configuration into a dedicated utility and add an isolation test for Kotlin Gradle API links.
  • Dependency verification fails because of a "corrupted" asc because of ivy misconfiguration #2140
  • Include $legacy_jps_module namespace in module descriptor handling and update related tests

2.15.0

24 Apr 18:48
4531393

Choose a tag to compare

Added

  • Apply Gradle Changelog Plugin conventions automatically when org.jetbrains.changelog is present, including default changelog extension values, changeNotes, and publishPlugin wiring.
  • Supported upcoming changes in module-descriptors.jar format in 262.* IDEs.
  • Skip buildSearchableOptions when the main plugin descriptor and included module descriptors do not declare Configurable extension points.
  • Add org.jetbrains.intellij.platform.forceBuildSearchableOptions Gradle property to force buildSearchableOptions to run even when automatic detection would skip it.
  • Added support for testing Jupyter and Notebooks by introducing new test frameworks: TestFrameworkType.Plugin.Jupyter and TestFrameworkType.Plugin.Notebook
  • Add pluginComposedModule dependency support and extend regression test for multi-module projects

Changed

  • Expand default failureLevel list in PluginVerification to include internal and override-only API usages.
  • Reduce CollectorTransformer and module descriptor processing overhead by replacing generic module-descriptors.jar XML deserialization with a lightweight shared parser.
  • Introduce ProductReleasesService, add caching for release resolution, and refactor release filtering logic.
  • Cache Android Studio download-link and JetBrains Client build-number value source lookups across repeated resolution in the same build.
  • Add shared plugin.xml parsing cache and reuse it across plugin verification, searchable options, and IDE run argument preparation.
  • Avoid wiring initializeIntellijPlatformPlugin into module project tasks and trim unused task preconfiguration from the self-update path.
  • Avoid rewriting unchanged sandbox and generated XML/manifest files when their content stays the same.
  • Refactor GenerateManifestTask to replace ProductInfo with explicit platform properties (platformType, platformVersion, platformBuild)

Fixed

  • Fixed incorrectly calculated module descriptor coordinates used for excluding transitive dependencies. #2127
  • Refactor ComposedJarTask module naming logic and remove redundant test method from IntelliJPlatformTestingExtensionTest. #2124
  • Replace hardcoded "com.intellij" with centralized IDEA_CORE constant in dependency resolution and filtering logic. #2137
  • Refactor IntelliJ Gradle plugin to improve Java and Kotlin toolchain configuration handling, ensuring proper defaults and streamlined overrides. #2120

2.14.0

09 Apr 13:13
b2e7491

Choose a tag to compare

Breaking Changes

  • Default intellijPlatform.pluginConfiguration.ideaVersion.sinceBuild to the target IntelliJ Platform major build instead of major.minor; explicitly setting it to the major value is now redundant and can be removed.
  • Apply intellijPlatform.pluginVerification.ides.recommended() by default when no IntelliJ Plugin Verifier IDEs are configured explicitly.
  • Default intellijPlatform.signing.certificateChain, intellijPlatform.signing.privateKey, intellijPlatform.signing.password, and intellijPlatform.publishing.token to the Plugin Template environment variables: CERTIFICATE_CHAIN, PRIVATE_KEY, PRIVATE_KEY_PASSWORD, and PUBLISH_TOKEN.

Added

  • Add org.jetbrains.intellij.platform.verifyPluginDefaultRecommendedIdes Gradle property to control automatic default IDE selection for the verifyPlugin task.
  • Add intellijPlatform.pluginVerification.ides.current() helper to refer to the currently targeted IntelliJ Platform.
  • Add intellijPlatform.pluginVerification.ides.latest() helper to resolve the latest IDE release for each selected type.
  • Add default value for targetRootOutputDir of GenerateParserTask.
  • Add properties targetRootOutputDir and packageName (with defaults) for GenerateLexerTask. These properties replace targetOutputDir and automatically use a proper subdirectory matching the package.
  • Default the Java toolchain language version to the Java version required by the targeted IntelliJ Platform, so common Kotlin JVM projects no longer need to repeat kotlin { jvmToolchain(...) }.

Changed

  • Automatically inherit the root project's targeted IntelliJ Platform in org.jetbrains.intellij.platform.module subprojects when they do not declare their own platform dependency explicitly.
  • Automatically package project dependencies on org.jetbrains.intellij.platform.module subprojects to lib/modules; explicit pluginModule(implementation(project(...))) is no longer required in the common case.
  • Deprecate property targetOutputDir of GenerateLexerTask.
  • Deprecate properties pathToParser and pathToPsiRoot of GenerateParserTask.
  • Purge stale files GenerateLexerTask and GenerateParserTask by default (as soon as you stop using the deprecated properties).
  • Deprecate targetFile(String) and targetFile(Provider) of GenerateLexerTask.
  • Deprecate parserFile() and psiDir() of GenerateParserTask.
  • Update minimal IntelliJ platform version to 2023.3 and build number to 233

Fixed

  • Fix NoClassDefFoundError: org.jetbrains.kotlin.gradle.tasks.KotlinCompile when org.jetbrains.kotlin.plugin.compose is applied together with module plugin.
  • Update module descriptor parsing to support additional dependency attributes, adjust tests accordingly, and configure XML decoding to ignore unknown child elements.

2.13.1

14 Mar 07:08
2d3337c

Choose a tag to compare

Fixed

  • Hotfix for Grammar-Kit support on Windows

2.13.0

12 Mar 20:00
c942353

Choose a tag to compare

Added

  • Mark the intellijPlatformDistribution outgoing artifact as builtBy with jarSearchableOptionsTaskProvider and prepareSandboxTaskProvider
  • Set rider.tests.plugin.home.path system property to root project directory
  • Add cleanSandbox task to remove sandbox data generated for the current project

Fixed

  • Include project.name in sandbox path configuration.
  • Refactor code to optimize resource handling, improve regex reusability, and enhance readability across multiple modules.
  • Replace createJFlex with createGrammarKit in addGrammarKitDependency dependency helper
  • Update recommended helper to use addIntelliJPluginVerifierIdes to always resolve IDE installers.

2.12.0

06 Mar 20:08
3fa4528

Choose a tag to compare

Added

  • Add org.jetbrains.intellij.platform.grammarkit plugin with generateLexer/generateParser tasks.
  • Add intellijPlatform.grammarKit(...)/intellijPlatform.jflex(...) dependency helpers for Grammar Kit and JFlex tooling.
  • Add printBundledModules task to print bundled modules available within the currently targeted IntelliJ Platform.
  • Expand TestFrameworkType with CLion test framework.

Changed

  • Move sandbox directory from build/idea-sandbox to .intellijPlatform/sandbox; it's path is accessible for reading and adjusting with intellijPlatform.sandboxContainer
  • Update minimal supported Gradle version to 9.0.0
  • Update PlatformKotlinVersions with Kotlin 2.3.10 for version 261

Fixed

  • Refactor the Android Studio dependency resolution to handle the new archive name convention. #2087
  • Avoid full Ivy module deserialization in LocalIvyArtifactPathComponentMetadataRule and parse only publication artifacts to prevent recursive lookup failures on bundled plugin descriptors.
  • Accept namespace and visibility attributes when parsing module-descriptor.xml files in ModuleDescriptorsValueSource.
  • Fixed credentials handling for custom plugin repositories.
  • Request io.smallrye.common:smallrye-common-cpu undertow's transitive dependency in at least 2.10.0 version as it causes configuration cache issue by calling /usr/sbin/sysctl -n hw.cachelinesize when defining custom plugin repositories.
  • Android Studio dependency resolution: improve version handling, prioritize local dependencies, and enhance test coverage

Removed

  • Remove org.jetbrains.intellij.platform.migration plugin and migration-only compatibility helpers: IntelliJExtension, DownloadRobotServerPluginTask, RunIdeForUiTestsTask
  • Remove deprecated dependency helper overloads that accepted useInstaller/productMode; use create(..., configure) with a configuration lambda instead.
  • Remove deprecated compatibility aliases and helpers: pluginVerification.ides.ide(...)/ides(...), intellijPlatform.cachePath, verifyPlugin/VerifyPlugin, useCustomCache, instrumentationTools(), and discontinued product helpers aqua(...)/writerside(...).

2.11.0

26 Jan 13:46
759b213

Choose a tag to compare

Added

  • Add --compose-hot-reload argument for RunIdeTask task that enables Compose Hot Reload agent.
  • Add new provider-based API create methods for Plugin Verifier used IDEs configuration, a fallback .orRecommended() helper, and update integration tests. #2077

Fixed

  • Fix the execution of JavaExec based tasks when the class path gets shortened.
  • Include IU and PY releases when resolving Plugin Verifier compatible IDEs while requesting IC or PC for versions 2025.3 (253) and later.
  • Fix ProductReleasesValueSource to correctly handle and preserve 4-component version numbers (e.g., 2025.3.1.1) when resolving IDE releases.

2.10.5

25 Nov 15:45
00e7bdd

Choose a tag to compare

Added

  • Add org.jetbrains.intellij.deps.kotlinx as a kotlinx.coroutines shadowed dependency group eligible for exclusion.
  • Expand TestFrameworkType with additional frameworks including Debugger, ExternalSystem, PolySymbols, Qodana, UAST, VCS, and WebSymbols.
  • Introduce org.jetbrains.intellij.platform.intellijPlatformIdesCacheEnabled Gradle property to control IntelliJ Platform IDEs caching globally via intellijPlatform.caching.ides.enabled convention.

Changed

  • Replace exception with a warning for unknown input paths in CollectorTransformer.

Fixed

  • Fix Path.deepResolve to correctly resolve singleOrNull entries.
  • Fix JetBrains Runtime architecture detection for Linux ARM64 systems #2054

2.10.4

02 Nov 16:37
e70d705

Choose a tag to compare

Added

  • Add bundledPlugin(id: String) helper to IntelliJPlatformPluginsExtension

Fixed

  • Use withRandomSuffix for intellijPlatformConfigurationName in local dependency configurations defined for Plugin Verifier

2.10.3

31 Oct 07:59
4de9a3c

Choose a tag to compare

Added

  • Add --list-ides CLI option to verifyPlugin task to list IDEs that will be used for verification without performing actual verification.

Fixed

  • Security update