Files
openide/python/python-sdk-ui/BUILD.bazel
Vitaly Legchilkin 84934e9e9e [python] (IJPL-205889) (BAZEL-2462) don't call getOrCreateAdditionalData for non-python sdks
+ add requirePythonSdk() verification for the Sdk extension functions, these methods are not designed to be called for non-python sdks and now will throw IllegalArgumentException.

also corrects dependency tree:
+ move PythonSdkUtil to the python.sdk module, remove dependency on psi.impl
+ create PySkeletonUtil for skeleton utils and leave it in the psi.impl

[python] (IJPL-205889) (BAZEL-2462) don't call getOrCreateAdditionalData for non-python sdks

+ add requirePythonSdk() verification for the Sdk extension functions, these methods are not designed to be called for non-python sdks and now will throw IllegalArgumentException

also corrects dependency tree:
+ move PythonSdkUtil to the python.sdk module, remove dependency on psi.impl
+ create PySkeletonUtil for skeleton utils and leave it in the psi.impl

GitOrigin-RevId: 20d958c5e15cc4e05545b2e61b126b5e015696ed
2025-10-10 18:17:28 +00:00

33 lines
1.1 KiB
Python

### auto-generated section `build intellij.python.sdk.ui` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
resourcegroup(
name = "sdk-ui_resources",
srcs = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "sdk-ui",
module_name = "intellij.python.sdk.ui",
visibility = ["//visibility:public"],
srcs = glob(["gen/**/*.kt", "gen/**/*.java", "src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
resources = [":sdk-ui_resources"],
deps = [
"@lib//:kotlin-stdlib",
"//platform/util",
"//platform/core-api:core",
"//platform/core-ui",
"//platform/projectModel-api:projectModel",
"//platform/platform-api:ide",
"//platform/platform-impl:ide-impl",
"//platform/editor-ui-api:editor-ui",
"//python/openapi:community",
"//python/python-sdk:sdk",
"//python/python-syntax-core:syntax-core",
"//libraries/caffeine",
"@lib//:io-github-z4kn4fein-semver-jvm",
"//python/python-exec-service:community-execService",
]
)
### auto-generated section `build intellij.python.sdk.ui` end