mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
68 lines
2.1 KiB
Python
68 lines
2.1 KiB
Python
### auto-generated section `build intellij.evaluationPlugin.languages.java` start
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
|
|
|
|
jvm_resources(
|
|
name = "java_resources",
|
|
files = glob(["resources/**/*"]),
|
|
strip_prefix = "resources"
|
|
)
|
|
|
|
jvm_library(
|
|
name = "java",
|
|
module_name = "intellij.evaluationPlugin.languages.java",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
|
|
deps = [
|
|
"@lib//:kotlin-stdlib",
|
|
"//platform/analysis-api:analysis",
|
|
"//platform/core-api:core",
|
|
"//platform/editor-ui-api:editor-ui",
|
|
"//platform/external-system-impl:externalSystem-impl",
|
|
"//plugins/maven",
|
|
"//java/openapi:java",
|
|
"//java/java-impl:impl",
|
|
"//plugins/evaluation-plugin/languages",
|
|
"//plugins/evaluation-plugin/core",
|
|
"//plugins/gradle:gradle-common",
|
|
"//jps/model-api:model",
|
|
"//jps/model-serialization",
|
|
"//platform/projectModel-api:projectModel",
|
|
"//platform/refactoring",
|
|
],
|
|
runtime_deps = [":java_resources"]
|
|
)
|
|
|
|
jvm_library(
|
|
name = "java_test_lib",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True),
|
|
associates = [":java"],
|
|
deps = [
|
|
"@lib//:kotlin-stdlib",
|
|
"//platform/analysis-api:analysis",
|
|
"//platform/core-api:core",
|
|
"//platform/editor-ui-api:editor-ui",
|
|
"//platform/external-system-impl:externalSystem-impl",
|
|
"//plugins/maven",
|
|
"//java/openapi:java",
|
|
"//java/java-impl:impl",
|
|
"//plugins/evaluation-plugin/languages",
|
|
"//plugins/evaluation-plugin/core",
|
|
"//plugins/gradle:gradle-common",
|
|
"//jps/model-api:model",
|
|
"//jps/model-serialization",
|
|
"//platform/projectModel-api:projectModel",
|
|
"//platform/refactoring",
|
|
"//platform/testFramework",
|
|
"//platform/testFramework:testFramework_test_lib",
|
|
"@lib//:kotlinx-coroutines-test",
|
|
"//java/testFramework",
|
|
],
|
|
runtime_deps = [":java_resources"]
|
|
)
|
|
|
|
jvm_test(
|
|
name = "java_test",
|
|
runtime_deps = [":java_test_lib"]
|
|
)
|
|
### auto-generated section `build intellij.evaluationPlugin.languages.java` end |