mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-CR-53681 remove code duplication
GitOrigin-RevId: 1ac6bc9ff5f5569698d988bfaf56746103bddf4a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4687042d54
commit
3860237560
@@ -112,6 +112,13 @@ abstract class BaseIdeaProperties extends ProductProperties {
|
||||
|
||||
productLayout.platformLayoutCustomizer = { PlatformLayout layout ->
|
||||
layout.customize {
|
||||
for (String name : JAVA_IDE_API_MODULES) {
|
||||
withModule(name)
|
||||
}
|
||||
for (String name : JAVA_IDE_IMPLEMENTATION_MODULES) {
|
||||
withModule(name)
|
||||
}
|
||||
|
||||
//todo currently intellij.platform.testFramework included into idea.jar depends on this jar so it cannot be moved to java plugin
|
||||
withModule("intellij.java.rt", "idea_rt.jar", null)
|
||||
|
||||
|
||||
@@ -36,12 +36,6 @@ class IdeaCommunityProperties extends BaseIdeaProperties {
|
||||
productLayout.platformLayoutCustomizer = { PlatformLayout layout ->
|
||||
commonCustomizer.accept(layout)
|
||||
layout.customize {
|
||||
for (String name : JAVA_IDE_API_MODULES) {
|
||||
withModule(name)
|
||||
}
|
||||
for (String name : JAVA_IDE_IMPLEMENTATION_MODULES) {
|
||||
withModule(name)
|
||||
}
|
||||
withModule("intellij.platform.duplicates.analysis")
|
||||
withModule("intellij.platform.structuralSearch")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user