mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
71 lines
2.1 KiB
Python
71 lines
2.1 KiB
Python
### auto-generated section `build intellij.xml.xmlbeans` start
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
|
|
|
|
resourcegroup(
|
|
name = "xmlbeans_resources",
|
|
srcs = glob(["resources/**/*"]),
|
|
strip_prefix = "resources"
|
|
)
|
|
|
|
jvm_library(
|
|
name = "xmlbeans",
|
|
module_name = "intellij.xml.xmlbeans",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
|
|
resources = [":xmlbeans_resources"],
|
|
deps = [
|
|
"//platform/analysis-api:analysis",
|
|
"//platform/core-api:core",
|
|
"//xml/impl",
|
|
"@lib//:xml-xmlbeans-_xml_beans",
|
|
"@lib//:xml-xmlbeans-apache-logging-log4j-to-slf4j",
|
|
"//platform/core-impl",
|
|
"//platform/analysis-impl",
|
|
"//platform/editor-ui-api:editor-ui",
|
|
"//platform/platform-api:ide",
|
|
"//platform/ide-core",
|
|
"//platform/core-ui",
|
|
"//xml/xml-parser:parser",
|
|
"//platform/util:util-ui",
|
|
"//xml/xml-psi-api:psi",
|
|
"//platform/lang-impl",
|
|
]
|
|
)
|
|
|
|
jvm_library(
|
|
name = "xmlbeans_test_lib",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["test/**/*.kt", "test/**/*.java", "test/**/*.form"], allow_empty = True),
|
|
associates = [":xmlbeans"],
|
|
deps = [
|
|
"//platform/analysis-api:analysis",
|
|
"//platform/core-api:core",
|
|
"//xml/impl",
|
|
"@lib//:xml-xmlbeans-_xml_beans",
|
|
"@lib//:xml-xmlbeans-apache-logging-log4j-to-slf4j",
|
|
"//platform/core-impl",
|
|
"//platform/analysis-impl",
|
|
"@lib//:assert_j",
|
|
"//java/testFramework",
|
|
"//platform/editor-ui-api:editor-ui",
|
|
"//platform/platform-api:ide",
|
|
"//platform/ide-core",
|
|
"//platform/core-ui",
|
|
"//xml/xml-parser:parser",
|
|
"//platform/util:util-ui",
|
|
"//platform/testFramework",
|
|
"//platform/testFramework:testFramework_test_lib",
|
|
"//xml/xml-psi-api:psi",
|
|
"//platform/lang-impl",
|
|
]
|
|
)
|
|
### auto-generated section `build intellij.xml.xmlbeans` end
|
|
|
|
### auto-generated section `test intellij.xml.xmlbeans` start
|
|
load("@community//build:tests-options.bzl", "jps_test")
|
|
|
|
jps_test(
|
|
name = "xmlbeans_test",
|
|
runtime_deps = [":xmlbeans_test_lib"]
|
|
)
|
|
### auto-generated section `test intellij.xml.xmlbeans` end |