mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
This MR cherry picks changes done for PY-87723 and PY-87578 Merge-request: IJ-MR-193482 Merged-by: David Lysenko <david.lysenko@jetbrains.com> GitOrigin-RevId: c74229ed48ae8702667dda201613a2d0c3f25369
45 lines
1.5 KiB
Python
45 lines
1.5 KiB
Python
### auto-generated section `build intellij.python.hatch` start
|
|
load("//build:compiler-options.bzl", "create_kotlinc_options")
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
|
|
|
|
create_kotlinc_options(
|
|
name = "custom_hatch",
|
|
opt_in = ["kotlin.time.ExperimentalTime"]
|
|
)
|
|
|
|
resourcegroup(
|
|
name = "hatch_resources",
|
|
srcs = glob(["resources/**/*"]),
|
|
strip_prefix = "resources"
|
|
)
|
|
|
|
jvm_library(
|
|
name = "hatch",
|
|
module_name = "intellij.python.hatch",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["gen/**/*.kt", "gen/**/*.java", "src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
|
|
resources = [":hatch_resources"],
|
|
kotlinc_opts = ":custom_hatch",
|
|
deps = [
|
|
"@lib//:kotlin-stdlib",
|
|
"//platform/util",
|
|
"//platform/platform-util-io:ide-util-io",
|
|
"//platform/eel-provider",
|
|
"//platform/core-api:core",
|
|
"//platform/editor-ui-api:editor-ui",
|
|
"//platform/ide-core",
|
|
"//platform/projectModel-api:projectModel",
|
|
"//python/openapi:community",
|
|
"//python/python-exec-service:community-execService",
|
|
"//python/python-sdk:sdk",
|
|
"//python/python-pyproject:pyproject",
|
|
"//libraries/kotlinx/serialization/json",
|
|
"//libraries/kotlinx/serialization/core",
|
|
"@lib//:io-github-z4kn4fein-semver-jvm-provided",
|
|
"//python/python-sdk-ui:sdk-ui",
|
|
"//python/common",
|
|
"//python/python-exec-service/execService.python",
|
|
"//python/python-process-output/common",
|
|
]
|
|
)
|
|
### auto-generated section `build intellij.python.hatch` end |