Hey.
I am using a multimodule structure in my plugin, to include functionality of Intellij, PyCharm and Webstorm depending on the users platform.
My gradle structure is:
– common:
dependencies {
intellijPlatform {
intellijIdeaCommunity("{JB_VERSION}")
}
}
- python-services:
dependencies {
implementation( project(":common"))
intellijPlatform {
pycharmCommunity("{JB_VERSION}")
bundledPlugin("PythonCore")
}
}
- java-services:
dependencies {
implementation( project(":common"))
intellijPlatform {
intellijIdeaCommunity("{JB_VERSION}")
bundledPlugin("com.intellij.java")
}
}
- web-services:
dependencies {
implementation( project(":common"))
intellijPlatform {
webstorm("{JB_VERSION}")
bundledPlugin("JavaScript")
}
}
root-module:
dependencies {
implementation(project(":common"))
implementation(project(":java-services"))
implementation(project(":python-services"))
implementation(project(":web-services"))
intellijPlatform {
intellijIdeaCommunity("{JB_VERSION}")
}
}
Everything worked pretty good for versions JB_VERSION < 2024.3.2.2 .
from the versions 2024.3.2.2 and newer I get the build issue for platform specific modules. Example for python module:
org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':python-services:compileClasspath'
Caused by: org.gradle.api.GradleException: Could not resolve bundled plugin list.
Please ensure there is a single IntelliJ Platform dependency defined in your project and that the necessary repositories, where it can be located, are added.
Did I miss any changes of the platform? Or how it can be resolved?