mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
67 lines
2.0 KiB
Python
67 lines
2.0 KiB
Python
### auto-generated section `build intellij.devkit.jps` start
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
|
|
|
|
jvm_resources(
|
|
name = "jps_resources",
|
|
files = glob(["resources/**/*"]),
|
|
strip_prefix = "resources"
|
|
)
|
|
|
|
jvm_library(
|
|
name = "jps",
|
|
module_name = "intellij.devkit.jps",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
|
|
kotlinc_opts = "@community//:k11",
|
|
deps = [
|
|
"//jps/model-api:model",
|
|
"//jps/model-serialization",
|
|
"//jps/jps-builders:build",
|
|
"//java/compiler/instrumentation-util",
|
|
"@lib//:asm",
|
|
"//platform/util/jdom",
|
|
"@community//build:build-javac-rt",
|
|
"//platform/util",
|
|
"@lib//:jetbrains-annotations",
|
|
],
|
|
runtime_deps = [":jps_resources"]
|
|
)
|
|
### auto-generated section `build intellij.devkit.jps` end
|
|
|
|
### auto-generated section `build intellij.devkit.jps.tests` start
|
|
jvm_library(
|
|
name = "jps-tests",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob([], allow_empty = True)
|
|
)
|
|
|
|
jvm_library(
|
|
name = "jps-tests_test_lib",
|
|
module_name = "intellij.devkit.jps.tests",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True),
|
|
deps = [
|
|
"//plugins/devkit/jps-plugin:jps",
|
|
"//platform/core-api:core",
|
|
"//jps/model-api:model",
|
|
"//jps/model-impl",
|
|
"//jps/jps-builders:build-tests_test_lib",
|
|
"//java/testFramework",
|
|
"//jps/model-serialization:model-serialization-tests_test_lib",
|
|
"//jps/jps-builders:build",
|
|
"@lib//:asm",
|
|
"//platform/testFramework",
|
|
"//platform/testFramework:testFramework_test_lib",
|
|
"//java/compiler/instrumentation-util",
|
|
]
|
|
)
|
|
### auto-generated section `build intellij.devkit.jps.tests` end
|
|
|
|
### auto-generated section `test intellij.devkit.jps.tests` start
|
|
load("@community//build:tests-options.bzl", "jps_test")
|
|
|
|
jps_test(
|
|
name = "jps-tests_test",
|
|
runtime_deps = [":jps-tests_test_lib"]
|
|
)
|
|
### auto-generated section `test intellij.devkit.jps.tests` end |