Files
openide/updater/BUILD.bazel
Vladimir Krivosheev 6f8ff07ccc simplify bazel labels (another step towards using simple names that reflect directory structure)
GitOrigin-RevId: 12bfb2d0fa315d87c7a4ade363d0f834cf324b71
2025-05-08 16:58:30 +00:00

42 lines
1.1 KiB
Python

### auto-generated section `build intellij.tools.updater` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
jvm_resources(
name = "updater_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "updater",
module_name = "intellij.tools.updater",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
kotlinc_opts = "@community//:k11",
deps = [
"@lib//:jetbrains-annotations",
"@lib//:jna",
],
runtime_deps = [":updater_resources"]
)
jvm_library(
name = "updater_test_lib",
visibility = ["//visibility:public"],
srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True),
kotlinc_opts = "@community//:k11",
associates = [":updater"],
deps = [
"@lib//:jetbrains-annotations",
"@lib//:jna",
"@lib//:junit5",
"@lib//:assert_j",
],
runtime_deps = [":updater_resources"]
)
jvm_test(
name = "updater_test",
runtime_deps = [":updater_test_lib"]
)
### auto-generated section `build intellij.tools.updater` end