mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
(cherry picked from commit 5a8578ac36b5a66a0db061625085beee1ba2c8c0) GitOrigin-RevId: a177ca50d6c293df9045faa9379f1783f3bba159
107 lines
3.0 KiB
Python
107 lines
3.0 KiB
Python
### auto-generated section `build intellij.devkit.git` start
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "resourcegroup")
|
|
|
|
resourcegroup(
|
|
name = "git_resources",
|
|
srcs = glob(["resources/**/*"]),
|
|
strip_prefix = "resources"
|
|
)
|
|
|
|
jvm_provided_library(
|
|
name = "platform_vcs-api_vcs-core_provided",
|
|
lib = "//platform/vcs-api/vcs-api-core:vcs-core"
|
|
)
|
|
|
|
jvm_provided_library(
|
|
name = "platform_vcs-log_vcs-log_provided",
|
|
lib = "//platform/vcs-log/api:vcs-log"
|
|
)
|
|
|
|
jvm_provided_library(
|
|
name = "platform_vcs-dvcs-impl_provided",
|
|
lib = "//platform/dvcs-impl:vcs-dvcs-impl"
|
|
)
|
|
|
|
jvm_provided_library(
|
|
name = "plugins_vcs-git_provided",
|
|
lib = "//plugins/git4idea:vcs-git"
|
|
)
|
|
|
|
jvm_library(
|
|
name = "git",
|
|
module_name = "intellij.devkit.git",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
|
|
resources = [":git_resources"],
|
|
deps = [
|
|
"@lib//:kotlin-stdlib",
|
|
"//platform/util-ex",
|
|
"//platform/core-api:core",
|
|
"//platform/projectModel-api:projectModel",
|
|
"//platform/util",
|
|
"//platform/ide-core",
|
|
"//plugins/devkit/devkit-core:core",
|
|
"//platform/vcs-api/shared",
|
|
"//platform/vcs-log/impl",
|
|
"//platform/platform-api:ide",
|
|
":platform_vcs-api_vcs-core_provided",
|
|
":platform_vcs-log_vcs-log_provided",
|
|
":platform_vcs-dvcs-impl_provided",
|
|
":plugins_vcs-git_provided",
|
|
]
|
|
)
|
|
|
|
jvm_provided_library(
|
|
name = "platform_vcs-api_vcs-core_test_lib_provided",
|
|
lib = "//platform/vcs-api/vcs-api-core:vcs-core_test_lib"
|
|
)
|
|
|
|
jvm_provided_library(
|
|
name = "platform_vcs-dvcs-impl_test_lib_provided",
|
|
lib = "//platform/dvcs-impl:vcs-dvcs-impl_test_lib"
|
|
)
|
|
|
|
jvm_provided_library(
|
|
name = "plugins_vcs-git_test_lib_provided",
|
|
lib = "//plugins/git4idea:vcs-git_test_lib"
|
|
)
|
|
|
|
jvm_library(
|
|
name = "git_test_lib",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["test/**/*.kt", "test/**/*.java", "test/**/*.form"], allow_empty = True),
|
|
associates = [":git"],
|
|
deps = [
|
|
"@lib//:kotlin-stdlib",
|
|
"//platform/util-ex",
|
|
"//platform/core-api:core",
|
|
"//platform/projectModel-api:projectModel",
|
|
"//platform/util",
|
|
"//platform/ide-core",
|
|
"//plugins/devkit/devkit-core:core",
|
|
"@lib//:junit4",
|
|
"//platform/testFramework",
|
|
"//platform/testFramework:testFramework_test_lib",
|
|
"//platform/vcs-api/shared",
|
|
"//platform/vcs-log/impl",
|
|
"//platform/vcs-log/impl:impl_test_lib",
|
|
"//platform/platform-api:ide",
|
|
":platform_vcs-api_vcs-core_provided",
|
|
":platform_vcs-log_vcs-log_provided",
|
|
":platform_vcs-dvcs-impl_provided",
|
|
":plugins_vcs-git_provided",
|
|
":platform_vcs-api_vcs-core_test_lib_provided",
|
|
":platform_vcs-dvcs-impl_test_lib_provided",
|
|
":plugins_vcs-git_test_lib_provided",
|
|
]
|
|
)
|
|
### auto-generated section `build intellij.devkit.git` end
|
|
|
|
### auto-generated section `test intellij.devkit.git` start
|
|
load("@community//build:tests-options.bzl", "jps_test")
|
|
|
|
jps_test(
|
|
name = "git_test",
|
|
runtime_deps = [":git_test_lib"]
|
|
)
|
|
### auto-generated section `test intellij.devkit.git` end |