[vcs] Convert vcs-api and vcs-api-core to V2 modules

GitOrigin-RevId: a6413f890725082c3f081fda8eb5dc378a6716a1
This commit is contained in:
Ilia.Shulgin
2025-07-14 10:24:10 +00:00
committed by intellij-monorepo-bot
parent c13264e181
commit 6a0bf28039
10 changed files with 30 additions and 4 deletions
@@ -7,6 +7,8 @@
<module name="intellij.platform.vcs.log.impl"/>
<module name="intellij.platform.vcs.dvcs.impl"/>
<module name="intellij.platform.vcs.impl.backend"/>
<module name="intellij.platform.vcs.core" loading="embedded"/>
<module name="intellij.platform.vcs" loading="embedded"/>
</content>
<xi:include href="/META-INF/vcs-modules-shared.xml"/>
@@ -1,6 +1,7 @@
<idea-plugin>
<dependencies>
<module name="intellij.platform.backend"/>
<module name="intellij.platform.vcs"/>
</dependencies>
<extensionPoints>
<extensionPoint name="tasks.contextProvider" interface="com.intellij.tasks.context.WorkingContextProvider" dynamic="true"/>
+11 -2
View File
@@ -1,5 +1,11 @@
### auto-generated section `build intellij.platform.vcs` start
load("@rules_jvm//:jvm.bzl", "jvm_library")
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
jvm_resources(
name = "vcs_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "vcs",
@@ -24,6 +30,9 @@ jvm_library(
"@lib//:caffeine",
],
exports = ["//platform/vcs-api/vcs-api-core:vcs-core"],
runtime_deps = ["//platform/backend"]
runtime_deps = [
":vcs_resources",
"//platform/backend",
]
)
### auto-generated section `build intellij.platform.vcs` end
@@ -3,6 +3,7 @@
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
@@ -0,0 +1,5 @@
<idea-plugin>
<dependencies>
<module name="intellij.platform.vcs.core"/>
</dependencies>
</idea-plugin>
@@ -0,0 +1,2 @@
<idea-plugin>
</idea-plugin>
@@ -6,6 +6,7 @@
<module name="intellij.platform.backend"/>
<module name="intellij.libraries.microba"/>
<module name="intellij.platform.vcs.impl.shared"/>
<module name="intellij.platform.vcs"/>
</dependencies>
<xi:include href="/META-INF/VcsExtensionPoints.xml"/>
@@ -3,6 +3,7 @@
<dependencies>
<module name="intellij.platform.coverage.agent"/>
<module name="intellij.platform.vcs"/>
</dependencies>
<extensionPoints>
@@ -19,8 +19,11 @@
]]></description>
<vendor>JetBrains</vendor>
<!-- otherwise plugin will be not loaded in tests -->
<depends>com.intellij.modules.xml</depends>
<dependencies>
<!-- otherwise plugin will be not loaded in tests -->
<plugin id="com.intellij.modules.xml"/>
<module name="intellij.platform.vcs"/>
</dependencies>
<extensions defaultExtensionNs="com.intellij">
<ApplicationLoadListener implementation="org.jetbrains.settingsRepository.IcsApplicationLoadListener"/>
+1
View File
@@ -10,6 +10,7 @@
<module name="intellij.libraries.xerces"/>
<module name="intellij.xml.dom"/>
<module name="intellij.xml.ui.common"/>
<module name="intellij.platform.vcs"/>
</dependencies>
<extensionPoints>