mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
42 lines
1.1 KiB
Python
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 |