mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-26 08:21:26 +07:00
64 lines
1.8 KiB
Python
64 lines
1.8 KiB
Python
### auto-generated section `build intellij.python.pyproject` start
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
|
|
|
|
resourcegroup(
|
|
name = "pyproject_resources",
|
|
srcs = glob(["resources/**/*"]),
|
|
strip_prefix = "resources"
|
|
)
|
|
|
|
resourcegroup(
|
|
name = "pyproject_test_resources",
|
|
srcs = glob(["testResources/**/*"]),
|
|
strip_prefix = "testResources"
|
|
)
|
|
|
|
jvm_library(
|
|
name = "pyproject",
|
|
module_name = "intellij.python.pyproject",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
|
|
resources = [":pyproject_resources"],
|
|
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-provided",
|
|
]
|
|
)
|
|
|
|
jvm_library(
|
|
name = "pyproject_test_lib",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["test/**/*.kt", "test/**/*.java", "test/**/*.form"], allow_empty = True),
|
|
resources = [":pyproject_test_resources"],
|
|
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-provided",
|
|
"@lib//:junit5",
|
|
"@lib//:junit5Params",
|
|
]
|
|
)
|
|
### auto-generated section `build intellij.python.pyproject` end
|
|
|
|
### auto-generated section `test intellij.python.pyproject` start
|
|
load("@community//build:tests-options.bzl", "jps_test")
|
|
|
|
jps_test(
|
|
name = "pyproject_test",
|
|
runtime_deps = [":pyproject_test_lib"]
|
|
)
|
|
### auto-generated section `test intellij.python.pyproject` end |