mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
[JEWEL] Update Bazel build scrips
(cherry picked from commit 6692667fc66beeb3c9f63ff0a1dd57ea7a7a9e6d) IJ-MR-173046 GitOrigin-RevId: f5727d213763d347cdc757b4ce87c0936233926d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
bf55e78677
commit
677efc9f48
@@ -1,5 +1,6 @@
|
||||
### auto-generated section `build intellij.libraries.coil` start
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
|
||||
load("@rules_java//java:defs.bzl", "java_library")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_resources")
|
||||
|
||||
jvm_resources(
|
||||
name = "coil_resources",
|
||||
@@ -7,10 +8,9 @@ jvm_resources(
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
java_library(
|
||||
name = "coil",
|
||||
visibility = ["//visibility:public"],
|
||||
srcs = glob([], allow_empty = True),
|
||||
exports = [
|
||||
"@lib//:libraries-coil-io-coil-kt-coil3-network-ktor3-jvm",
|
||||
"@lib//:libraries-coil-io-coil-kt-coil3-svg-jvm",
|
||||
|
||||
@@ -1,6 +1,15 @@
|
||||
### auto-generated section `test intellij.platform.jewel.markdown.extensions.images` start
|
||||
load("@community//build:tests-options.bzl", "jps_test")
|
||||
|
||||
jps_test(
|
||||
name = "images_test",
|
||||
runtime_deps = [":images_test_lib"]
|
||||
)
|
||||
### auto-generated section `test intellij.platform.jewel.markdown.extensions.images` end
|
||||
|
||||
### auto-generated section `build intellij.platform.jewel.markdown.extensions.images` start
|
||||
load("//build:compiler-options.bzl", "create_kotlinc_options")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
|
||||
|
||||
create_kotlinc_options(
|
||||
name = "custom",
|
||||
@@ -44,8 +53,8 @@ jvm_library(
|
||||
jvm_library(
|
||||
name = "images_test_lib",
|
||||
visibility = ["//visibility:public"],
|
||||
srcs = glob(["src/test/kotlin/**/*.kt", "src/test/kotlin/**/*.java", "src/test/kotlin/**/*.form"], allow_empty = True),
|
||||
kotlinc_opts = ":custom_images",
|
||||
srcs = glob(["src/test/kotlin/**/*.kt", "src/test/kotlin/**/*.java"], allow_empty = True),
|
||||
kotlinc_opts = ":custom",
|
||||
associates = [":images"],
|
||||
deps = [
|
||||
"@lib//:kotlin-stdlib",
|
||||
@@ -62,17 +71,12 @@ jvm_library(
|
||||
"//libraries/ktor-client",
|
||||
"//libraries/compose-foundation-desktop",
|
||||
],
|
||||
exports = ["//libraries/coil"],
|
||||
runtime_deps = [":images_resources"],
|
||||
plugins = ["@lib//:compose-plugin"]
|
||||
)
|
||||
### auto-generated section `build intellij.platform.jewel.markdown.extensions.images` end
|
||||
|
||||
### auto-generated section `test intellij.platform.jewel.markdown.extensions.images` start
|
||||
load("@community//build:tests-options.bzl", "jps_test")
|
||||
|
||||
jps_test(
|
||||
jvm_test(
|
||||
name = "images_test",
|
||||
runtime_deps = [":images_test_lib"]
|
||||
)
|
||||
### auto-generated section `test intellij.platform.jewel.markdown.extensions.images` end
|
||||
### auto-generated section `build intellij.platform.jewel.markdown.extensions.images` end
|
||||
@@ -20,12 +20,12 @@ jvm_resources(
|
||||
)
|
||||
|
||||
jvm_provided_library(
|
||||
name = "platform_jewel_markdown_extensions_gfm-alerts_provided",
|
||||
name = "gfm-alerts_provided",
|
||||
lib = "//platform/jewel/markdown/extensions/gfm-alerts"
|
||||
)
|
||||
|
||||
jvm_provided_library(
|
||||
name = "platform_jewel_markdown_extensions_gfm-tables_provided",
|
||||
name = "gfm-tables_provided",
|
||||
lib = "//platform/jewel/markdown/extensions/gfm-tables"
|
||||
)
|
||||
|
||||
@@ -50,8 +50,8 @@ jvm_library(
|
||||
"//platform/platform-impl:ide-impl",
|
||||
"//libraries/compose-foundation-desktop",
|
||||
"//platform/platform-api:ide",
|
||||
":platform_jewel_markdown_extensions_gfm-alerts_provided",
|
||||
":platform_jewel_markdown_extensions_gfm-tables_provided",
|
||||
":gfm-alerts_provided",
|
||||
":gfm-tables_provided",
|
||||
],
|
||||
exports = [
|
||||
"//platform/jewel/markdown/core",
|
||||
|
||||
@@ -20,12 +20,12 @@ jvm_resources(
|
||||
)
|
||||
|
||||
jvm_provided_library(
|
||||
name = "platform_jewel_markdown_extensions_gfm-alerts_provided",
|
||||
name = "gfm-alerts_provided",
|
||||
lib = "//platform/jewel/markdown/extensions/gfm-alerts"
|
||||
)
|
||||
|
||||
jvm_provided_library(
|
||||
name = "platform_jewel_markdown_extensions_gfm-tables_provided",
|
||||
name = "gfm-tables_provided",
|
||||
lib = "//platform/jewel/markdown/extensions/gfm-tables"
|
||||
)
|
||||
|
||||
@@ -44,8 +44,8 @@ jvm_library(
|
||||
"//platform/jewel/foundation",
|
||||
"//platform/jewel/int-ui/int-ui-standalone:jewel-intUi-standalone",
|
||||
"//libraries/compose-foundation-desktop",
|
||||
":platform_jewel_markdown_extensions_gfm-alerts_provided",
|
||||
":platform_jewel_markdown_extensions_gfm-tables_provided",
|
||||
":gfm-alerts_provided",
|
||||
":gfm-tables_provided",
|
||||
],
|
||||
runtime_deps = [":int-ui-standalone-styling_resources"],
|
||||
plugins = ["@lib//:compose-plugin"]
|
||||
|
||||
Reference in New Issue
Block a user