mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
GitOrigin-RevId: 71122dc2a625f495537a68b6b56e2537de7d4673
50 lines
1.4 KiB
Python
50 lines
1.4 KiB
Python
### auto-generated section `build fleet.codecache.test` start
|
|
load("//build:compiler-options.bzl", "create_kotlinc_options")
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library")
|
|
|
|
create_kotlinc_options(
|
|
name = "custom_test",
|
|
opt_in = [
|
|
"kotlinx.coroutines.ExperimentalCoroutinesApi",
|
|
"kotlin.ExperimentalStdlibApi",
|
|
],
|
|
x_consistent_data_class_copy_visibility = True,
|
|
x_context_parameters = True,
|
|
x_jvm_default = "all-compatibility",
|
|
x_lambdas = "class"
|
|
)
|
|
|
|
jvm_library(
|
|
name = "test",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob([], allow_empty = True, exclude = ["**/module-info.java"])
|
|
)
|
|
|
|
jvm_library(
|
|
name = "test_test_lib",
|
|
module_name = "fleet.codecache.test",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True, exclude = ["**/module-info.java"]),
|
|
kotlinc_opts = ":custom_test",
|
|
deps = [
|
|
"@lib//:kotlin-stdlib",
|
|
"//fleet/test-runtime",
|
|
"//fleet/codecache",
|
|
"@lib//:kotlinx-coroutines-core",
|
|
"//fleet/bundles",
|
|
"//fleet/util/network",
|
|
"//fleet/ktor/client/core",
|
|
"@lib//:kotlinx-serialization-core",
|
|
],
|
|
runtime_deps = [":test"]
|
|
)
|
|
### auto-generated section `build fleet.codecache.test` end
|
|
|
|
### auto-generated section `test fleet.codecache.test` start
|
|
load("@community//build:tests-options.bzl", "jps_test")
|
|
|
|
jps_test(
|
|
name = "test_test",
|
|
runtime_deps = [":test_test_lib"]
|
|
)
|
|
### auto-generated section `test fleet.codecache.test` end |