Hi, folks!
Yesterday, I released a new IntelliJ Platform Gradle Plugin 2.12.0 release with a pretty long changelog. The most important items are:
Add org.jetbrains.intellij.platform.grammarkit plugin with generateLexer/generateParser tasks.
When building a plugin that supports custom language plugins, you most likely rely on the Gramar Kit library for generating parser and lexer files. To make this process easier, we introduced the Gradle Grammar Kit Plugin.
Recently, when fixing the support for IntelliJ Platform 2026.1, I realized we need features and libraries present in the IntelliJ Platform Gradle Plugin. After copying some of the code between projects, I decided to merge those two into a single code base, which resulted in the Grammar Kit support being a part of the IntelliJ Platform Gradle Plugin.
From now on, you can apply in your gradle.build.kts:
plugins {
id("org.jetbrains.intellij.platform") version "2.12.0"
id("org.jetbrains.intellij.platform.grammarkit") version "2.12.0"
}
This will make the original generateLexer and generateParser tasks available for you, so you can (and should) drop the org.jetbrains.grammarkit plugin from your setup.
If your setup was using only the Grammar Kit features, the org.jetbrains.intellij.platform.grammarkit plugin can still be applied all alone.
The original Gradle Grammar Kit Plugin will be sunset in the near future.
Move sandbox directory from build/idea-sandbox to .intellijPlatform/sandbox; it’s path is accessible for reading and adjusting with intellijPlatform.sandboxContainer
Since this release, the sandbox directory is moved by default to a new location. This is the directory where all IDE settings and logs were stored when testing or running a fuest instance of the IDE with the runIde task.
Before, we used the build/idea-sandbox/ for it, which was removed when rebuilding the project, preventing you from persisting the setup between builds. That was an issue i.e. when you entered any license key in the IDE. It was already possible to change it in the Gradle setup, but it wasn’t obvious enough, so we decided to swith to .intellijPlatform/sandbox/ where settings will persist.
In order to revert this location back to the old place, use:
intellijPlatform {
sandboxContainer = layout.buildDirectory.dir("idea-sandbox")
}
You can also access the current location with intellijPlatform.sandboxContainer property for any custom scripting purposes you have.
Android Studio dependency resolution: improve version handling, prioritize local dependencies, and enhance test coverage
Google, starting from 2025.3.1.6/Panda RC1, changed the naming convention of Android Studio artifacts from https://edgedl.me.gvt1.com/android/studio/install/2025.2.3.9/android-studio-2025.2.3.9-mac_arm.dmg to https://edgedl.me.gvt1.com/android/studio/install/2025.3.1.6/android-studio-panda1-rc1-mac_arm.dmg, which prevented Gradle from resolving them.
Update minimal supported Gradle version to 9.0.0
The IntelliJ Platform Gradle Plugin started using the latest Gradle 9.4.0 for building. Unfortunately, it deprecated Kotlin 1.8, which was available in Gradle 8.* — this forces us to stick to what is described in their Compatibility matrix and compile plugin to Kotlin 2.2, meaning the lowest supported Gradle version is now 9.0.0.
The full changelog is avaialable here. If you have any questions related to the above highligh or any other changes, feel free to ask!
