mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
42 lines
1.1 KiB
Python
42 lines
1.1 KiB
Python
### auto-generated section `build intellij.community.wintools` start
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
|
|
|
|
jvm_resources(
|
|
name = "wintools_resources",
|
|
files = glob(["resources/**/*"]),
|
|
strip_prefix = "resources"
|
|
)
|
|
|
|
jvm_library(
|
|
name = "wintools",
|
|
module_name = "intellij.community.wintools",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
|
|
deps = [
|
|
"@lib//:kotlin-stdlib",
|
|
"//platform/util",
|
|
"@lib//:jna",
|
|
],
|
|
runtime_deps = [":wintools_resources"]
|
|
)
|
|
|
|
jvm_library(
|
|
name = "wintools_test_lib",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["tests/**/*.kt", "tests/**/*.java"], allow_empty = True),
|
|
associates = [":wintools"],
|
|
deps = [
|
|
"@lib//:kotlin-stdlib",
|
|
"//platform/util",
|
|
"@lib//:jna",
|
|
"@lib//:junit5",
|
|
"@lib//:hamcrest",
|
|
],
|
|
runtime_deps = [":wintools_resources"]
|
|
)
|
|
|
|
jvm_test(
|
|
name = "wintools_test",
|
|
runtime_deps = [":wintools_test_lib"]
|
|
)
|
|
### auto-generated section `build intellij.community.wintools` end |