I’ve recently encountered multiple unresolved reference errors after updating my plugin to target platform version 2025.1.1, including:
Unresolved reference: IdeaTextPatchBuilderUnresolved reference: UnifiedDiffWriterUnresolved reference: ApplyPatchStatusUnresolved reference: PatchReaderUnresolved reference: applyforcom.intellij.openapi.diff.impl.patch.apply.GenericPatchApplier- …and others
I’ve confirmed that all of these classes still exist in the latest IntelliJ Community codebase.
The required dependencies are declared in both plugin.xml and build.gradle.kts.
plugin.xml:
<dependencies>
<plugin id="com.intellij.modules.platform"/>
<plugin id="com.jetbrains.php"/>
...
<plugin id="com.intellij.modules.vcs"/>
...
<plugin id="JavaScript"/>
<module name="intellij.platform.lvcs.impl"/>
</dependencies>
build.gradle.kts:
dependencies {
intellijPlatform {
create(IntelliJPlatformType.PhpStorm, properties("platformVersion"))
bundledModule("intellij.platform.lvcs.impl") // HERE
plugin("com.jetbrains.hackathon.indices.viewer", "1.29")
plugin("com.intellij.lang.jsgraphql", "251.23774.318")
bundledPlugins(properties("bundledPlugins").split(',').map { it.trim() }) // com.jetbrains.php, com.intellij.copyright, org.jetbrains.plugins.yaml, JavaScript, com.intellij.css, org.jetbrains.plugins.less, com.intellij.database, com.intellij.platform.images, com.intellij.modules.json, com.intellij.diagram
pluginVerifier()
testFramework(TestFrameworkType.Platform)
testFramework(TestFrameworkType.Plugin.Java)
}
implementation(libs.kotlinx.serialization.json)
testImplementation(embeddedKotlin("test"))
testImplementation(embeddedKotlin("test-junit"))
testImplementation("org.opentest4j:opentest4j:1.3.0")
}
Interestingly, an older version of the plugin still runs successfully on PhpStorm 2025.1.1, which suggests the issue is likely related to how dependencies are defined in the build.gradle.kts.
Has anyone faced similar issues or can suggest how to properly resolve these references in 2025.1.1? I’d really appreciate any help.