mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
54 lines
1.7 KiB
Python
54 lines
1.7 KiB
Python
### auto-generated section `build intellij.java.structuralSearch` start
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
|
|
|
|
jvm_resources(
|
|
name = "structuralSearch_resources",
|
|
files = glob(["resources/**/*"]),
|
|
strip_prefix = "resources"
|
|
)
|
|
|
|
jvm_library(
|
|
name = "structuralSearch",
|
|
module_name = "intellij.java.structuralSearch",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
|
|
deps = [
|
|
"//java/java-indexing-api:indexing",
|
|
"//platform/analysis-api:analysis",
|
|
"//platform/core-api:core",
|
|
"//platform/structuralsearch:structuralSearch",
|
|
"//platform/lang-impl",
|
|
"//java/openapi:java",
|
|
"//java/java-impl:impl",
|
|
"//platform/duplicates-analysis",
|
|
],
|
|
runtime_deps = [":structuralSearch_resources"]
|
|
)
|
|
|
|
jvm_library(
|
|
name = "structuralSearch_test_lib",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True),
|
|
associates = [":structuralSearch"],
|
|
deps = [
|
|
"//java/java-indexing-api:indexing",
|
|
"//platform/analysis-api:analysis",
|
|
"//platform/core-api:core",
|
|
"//platform/editor-ui-api:editor-ui",
|
|
"//platform/structuralsearch:structuralSearch",
|
|
"//platform/lang-impl",
|
|
"//platform/testFramework",
|
|
"//platform/testFramework:testFramework_test_lib",
|
|
"//java/openapi:java",
|
|
"//java/java-impl:impl",
|
|
"//platform/duplicates-analysis",
|
|
"//java/testFramework",
|
|
],
|
|
runtime_deps = [":structuralSearch_resources"]
|
|
)
|
|
|
|
jvm_test(
|
|
name = "structuralSearch_test",
|
|
runtime_deps = [":structuralSearch_test_lib"]
|
|
)
|
|
### auto-generated section `build intellij.java.structuralSearch` end |