mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
36 lines
1.2 KiB
Python
36 lines
1.2 KiB
Python
### auto-generated section `build fleet.util.codepoints` start
|
|
load("//build:compiler-options.bzl", "create_kotlinc_options")
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "resourcegroup")
|
|
|
|
create_kotlinc_options(
|
|
name = "custom_codepoints",
|
|
opt_in = ["kotlin.concurrent.atomics.ExperimentalAtomicApi"],
|
|
x_consistent_data_class_copy_visibility = True,
|
|
x_context_parameters = True,
|
|
x_lambdas = "class"
|
|
)
|
|
|
|
resourcegroup(
|
|
name = "codepoints_resources",
|
|
srcs = glob(["resources/**/*"]),
|
|
strip_prefix = "resources"
|
|
)
|
|
|
|
jvm_provided_library(
|
|
name = "fleet_util_multiplatform_provided",
|
|
lib = "//fleet/util/multiplatform"
|
|
)
|
|
|
|
jvm_library(
|
|
name = "codepoints",
|
|
module_name = "fleet.util.codepoints",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["srcCommonMain/**/*.kt", "srcCommonMain/**/*.java", "srcCommonMain/**/*.form", "srcJvmMain/**/*.kt", "srcJvmMain/**/*.java", "srcJvmMain/**/*.form"], allow_empty = True, exclude = ["**/module-info.java"]),
|
|
resources = [":codepoints_resources"],
|
|
kotlinc_opts = ":custom_codepoints",
|
|
deps = [
|
|
"@lib//:kotlin-stdlib",
|
|
":fleet_util_multiplatform_provided",
|
|
]
|
|
)
|
|
### auto-generated section `build fleet.util.codepoints` end |