mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Ability to customize Python Community plugin layout
This commit is contained in:
+3
-1
@@ -42,7 +42,7 @@ abstract class PythonPluginPropertiesBase extends PyCharmPropertiesBase {
|
||||
super()
|
||||
}
|
||||
|
||||
PluginLayout pythonCommunityPluginLayout(String pluginVersion) {
|
||||
PluginLayout pythonCommunityPluginLayout(String pluginVersion, @DelegatesTo(PluginLayout.PluginLayoutSpec) Closure body = {}) {
|
||||
def pluginXmlModules = [
|
||||
"IntelliLang-python",
|
||||
"ipnb",
|
||||
@@ -53,6 +53,8 @@ abstract class PythonPluginPropertiesBase extends PyCharmPropertiesBase {
|
||||
excludeFromModule(module, "META-INF/plugin.xml")
|
||||
}
|
||||
excludeFromModule(pythonCommunityPluginModule, "META-INF/python-plugin-dependencies.xml")
|
||||
body.delegate = delegate
|
||||
body()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user