mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 12:31:26 +07:00
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
44 lines
1.4 KiB
Python
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 |