I have a plugin developed for internal use, and I’m upgrading it to support newer versions of Idea.
Following the migration guides I did all the necessary adaptations, and the plugin build, and Idea runs, but when I run the IDE I get a warning saying that it’s missing the bundled plugin to use the shared index.
I tried to configure the gradle build to include the bundled plugin intellij.indexing.shared
, but as I do this I get the error
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
Could not find bundled plugin with ID: 'intellij.indexing.shared'. See https://jb.gg/ij-plugin-dependencies.
I found the id from the market place https://plugins.jetbrains.com/plugin/14437-shared-project-indexes/ but I’m not sure if I’m missing something else.
I double checked the troubleshooting section: IntelliJ Platform Gradle Plugin – FAQ | IntelliJ Platform Plugin SDK but I didn’t find any actionable suggestion.
I’m configuring the dependencies with:
dependencies {
intellijPlatform {
create("IC", "2024.3.3")
bundledPlugins(["com.intellij.java", "intellij.indexing.shared"])
plugins(["org.intellij.scala:2024.3.23"])
}
implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1'
implementation 'org.glassfish.jersey.core:jersey-client:3.1.9'
implementation 'org.glassfish.jersey.inject:jersey-hk2:3.1.7'
implementation 'org.glassfish.jersey.media:jersey-media-json-jackson:3.1.6'
implementation 'com.google.code.findbugs:jsr305:2.0.1'
}