Files
openide/updater/BUILD.bazel
Ilia Kirianovskii f43aa95086 [bazel] Update build files (IJI-3062)
GitOrigin-RevId: 98a67396a48bddc3d084cc93c50ae2f2017bfe8c
2025-09-29 00:11:15 +00:00

45 lines
1.2 KiB
Python

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