Files
openide/plugins/gitlab/gitlab-yaml/BUILD.bazel
Vladimir Krivosheev a59247fe0f update bazel files
GitOrigin-RevId: 9c0599fc72c5eefddedd21b65242c39f1f6748fa
2025-02-14 21:08:26 +00:00

51 lines
1.5 KiB
Python

### auto-generated section `build intellij.vcs.gitlab.yaml` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
jvm_resources(
name = "vcs-gitlab-yaml_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "vcs-gitlab-yaml",
module_name = "intellij.vcs.gitlab.yaml",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
deps = [
"//plugins/gitlab/gitlab-core:vcs-gitlab",
"//plugins/yaml/backend",
"@lib//:kotlin-stdlib",
"//platform/util/base",
"//plugins/yaml",
"//platform/analysis-impl",
],
runtime_deps = [":vcs-gitlab-yaml_resources"]
)
jvm_library(
name = "vcs-gitlab-yaml_test_lib",
visibility = ["//visibility:public"],
srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True),
associates = [":vcs-gitlab-yaml"],
deps = [
"//plugins/gitlab/gitlab-core:vcs-gitlab",
"//plugins/gitlab/gitlab-core:vcs-gitlab_test_lib",
"//plugins/yaml/backend",
"//plugins/yaml/backend:backend_test_lib",
"@lib//:kotlin-stdlib",
"//platform/util/base",
"//plugins/yaml",
"//platform/analysis-impl",
"//platform/testFramework",
"//platform/testFramework:testFramework_test_lib",
"//json/tests:tests_test_lib",
],
runtime_deps = [":vcs-gitlab-yaml_resources"]
)
jvm_test(
name = "vcs-gitlab-yaml_test",
runtime_deps = [":vcs-gitlab-yaml_test_lib"]
)
### auto-generated section `build intellij.vcs.gitlab.yaml` end