mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
update bazel files
GitOrigin-RevId: 47fa457d01f09cf034eb1c41c81dc6dc7d2caf58
This commit is contained in:
committed by
intellij-monorepo-bot
parent
662cdcc255
commit
f87922cf86
@@ -1,5 +1,11 @@
|
||||
### auto-generated section `build intellij.idea.tools.launch` start
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
|
||||
|
||||
jvm_resources(
|
||||
name = "idea-tools-launch_resources",
|
||||
files = glob(["resources/**/*"]),
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "idea-tools-launch",
|
||||
@@ -15,7 +21,8 @@ jvm_library(
|
||||
"//jps/model-serialization",
|
||||
"//platform/build-scripts/downloader:buildScripts-downloader",
|
||||
"//platform/ijent/buildConstants:community-buildConstants",
|
||||
]
|
||||
],
|
||||
runtime_deps = [":idea-tools-launch_resources"]
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
@@ -35,7 +42,8 @@ jvm_library(
|
||||
"//platform/testFramework/junit5",
|
||||
"//platform/testFramework/junit5:junit5_test_lib",
|
||||
"//platform/ijent/buildConstants:community-buildConstants",
|
||||
]
|
||||
],
|
||||
runtime_deps = [":idea-tools-launch_resources"]
|
||||
)
|
||||
|
||||
jvm_test(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
### auto-generated section `build intellij.java.rt` start
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources")
|
||||
|
||||
jvm_resources(
|
||||
name = "rt_resources",
|
||||
@@ -7,6 +7,11 @@ jvm_resources(
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
jvm_provided_library(
|
||||
name = "junit4_provided",
|
||||
lib = "//libraries/junit4"
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "rt",
|
||||
module_name = "intellij.java.rt",
|
||||
@@ -15,7 +20,7 @@ jvm_library(
|
||||
kotlinc_opts = "@community//:k8",
|
||||
deps = [
|
||||
"@lib//:java-rt-ant-1-7-1-provided",
|
||||
"@lib//:junit4",
|
||||
":junit4_provided",
|
||||
],
|
||||
runtime_deps = [":rt_resources"]
|
||||
)
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
### auto-generated section `build intellij.java.testFramework` start
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
|
||||
|
||||
jvm_resources(
|
||||
name = "testFramework_resources",
|
||||
files = glob(["resources/**/*"]),
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "testFramework",
|
||||
@@ -10,7 +16,7 @@ jvm_library(
|
||||
"//java/openapi:java",
|
||||
"//java/testFramework/shared:java-testFramework-shared",
|
||||
"//platform/util",
|
||||
"@lib//:junit4",
|
||||
"//libraries/junit4",
|
||||
"//platform/util/jdom",
|
||||
"//platform/lang-api:lang",
|
||||
"//platform/backend/workspace",
|
||||
@@ -46,6 +52,7 @@ jvm_library(
|
||||
"//java/java-impl:impl",
|
||||
],
|
||||
runtime_deps = [
|
||||
":testFramework_resources",
|
||||
"//java/plugin",
|
||||
"//platform/external-system-impl:externalSystem-impl",
|
||||
]
|
||||
|
||||
+496
-470
File diff suppressed because it is too large
Load Diff
+926
-898
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,20 @@
|
||||
### auto-generated section `build intellij.libraries.assertj.core` start
|
||||
load("@rules_java//java:defs.bzl", "java_library")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_resources")
|
||||
|
||||
jvm_resources(
|
||||
name = "assertj-core_resources",
|
||||
files = glob(["resources/**/*"]),
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = "assertj-core",
|
||||
visibility = ["//visibility:public"],
|
||||
exports = ["@lib//:assert_j"],
|
||||
runtime_deps = [
|
||||
":assertj-core_resources",
|
||||
"@lib//:assert_j",
|
||||
]
|
||||
)
|
||||
### auto-generated section `build intellij.libraries.assertj.core` end
|
||||
@@ -12,6 +12,9 @@ java_library(
|
||||
name = "junit4",
|
||||
visibility = ["//visibility:public"],
|
||||
exports = ["@lib//:junit4"],
|
||||
runtime_deps = [":junit4_resources"]
|
||||
runtime_deps = [
|
||||
":junit4_resources",
|
||||
"@lib//:junit4",
|
||||
]
|
||||
)
|
||||
### auto-generated section `build intellij.libraries.junit4` end
|
||||
@@ -0,0 +1,20 @@
|
||||
### auto-generated section `build intellij.libraries.kotlinTest` start
|
||||
load("@rules_java//java:defs.bzl", "java_library")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_resources")
|
||||
|
||||
jvm_resources(
|
||||
name = "kotlinTest_resources",
|
||||
files = glob(["resources/**/*"]),
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = "kotlinTest",
|
||||
visibility = ["//visibility:public"],
|
||||
exports = ["@lib//:kotlin-test"],
|
||||
runtime_deps = [
|
||||
":kotlinTest_resources",
|
||||
"@lib//:kotlin-test",
|
||||
]
|
||||
)
|
||||
### auto-generated section `build intellij.libraries.kotlinTest` end
|
||||
@@ -7,6 +7,7 @@ java_library(
|
||||
runtime_deps = [
|
||||
"//platform/main/intellij.platform.frontend.main:frontend-main",
|
||||
"//platform/main/intellij.platform.backend.main:backend-main",
|
||||
"//platform/monolith",
|
||||
"//platform/navbar/monolith",
|
||||
]
|
||||
)
|
||||
|
||||
@@ -1,9 +1,20 @@
|
||||
### auto-generated section `build intellij.platform.monolith` start
|
||||
load("@rules_java//java:defs.bzl", "java_library")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_resources")
|
||||
|
||||
jvm_resources(
|
||||
name = "monolith_resources",
|
||||
files = glob(["resources/**/*"]),
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = "monolith",
|
||||
visibility = ["//visibility:public"],
|
||||
runtime_deps = ["//platform/backend"]
|
||||
runtime_deps = [
|
||||
":monolith_resources",
|
||||
"//platform/platform-frontend:frontend",
|
||||
"//platform/backend",
|
||||
]
|
||||
)
|
||||
### auto-generated section `build intellij.platform.monolith` end
|
||||
@@ -1,5 +1,11 @@
|
||||
### auto-generated section `build intellij.driver.sdk` start
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
|
||||
|
||||
jvm_resources(
|
||||
name = "driver-sdk_resources",
|
||||
files = glob(["resources/**/*"]),
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "driver-sdk",
|
||||
@@ -18,6 +24,7 @@ jvm_library(
|
||||
"//platform/remote-driver/client:driver-client",
|
||||
"@lib//:jetbrains-annotations",
|
||||
"@lib//:kotlin-stdlib",
|
||||
]
|
||||
],
|
||||
runtime_deps = [":driver-sdk_resources"]
|
||||
)
|
||||
### auto-generated section `build intellij.driver.sdk` end
|
||||
@@ -1,5 +1,5 @@
|
||||
### auto-generated section `build intellij.platform.testFramework` start
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources", "jvm_test")
|
||||
|
||||
jvm_resources(
|
||||
name = "testFramework_resources",
|
||||
@@ -19,6 +19,11 @@ jvm_resources(
|
||||
strip_prefix = "testResources"
|
||||
)
|
||||
|
||||
jvm_provided_library(
|
||||
name = "junit4_provided",
|
||||
lib = "//libraries/junit4"
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "testFramework",
|
||||
module_name = "intellij.platform.testFramework",
|
||||
@@ -31,7 +36,6 @@ jvm_library(
|
||||
"//platform/execution-impl",
|
||||
"//platform/editor-ui-ex:editor-ex",
|
||||
"//platform/indexing-impl",
|
||||
"@lib//:junit4",
|
||||
"//platform/usageView",
|
||||
"//platform/ide-core-impl",
|
||||
"//platform/refactoring",
|
||||
@@ -65,10 +69,11 @@ jvm_library(
|
||||
"@lib//:assert_j",
|
||||
"//platform/todo",
|
||||
"//platform/syntax/syntax-api:syntax",
|
||||
":junit4_provided",
|
||||
],
|
||||
exports = [
|
||||
"//platform/execution-impl",
|
||||
"@lib//:junit4",
|
||||
"//libraries/junit4",
|
||||
"//platform/ide-core-impl",
|
||||
"//platform/platform-impl:ide-impl",
|
||||
"@lib//:jet_check",
|
||||
@@ -99,7 +104,7 @@ jvm_library(
|
||||
"//platform/execution-impl",
|
||||
"//platform/editor-ui-ex:editor-ex",
|
||||
"//platform/indexing-impl",
|
||||
"@lib//:junit4",
|
||||
"//libraries/junit4",
|
||||
"//platform/usageView",
|
||||
"//platform/ide-core-impl",
|
||||
"//platform/refactoring",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
### auto-generated section `build intellij.platform.testFramework.core` start
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources")
|
||||
|
||||
jvm_resources(
|
||||
name = "core_resources",
|
||||
@@ -7,6 +7,11 @@ jvm_resources(
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
jvm_provided_library(
|
||||
name = "junit4_provided",
|
||||
lib = "//libraries/junit4"
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "core",
|
||||
module_name = "intellij.platform.testFramework.core",
|
||||
@@ -18,7 +23,6 @@ jvm_library(
|
||||
"//platform/boot",
|
||||
"//platform/testFramework/bootstrap:tools-testsBootstrap",
|
||||
"@lib//:opentest4j",
|
||||
"@lib//:junit4",
|
||||
"@lib//:junit5-provided",
|
||||
"//java/java-runtime:rt",
|
||||
"@lib//:kotlin-stdlib",
|
||||
@@ -29,6 +33,7 @@ jvm_library(
|
||||
"@lib//:http-client",
|
||||
"@lib//:kotlinx-collections-immutable",
|
||||
"//platform/testFramework/teamCity",
|
||||
":junit4_provided",
|
||||
],
|
||||
runtime_deps = [":core_resources"]
|
||||
)
|
||||
|
||||
@@ -12,14 +12,14 @@ jvm_library(
|
||||
module_name = "intellij.maven.server.m40",
|
||||
visibility = ["//visibility:public"],
|
||||
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
|
||||
kotlinc_opts = "@community//:k8",
|
||||
deps = [
|
||||
"//plugins/maven-server-api:maven-server",
|
||||
"//plugins/maven/maven-server-telemetry:server-telemetry",
|
||||
"//platform/util/jdom",
|
||||
"@lib//:maven-server-m40-org-apache-maven-maven-embedder-4-0-0-rc-2-provided",
|
||||
"@lib//:maven-server-m40-org-apache-maven-maven-embedder-4-0-0-rc-3-provided",
|
||||
"@lib//:maven-server-m40-google-inject-guice-6-0-0-provided",
|
||||
"@lib//:maven-server-m40-org-eclipse-sisu-eclipse-sisu-inject-0-9-0-_m3-provided",
|
||||
"@lib//:maven-server-m40-javax-inject-1-provided",
|
||||
],
|
||||
runtime_deps = [":server-m40_resources"]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user