mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
28 lines
874 B
Python
28 lines
874 B
Python
### auto-generated section `build fleet.lsp.protocol` start
|
|
load("//build:compiler-options.bzl", "create_kotlinc_options")
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library")
|
|
|
|
create_kotlinc_options(
|
|
name = "custom",
|
|
context_receivers = True,
|
|
opt_in = [
|
|
"kotlinx.coroutines.ExperimentalCoroutinesApi",
|
|
"kotlinx.serialization.ExperimentalSerializationApi",
|
|
]
|
|
)
|
|
|
|
jvm_library(
|
|
name = "lsp.protocol",
|
|
module_name = "fleet.lsp.protocol",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["src/main/**/*.kt", "src/main/**/*.java"], allow_empty = True, exclude = ["**/module-info.java"]),
|
|
kotlinc_opts = ":custom",
|
|
deps = [
|
|
"@lib//:kotlin-stdlib",
|
|
"@lib//:kotlinx-coroutines-core",
|
|
"@lib//:kotlinx-serialization-core",
|
|
"@lib//:kotlinx-serialization-json",
|
|
"//fleet/util/core",
|
|
]
|
|
)
|
|
### auto-generated section `build fleet.lsp.protocol` end |