intellij-platform-gradle-plugin icon indicating copy to clipboard operation
intellij-platform-gradle-plugin copied to clipboard

253: `org.intellij.intelliLang` is reported as bundled module, but it's unavailable

Open jansorg opened this issue 3 months ago • 3 comments

What happened?

In my plugin I have this:

dependencies {
  intellijPlatform {
    bundledPlugin("org.intellij.intelliLang")
  }
}

With 2025.3 EAP1, 2.9.0 warns about this:

Could not determine the dependencies of task ':plugin:compileJava'.
> Could not resolve all dependencies for configuration ':plugin:compileClasspath'.
   > The 'org.intellij.intelliLang' entry refers to a bundled plugin, but it is actually a bundled module. Use bundledModule("org.intellij.intelliLang") instead of bundledPlugin("org.intellij.intelliLang").

But after changing to bundledModule, it also rejects it:

dependencies {
  intellijPlatform {
    bundledModule("org.intellij.intelliLang")
  }
}

prints this:

* What went wrong:
Could not determine the dependencies of task ':plugin:compileJava'.
> Could not resolve all dependencies for configuration ':plugin:compileClasspath'.
   > Specified bundledModule 'org.intellij.intelliLang' doesn't exist.

Steps to reproduce

Setup as above

Gradle IntelliJ Plugin version

2.9.0

Gradle version

8.14.2

Operating System

Linux

jansorg avatar Sep 16 '25 13:09 jansorg

Using bundledModule("intellij.platform.langInjection") appears to work, though. Either the search for modules by name is incorrect or the message about the bundled module to use is incorrect.

jansorg avatar Sep 16 '25 14:09 jansorg

Also seeing this -- 253.x backwards compatibility seems a bit complicated --

  1. Renaming if IC/IU.. https://github.com/JetBrains/intellij-platform-gradle-plugin/issues/2028
  2. This issue.

joshuataylor avatar Sep 27 '25 18:09 joshuataylor

Just stumbled across this too, would be good if the error message could be improved :)

Earthcomputer avatar Oct 20 '25 14:10 Earthcomputer