Files
openide/python/python-pyproject/BUILD.bazel
Vladimir Krivosheev e3d5d85a47 update bazel files
GitOrigin-RevId: 4a1f45312f93e76248b05a7c8cc27a2b2ac84036
2025-04-30 14:07:08 +00:00

54 lines
1.5 KiB
Python

### auto-generated section `build intellij.python.pyproject` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
jvm_resources(
name = "pyproject_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "pyproject",
module_name = "intellij.python.pyproject",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
deps = [
"@lib//:kotlin-stdlib",
"//python/openapi:community",
"//python/python-psi-impl:psi-impl",
"//platform/core-api:core",
"//python/python-sdk:sdk",
"//platform/util",
"//plugins/toml/core",
"@lib//:tuweni-toml",
],
runtime_deps = [":pyproject_resources"]
)
jvm_library(
name = "pyproject_test_lib",
visibility = ["//visibility:public"],
srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True),
associates = [":pyproject"],
deps = [
"@lib//:kotlin-stdlib",
"//python/openapi:community",
"//python/openapi:community_test_lib",
"//python/python-psi-impl:psi-impl",
"//platform/core-api:core",
"//python/python-sdk:sdk",
"//python/python-sdk:sdk_test_lib",
"//platform/util",
"//plugins/toml/core",
"@lib//:tuweni-toml",
"@lib//:junit5",
"@lib//:junit5Params",
],
runtime_deps = [":pyproject_resources"]
)
jvm_test(
name = "pyproject_test",
runtime_deps = [":pyproject_test_lib"]
)
### auto-generated section `build intellij.python.pyproject` end