Files
openide/python/python-hatch/BUILD.bazel
Ilya.Kazakevich a1b92b2591 [python] PY-79486: (WIP) split pyproject.toml tools into backend/common.
Each tool (uv, poetry) now has `common` and `backend` part. `common` has icons because we need them both on the front and on the back.

We might need to create `front` module also if we wouldn't be able to use icons in compose.

GitOrigin-RevId: 560b5aa67e4e747a1653ad6e4f780301a3fae289
2025-11-24 16:35:26 +00:00

44 lines
1.4 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",
]
)
### auto-generated section `build intellij.python.hatch` end