Files
openide/plugins/jsonpath/BUILD.bazel
Vladimir Krivosheev 7cf9ef2b29 update bazel files
GitOrigin-RevId: e78f86bd17affd7892fd1af8e157f033906b1865
2025-05-09 15:36:06 +00:00

69 lines
2.0 KiB
Python

### auto-generated section `build intellij.jsonpath` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
jvm_resources(
name = "jsonpath_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "jsonpath",
module_name = "intellij.jsonpath",
visibility = ["//visibility:public"],
srcs = glob(["gen/**/*.kt", "gen/**/*.java", "src/**/*.kt", "src/**/*.java"], allow_empty = True),
deps = [
"@lib//:kotlin-stdlib",
"@lib//:jsonpath",
"//platform/core-api:core",
"//platform/analysis-api:analysis",
"//platform/editor-ui-api:editor-ui",
"//platform/platform-impl:ide-impl",
"//json/backend",
"//platform/platform-api:ide",
"//platform/util:util-ui",
"//platform/lang-impl",
"//spellchecker",
"//platform/core-ui",
"@lib//:fastutil-min",
"@lib//:guava",
],
runtime_deps = [":jsonpath_resources"]
)
jvm_library(
name = "jsonpath_test_lib",
visibility = ["//visibility:public"],
srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True),
associates = [":jsonpath"],
deps = [
"@lib//:kotlin-stdlib",
"@lib//:jsonpath",
"//platform/core-api:core",
"//platform/analysis-api:analysis",
"//platform/editor-ui-api:editor-ui",
"//platform/platform-impl:ide-impl",
"//platform/platform-impl:ide-impl_test_lib",
"//json/backend",
"//platform/platform-api:ide",
"//platform/util:util-ui",
"@lib//:assert_j",
"//platform/lang-impl",
"//spellchecker",
"//spellchecker:spellchecker_test_lib",
"//platform/core-ui",
"@lib//:fastutil-min",
"@lib//:guava",
"//platform/testFramework",
"//platform/testFramework:testFramework_test_lib",
"//plugins/IntelliLang:langInjection",
"//platform/testFramework/extensions:testExtensions",
],
runtime_deps = [":jsonpath_resources"]
)
jvm_test(
name = "jsonpath_test",
runtime_deps = [":jsonpath_test_lib"]
)
### auto-generated section `build intellij.jsonpath` end