mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
45 lines
1.2 KiB
Python
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 |