jbecke4
(Joachim Beckers)
May 6, 2025, 6:20pm
1
My (company internal) plugin needs a.o. intellij-community/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/CommitChangeListDialog.java at master · JetBrains/intellij-community · GitHub , which I realize is an internal class, not a api.
We currently target 2024.2.1, which works fine.
If we target 2025.1, it doesn’t.
How can I depend on vcs-impl?
Hello @jbecke4 . There should be no limitations as for using this (or other classes not explicitly marked as internal) from this module.
Could you please share your plugin.xml dependencies and clarify what is “doesn’t work” in your case?
jbecke4
(Joachim Beckers)
May 9, 2025, 11:50am
4
Sure, but plugin.xml is not the issue, it’s the gradle build that doesn’t work. It doesn’t find the 2025.1 vcs-impl classes at compile time when gradle.properties has platformVersion=2025.1
I tried adding (semi-random) plugins to platformBundledPlugins=com.intellij.database
but no success.
Besides, gradle printBundledPlugins
doesn’t show anything vcs-impl related.
<depends>com.intellij.modules.platform</depends>
<depends>com.intellij.modules.lang</depends>
<depends>com.intellij.modules.vcs</depends>
<depends optional="true" config-file="com.intellij.modules.sql.plugin.xml">com.intellij.modules.sql</depends>
<depends optional="true" config-file="com.intellij.modules.database.plugin.xml">com.intellij.modules.database</depends>
<depends optional="true" config-file="com.intellij.database.plugin.xml">com.intellij.database</depends>
jansorg
(Joachim Ansorg)
May 9, 2025, 12:04pm
5
Perhaps bundledModule(...)
similar to Using KTOR client plugins for plugin development - #4 by jansorg ?
Newer SDKs also provide modules, not just plugins.
Exactly. Adding bundledModule("intellij.platform.vcs.impl")
should fix the build.
jbecke4
(Joachim Beckers)
May 9, 2025, 6:03pm
7
I must have missed that memo
I usually just follow what the template says intellij-platform-plugin-template/gradle.properties at main · JetBrains/intellij-platform-plugin-template · GitHub and it’s not there (and currently no develop branch either)
How can one find out what modules are bundled? There’s no gradle printBundledModules