mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[RDCT] PY-84272: Create a common python module that is loaded everywhere where PyCharm plugin is
GitOrigin-RevId: 277aedbb97bab76b56466b2d5491d321d3b9110c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4bb9385403
commit
28c204924e
@@ -1314,6 +1314,7 @@ python/IntelliLang-python
|
||||
python/aliasProvider
|
||||
python/build
|
||||
python/build/build-debug-binaries
|
||||
python/common
|
||||
python/huggingFace
|
||||
python/ide/customization.shared
|
||||
python/ide/impl
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
### auto-generated section `build intellij.python.common` start
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
|
||||
|
||||
resourcegroup(
|
||||
name = "common_resources",
|
||||
srcs = glob(["resources/**/*"]),
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "common",
|
||||
module_name = "intellij.python.common",
|
||||
visibility = ["//visibility:public"],
|
||||
srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
|
||||
resources = [":common_resources"],
|
||||
deps = [
|
||||
"@lib//:kotlin-stdlib",
|
||||
"//platform/core-api:core",
|
||||
"//platform/util",
|
||||
]
|
||||
)
|
||||
### auto-generated section `build intellij.python.common` end
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<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.python.common" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="kotlin-stdlib" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -0,0 +1,2 @@
|
||||
<idea-plugin>
|
||||
</idea-plugin>
|
||||
Reference in New Issue
Block a user