mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
(cherry picked from commit 26c94e199170b6f7a70626ae524dcfb7aee803e7) GitOrigin-RevId: d97303768ab6bf599b36ca8b21545a0718642c85
87 lines
3.1 KiB
Python
87 lines
3.1 KiB
Python
### auto-generated section `build intellij.compose.ide.plugin.shared` start
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
|
|
|
|
jvm_resources(
|
|
name = "ide-plugin-shared_resources",
|
|
files = glob(["resources/**/*"]),
|
|
strip_prefix = "resources"
|
|
)
|
|
|
|
jvm_library(
|
|
name = "ide-plugin-shared",
|
|
module_name = "intellij.compose.ide.plugin.shared",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
|
|
deps = [
|
|
"//plugins/compose:compose-ide-plugin",
|
|
"//platform/analysis-api:analysis",
|
|
"//platform/analysis-impl",
|
|
"//platform/core-api:core",
|
|
"//platform/core-impl",
|
|
"//platform/editor-ui-api:editor-ui",
|
|
"//platform/platform-impl:ide-impl",
|
|
"//platform/indexing-api:indexing",
|
|
"//platform/lang-api:lang",
|
|
"//platform/projectModel-api:projectModel",
|
|
"//platform/projectModel-impl",
|
|
"//uast/uast-common:uast",
|
|
"//platform/util",
|
|
"//plugins/kotlin/base/indices",
|
|
"@lib//:kotlinc-kotlin-compiler-common-provided",
|
|
"@lib//:kotlinc-analysis-api-provided",
|
|
"//java/java-psi-api:psi",
|
|
"//platform/lang-impl",
|
|
],
|
|
runtime_deps = [":ide-plugin-shared_resources"]
|
|
)
|
|
### auto-generated section `build intellij.compose.ide.plugin.shared` end
|
|
|
|
### auto-generated section `build intellij.compose.ide.plugin.shared.tests` start
|
|
load("@rules_java//java:defs.bzl", "java_library")
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test")
|
|
|
|
java_library(
|
|
name = "ide-plugin-shared-tests",
|
|
visibility = ["//visibility:public"]
|
|
)
|
|
|
|
jvm_library(
|
|
name = "ide-plugin-shared-tests_test_lib",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["tests/**/*.kt", "tests/**/*.java"], allow_empty = True),
|
|
associates = ["//plugins/compose/intellij.compose.ide.plugin.shared:ide-plugin-shared"],
|
|
deps = [
|
|
"//platform/analysis-api:analysis",
|
|
"//platform/core-api:core",
|
|
"//platform/core-impl",
|
|
"//platform/editor-ui-api:editor-ui",
|
|
"//platform/projectModel-api:projectModel",
|
|
"//platform/util",
|
|
"//platform/util/jdom",
|
|
"//plugins/kotlin/base/test:test_test_lib",
|
|
"//plugins/kotlin/base/plugin",
|
|
"//plugins/kotlin/base/plugin:plugin_test_lib",
|
|
"//plugins/kotlin/base/indices",
|
|
"//plugins/kotlin/tests-common:tests-common_test_lib",
|
|
"//plugins/kotlin/test-framework:test-framework_test_lib",
|
|
"@lib//:kotlinc-kotlin-compiler-common",
|
|
"@lib//:kotlinc-analysis-api",
|
|
"//platform/testFramework",
|
|
"//platform/testFramework:testFramework_test_lib",
|
|
"@lib//:kotlin-test-assertions-core-jvm",
|
|
"@lib//:io-mockk",
|
|
"@lib//:io-mockk-jvm",
|
|
"@lib//:kotlin-test",
|
|
"//plugins/kotlin/gradle/gradle-java/tests.shared:tests.shared_test_lib",
|
|
"//plugins/gradle:gradle-tests_test_lib",
|
|
"//platform/external-system-impl:externalSystem-tests_test_lib",
|
|
"@lib//:kotlinc-kotlin-compiler-tests",
|
|
"//plugins/gradle/tooling-extension-impl:toolingExtension-tests_test_lib",
|
|
]
|
|
)
|
|
|
|
jvm_test(
|
|
name = "ide-plugin-shared-tests_test",
|
|
runtime_deps = [":ide-plugin-shared-tests_test_lib"]
|
|
)
|
|
### auto-generated section `build intellij.compose.ide.plugin.shared.tests` end |