[idea] refactoring: convert intellij.idea.customization.base to a product module and register its service inside it

This is needed to reuse its functionality inside the frontend variant of IntelliJ IDEA (RDCT-1034).

GitOrigin-RevId: b06c5d1b27a928c5682fbac731d192fae494d57f
This commit is contained in:
Nikolay Chashnikov
2024-02-26 14:11:51 +01:00
committed by intellij-monorepo-bot
parent f91ae1ad6d
commit 64ce0ca93e
4 changed files with 9 additions and 4 deletions

View File

@@ -52,7 +52,6 @@ open class IdeaCommunityProperties(private val communityHomeDir: Path) : BaseIde
productLayout.productImplementationModules = listOf(
"intellij.platform.main",
"intellij.idea.customization.base",
"intellij.idea.community.customization",
)
productLayout.bundledPluginModules = IDEA_BUNDLED_PLUGINS

View File

@@ -17,12 +17,10 @@
<module name="intellij.ide.startup.importSettings"/>
<module name="intellij.kotlin.onboarding-promoter"/>
<module name="intellij.platform.experiment"/>
<module name="intellij.idea.customization.base"/>
</content>
<extensions defaultExtensionNs="com.intellij">
<applicationService serviceInterface="com.intellij.platform.ide.customization.ExternalProductResourceUrls"
serviceImplementation="com.intellij.idea.customization.base.IntelliJIdeaExternalResourceUrls"
overrides="true"/>
<applicationService serviceInterface="com.intellij.openapi.updateSettings.UpdateStrategyCustomization"
serviceImplementation="com.intellij.openapi.updateSettings.base.ShowWhatIsNewPageAfterUpdateCustomization"
overrides="true"/>

View File

@@ -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" packagePrefix="com.intellij.idea.customization.base" />
</content>
<orderEntry type="inheritedJdk" />

View File

@@ -0,0 +1,7 @@
<idea-plugin package="com.intellij.idea.customization.base">
<extensions defaultExtensionNs="com.intellij">
<applicationService serviceInterface="com.intellij.platform.ide.customization.ExternalProductResourceUrls"
serviceImplementation="com.intellij.idea.customization.base.IntelliJIdeaExternalResourceUrls"
overrides="true"/>
</extensions>
</idea-plugin>