diff --git a/.idea/modules.xml b/.idea/modules.xml
index f0accafe87f9..3449884b9b59 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -1199,7 +1199,6 @@
-
diff --git a/BUILD.bazel b/BUILD.bazel
index 5a8feb535ea0..f2510498f610 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -228,7 +228,6 @@ jvm_library(
"//platform/new-users-onboarding",
"//plugins/kotlin/onboarding-promoter",
"//platform/execution-process-elevation",
- "//plugins/gitlab/gitlab-community:vcs-gitlab-community",
"//plugins/gitlab/gitlab-yaml:vcs-gitlab-yaml",
"//plugins/yaml",
"//platform/compose",
@@ -504,7 +503,6 @@ jvm_library(
"//platform/new-users-onboarding",
"//plugins/kotlin/onboarding-promoter",
"//platform/execution-process-elevation",
- "//plugins/gitlab/gitlab-community:vcs-gitlab-community",
"//plugins/gitlab/gitlab-yaml:vcs-gitlab-yaml",
"//plugins/yaml",
"//platform/compose",
diff --git a/build/bazel-generated-file-list.txt b/build/bazel-generated-file-list.txt
index 6f7da1d58ab4..d90fc4cd57d1 100644
--- a/build/bazel-generated-file-list.txt
+++ b/build/bazel-generated-file-list.txt
@@ -807,7 +807,6 @@ plugins/github/github-git
plugins/github/github-json
plugins/github/github-tracker
plugins/github/ultimate-promo
-plugins/gitlab/gitlab-community
plugins/gitlab/gitlab-core
plugins/gitlab/gitlab-git
plugins/gitlab/gitlab-yaml
diff --git a/build/src/org/jetbrains/intellij/build/IdeaCommunityProperties.kt b/build/src/org/jetbrains/intellij/build/IdeaCommunityProperties.kt
index 7db9cd048046..fa89c218510c 100644
--- a/build/src/org/jetbrains/intellij/build/IdeaCommunityProperties.kt
+++ b/build/src/org/jetbrains/intellij/build/IdeaCommunityProperties.kt
@@ -49,8 +49,7 @@ open class IdeaCommunityProperties(private val communityHomeDir: Path) : BaseIde
"intellij.idea.community.customization",
)
productLayout.bundledPluginModules = IDEA_BUNDLED_PLUGINS + sequenceOf(
- "intellij.javaFX.community",
- "intellij.vcs.gitlab.community"
+ "intellij.javaFX.community"
)
productLayout.prepareCustomPluginRepositoryForPublishedPlugins = false
diff --git a/intellij.idea.community.main.iml b/intellij.idea.community.main.iml
index 48e6b53573f8..f0952447b89e 100644
--- a/intellij.idea.community.main.iml
+++ b/intellij.idea.community.main.iml
@@ -218,7 +218,6 @@
-
diff --git a/platform/build-scripts/src/org/jetbrains/intellij/build/BaseIdeaProperties.kt b/platform/build-scripts/src/org/jetbrains/intellij/build/BaseIdeaProperties.kt
index d229dcf5a88f..4f51ff6f08d2 100644
--- a/platform/build-scripts/src/org/jetbrains/intellij/build/BaseIdeaProperties.kt
+++ b/platform/build-scripts/src/org/jetbrains/intellij/build/BaseIdeaProperties.kt
@@ -38,6 +38,7 @@ val IDEA_BUNDLED_PLUGINS: PersistentList = DEFAULT_BUNDLED_PLUGINS + seq
"intellij.vcs.svn",
"intellij.vcs.hg",
"intellij.vcs.github",
+ "intellij.vcs.gitlab",
"intellij.groovy",
"intellij.junit",
"intellij.testng",
diff --git a/platform/build-scripts/src/org/jetbrains/intellij/build/CommunityRepositoryModules.kt b/platform/build-scripts/src/org/jetbrains/intellij/build/CommunityRepositoryModules.kt
index 783d6bfadb90..7428e1433ef1 100644
--- a/platform/build-scripts/src/org/jetbrains/intellij/build/CommunityRepositoryModules.kt
+++ b/platform/build-scripts/src/org/jetbrains/intellij/build/CommunityRepositoryModules.kt
@@ -206,7 +206,7 @@ object CommunityRepositoryModules {
pluginAuto(listOf("intellij.performanceTesting")),
pluginAuto(listOf("intellij.performanceTesting.ui")),
pluginAuto(listOf("intellij.vcs.github")),
- gitlabPlugin("intellij.vcs.gitlab.community", productCode = "IC"),
+ pluginAuto(listOf("intellij.vcs.gitlab")),
pluginAuto(listOf("intellij.compilation.charts")) { spec ->
spec.withModule("intellij.compilation.charts.jps")
},
@@ -629,17 +629,6 @@ object CommunityRepositoryModules {
}
}
- // inspired by CommunityRepositoryModules.githubPlugin
- fun gitlabPlugin(mainModuleName: String, productCode: String): PluginLayout {
- return plugin(mainModuleName) { spec ->
- spec.directoryName = "vcs-gitlab-$productCode"
- spec.mainJarName = "vcs-gitlab.jar"
- spec.withCustomVersion { _, version, _ ->
- PluginVersionEvaluatorResult(pluginVersion = "$version-$productCode")
- }
- }
- }
-
fun groovyPlugin(additionalModules: List = emptyList(), addition: ((PluginLayout.PluginLayoutSpec) -> Unit)? = null): PluginLayout {
return plugin("intellij.groovy") { spec ->
spec.directoryName = "Groovy"
diff --git a/plugins/gitlab/gitlab-community/BUILD.bazel b/plugins/gitlab/gitlab-community/BUILD.bazel
deleted file mode 100644
index d6935de704ae..000000000000
--- a/plugins/gitlab/gitlab-community/BUILD.bazel
+++ /dev/null
@@ -1,17 +0,0 @@
-### auto-generated section `build intellij.vcs.gitlab.community` start
-load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
-
-jvm_resources(
- name = "vcs-gitlab-community_resources",
- files = glob(["resources/**/*"]),
- strip_prefix = "resources"
-)
-
-jvm_library(
- name = "vcs-gitlab-community",
- module_name = "intellij.vcs.gitlab.community",
- visibility = ["//visibility:public"],
- srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
- runtime_deps = [":vcs-gitlab-community_resources"]
-)
-### auto-generated section `build intellij.vcs.gitlab.community` end
\ No newline at end of file
diff --git a/plugins/gitlab/gitlab-community/intellij.vcs.gitlab.community.iml b/plugins/gitlab/gitlab-community/intellij.vcs.gitlab.community.iml
deleted file mode 100644
index 54b8c267c1c9..000000000000
--- a/plugins/gitlab/gitlab-community/intellij.vcs.gitlab.community.iml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/plugins/gitlab/gitlab-community/src/org/jetbrains/plugins/gitlab/community/placeholder.txt b/plugins/gitlab/gitlab-community/src/org/jetbrains/plugins/gitlab/community/placeholder.txt
deleted file mode 100644
index 3cc04118673c..000000000000
--- a/plugins/gitlab/gitlab-community/src/org/jetbrains/plugins/gitlab/community/placeholder.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-This file is added as a workaround to have fake root package in intellij.vsc.gitlab.community module.
-It can be removed if any other files are added inside the current package.
\ No newline at end of file
diff --git a/plugins/gitlab/gitlab-core/plugin-content.yaml b/plugins/gitlab/gitlab-core/plugin-content.yaml
new file mode 100644
index 000000000000..753a7fcba07c
--- /dev/null
+++ b/plugins/gitlab/gitlab-core/plugin-content.yaml
@@ -0,0 +1,15 @@
+- name: lib/modules/intellij.vcs.gitlab.git.jar
+ contentModules:
+ - name: intellij.vcs.gitlab.git
+- name: lib/modules/intellij.vcs.gitlab.ultimate.ci.sh.jar
+ contentModules:
+ - name: intellij.vcs.gitlab.ultimate.ci.sh
+- name: lib/modules/intellij.vcs.gitlab.ultimate.features.jar
+ contentModules:
+ - name: intellij.vcs.gitlab.ultimate.features
+- name: lib/modules/intellij.vcs.gitlab.yaml.jar
+ contentModules:
+ - name: intellij.vcs.gitlab.yaml
+- name: lib/vcs-gitlab.jar
+ contentModules:
+ - name: intellij.vcs.gitlab
\ No newline at end of file
diff --git a/plugins/gitlab/gitlab-community/resources/META-INF/plugin.xml b/plugins/gitlab/gitlab-core/resources/META-INF/plugin.xml
similarity index 91%
rename from plugins/gitlab/gitlab-community/resources/META-INF/plugin.xml
rename to plugins/gitlab/gitlab-core/resources/META-INF/plugin.xml
index 2120c85a144f..cf280ff39317 100644
--- a/plugins/gitlab/gitlab-community/resources/META-INF/plugin.xml
+++ b/plugins/gitlab/gitlab-core/resources/META-INF/plugin.xml
@@ -1,4 +1,4 @@
-
+
@@ -37,12 +37,11 @@
]]>
- com.intellij.modules.ultimate
-
+
+
-
\ No newline at end of file
diff --git a/plugins/gitlab/gitlab-community/resources/META-INF/pluginIcon.svg b/plugins/gitlab/gitlab-core/resources/META-INF/pluginIcon.svg
similarity index 100%
rename from plugins/gitlab/gitlab-community/resources/META-INF/pluginIcon.svg
rename to plugins/gitlab/gitlab-core/resources/META-INF/pluginIcon.svg
diff --git a/python/build/src/org/jetbrains/intellij/build/pycharm/PyCharmCommunityProperties.kt b/python/build/src/org/jetbrains/intellij/build/pycharm/PyCharmCommunityProperties.kt
index f083e7eb96d6..2ee21e3820b1 100644
--- a/python/build/src/org/jetbrains/intellij/build/pycharm/PyCharmCommunityProperties.kt
+++ b/python/build/src/org/jetbrains/intellij/build/pycharm/PyCharmCommunityProperties.kt
@@ -34,7 +34,7 @@ open class PyCharmCommunityProperties(protected val communityHome: Path) : PyCha
"intellij.pycharm.community.customization", // Convert Intellij to PyCharm
"intellij.pycharm.community.customization.shared",
"intellij.vcs.github",
- "intellij.vcs.gitlab.community") +
+ "intellij.vcs.gitlab") +
Files.readAllLines(communityHome.resolve("python/build/plugin-list.txt"))
productLayout.skipUnresolvedContentModules = true