mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 06:59:44 +07:00
22 lines
670 B
Python
22 lines
670 B
Python
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
|
|
load("@community//:build/compiler-options.bzl", "create_kotlinc_options")
|
|
|
|
create_kotlinc_options(
|
|
name = "custom",
|
|
jvm_target = "17",
|
|
x_optin = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"]
|
|
)
|
|
|
|
kt_jvm_library(
|
|
name = "intellij.platform.backend.workspace",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["src/**/*.kt", "src/**/*.java"]),
|
|
javac_opts = "//:j17",
|
|
kotlinc_opts = ":custom",
|
|
deps = [
|
|
"@libraries//:kotlin-stdlib",
|
|
"@community//platform/workspace/storage:intellij.platform.workspace.storage",
|
|
"@community//platform/core-api:intellij.platform.core"
|
|
]
|
|
)
|