mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
54 lines
1.5 KiB
Python
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 |