From e5b36e9b7ceabd0c85f178978fe9475009fdd6da Mon Sep 17 00:00:00 2001 From: Ilia Kirianovskii Date: Mon, 7 Jul 2025 10:23:31 +0200 Subject: [PATCH] [bazel] Update build files (IJI-2696, IJI-2878) GitOrigin-RevId: 80912356c3f137a518cc16f361d74cc356702241 --- BUILD.bazel | 10 +++-- build/tests/BUILD.bazel | 6 +-- community-resources/BUILD.bazel | 6 +-- fleet/compiler-plugins/BUILD.bazel | 5 ++- idea/customization/backend/BUILD.bazel | 6 +-- java/compiler/BUILD.bazel | 6 +-- java/debugger/debugger-agent/BUILD.bazel | 5 ++- java/ide-resources/BUILD.bazel | 6 +-- java/idea-ui/BUILD.bazel | 6 +-- java/java-frontback-tests/BUILD.bazel | 6 +-- java/java-terminal/BUILD.bazel | 6 +-- java/java-tests/BUILD.bazel | 6 +-- java/plugin/BUILD.bazel | 6 +-- jps/jps-builders/BUILD.bazel | 6 +-- jps/model-impl/BUILD.bazel | 6 +-- jps/model-serialization/BUILD.bazel | 6 +-- json/backend/tests/BUILD.bazel | 6 +-- jvm/jvm-analysis-java-tests/BUILD.bazel | 6 +-- jvm/jvm-analysis-kotlin-tests-k1/BUILD.bazel | 6 +-- jvm/jvm-analysis-kotlin-tests-k2/BUILD.bazel | 6 +-- .../BUILD.bazel | 6 +-- .../BUILD.bazel | 6 +-- libraries/assertj-core/BUILD.bazel | 6 +-- .../BUILD.bazel | 6 +-- .../compose-foundation-desktop/BUILD.bazel | 6 +-- libraries/dokka/BUILD.bazel | 2 +- libraries/grpc-netty-shaded/BUILD.bazel | 6 +-- libraries/grpc/BUILD.bazel | 6 +-- libraries/hamcrest-more-matchers/BUILD.bazel | 6 +-- libraries/hamcrest/BUILD.bazel | 6 +-- libraries/io/BUILD.bazel | 6 +-- libraries/junit4/BUILD.bazel | 6 +-- libraries/junit5-launcher/BUILD.bazel | 6 +-- libraries/junit5-params/BUILD.bazel | 6 +-- libraries/junit5-pioneer/BUILD.bazel | 6 +-- libraries/junit5/BUILD.bazel | 6 +-- .../BUILD.bazel | 6 +-- libraries/kotlin-test/BUILD.bazel | 6 +-- libraries/ktor-client-cio/BUILD.bazel | 6 +-- libraries/ktor-client/BUILD.bazel | 6 +-- libraries/lucene.common/BUILD.bazel | 6 +-- libraries/skiko/BUILD.bazel | 6 +-- libraries/testcontainers/BUILD.bazel | 6 +-- libraries/testng/BUILD.bazel | 6 +-- libraries/xerces/BUILD.bazel | 6 +-- platform/backend/BUILD.bazel | 6 +-- .../build-scripts/codeOptimizer/BUILD.bazel | 1 - platform/build-scripts/tests/BUILD.bazel | 6 +-- platform/built-in-server/BUILD.bazel | 6 +-- platform/compose/compiler-plugin/BUILD.bazel | 7 ++-- platform/compose/markdown/BUILD.bazel | 6 +-- platform/configuration-store-impl/BUILD.bazel | 6 +-- platform/core-nio-fs/BUILD.bazel | 1 - platform/diff-impl/tests/BUILD.bazel | 6 +-- platform/eel/BUILD.bazel | 2 - platform/execution-impl/BUILD.bazel | 6 +-- .../execution.dashboard/backend/BUILD.bazel | 6 +-- .../execution.dashboard/frontend/BUILD.bazel | 6 +-- .../frontend/BUILD.bazel | 6 +-- .../dependency-updater/BUILD.bazel | 1 - platform/external-system-impl/BUILD.bazel | 6 +-- platform/icons/BUILD.bazel | 6 +-- platform/indexing-tests/BUILD.bazel | 1 - platform/instanceContainer/BUILD.bazel | 1 - platform/jewel/ui-tests/BUILD.bazel | 6 +-- platform/lang-impl/BUILD.bazel | 6 +-- platform/lang-impl/testEntities/BUILD.bazel | 6 +-- .../BUILD.bazel | 5 ++- .../BUILD.bazel | 5 ++- .../main/intellij.platform.main/BUILD.bazel | 5 ++- .../BUILD.bazel | 5 ++- platform/monolith/BUILD.bazel | 6 +-- platform/object-serializer/BUILD.bazel | 6 +-- platform/platform-resources-en/BUILD.bazel | 6 +-- platform/platform-resources/BUILD.bazel | 6 +-- platform/platform-tests/BUILD.bazel | 6 +-- .../platform-tests/benchmarks/BUILD.bazel | 1 - .../platform-tests/durability/BUILD.bazel | 1 - platform/polySymbols/BUILD.bazel | 1 - .../target-integration-tests/BUILD.bazel | 6 +-- platform/runtime/product/tests/BUILD.bazel | 6 +-- platform/runtime/repository/tests/BUILD.bazel | 6 +-- platform/statistics/envTests/BUILD.bazel | 6 +-- platform/structuralsearch/BUILD.bazel | 6 +-- platform/syntax/syntax-psi-tests/BUILD.bazel | 6 +-- platform/testFramework/monorepo/BUILD.bazel | 6 +-- platform/util/BUILD.bazel | 6 +-- platform/util/coroutines/BUILD.bazel | 1 - .../benchmark/BUILD.bazel | 6 +-- platform/util/progress/BUILD.bazel | 6 +-- platform/util/trove/BUILD.bazel | 5 ++- platform/vcs-impl/lang/actions/BUILD.bazel | 6 +-- platform/vcs-tests/BUILD.bazel | 6 +-- platform/workspace/jps/tests/BUILD.bazel | 6 +-- .../storage/testEntities/BUILD.bazel | 6 +-- platform/workspace/storage/tests/BUILD.bazel | 6 +-- .../IntelliLang/IntelliLang-tests/BUILD.bazel | 6 +-- plugins/ant/jps-plugin/BUILD.bazel | 6 +-- plugins/classic-ui/BUILD.bazel | 6 +-- .../all-hallows-eve-color-scheme/BUILD.bazel | 6 +-- .../blackboard-color-scheme/BUILD.bazel | 6 +-- .../cobalt-color-scheme/BUILD.bazel | 6 +-- .../github-color-scheme/BUILD.bazel | 6 +-- .../monokai-color-scheme/BUILD.bazel | 6 +-- .../rails-casts-color-scheme/BUILD.bazel | 6 +-- .../twilight-color-scheme/BUILD.bazel | 6 +-- .../vibrant-ink-color-scheme/BUILD.bazel | 6 +-- .../warm-neon-color-scheme/BUILD.bazel | 6 +-- .../completion-ml-ranking-models/BUILD.bazel | 1 - plugins/completion-ml-ranking/BUILD.bazel | 1 - plugins/compose/BUILD.bazel | 6 +-- .../BUILD.bazel | 1 - .../BUILD.bazel | 1 - .../BUILD.bazel | 6 +-- plugins/configuration-script/BUILD.bazel | 6 +-- .../BUILD.bazel | 6 +-- plugins/dev/BUILD.bazel | 10 +++-- plugins/dev/intellij.dev/BUILD.bazel | 6 +-- plugins/devkit/BUILD.bazel | 16 ++++---- plugins/devkit/devkit-java-tests/BUILD.bazel | 6 +-- .../devkit-kotlin-fir-tests/BUILD.bazel | 1 - .../devkit/devkit-kotlin-tests/BUILD.bazel | 6 +-- plugins/devkit/devkit-tests/BUILD.bazel | 6 +-- .../intellij.devkit.intelliLang/BUILD.bazel | 6 +-- .../tests/BUILD.bazel | 6 +-- plugins/devkit/jps-plugin/BUILD.bazel | 6 +-- plugins/editorconfig/BUILD.bazel | 11 ++--- plugins/evaluation-plugin/BUILD.bazel | 1 - plugins/github/community/BUILD.bazel | 6 +-- plugins/gradle/BUILD.bazel | 11 ++--- .../gradle-declarative-sync/BUILD.bazel | 1 - plugins/gradle/java/BUILD.bazel | 6 +-- plugins/gradle/native/tooling/BUILD.bazel | 1 - .../gradle/tooling-extension-impl/BUILD.bazel | 6 +-- plugins/grazie/BUILD.bazel | 6 +-- plugins/grazie/src/test/BUILD.bazel | 6 +-- plugins/groovy/groovy-uast-tests/BUILD.bazel | 6 +-- plugins/groovy/jps-plugin/BUILD.bazel | 6 +-- plugins/htmltools/BUILD.bazel | 6 +-- plugins/javaFX/community/BUILD.bazel | 6 +-- plugins/junit/groovy-tests/BUILD.bazel | 1 - plugins/junit/java-tests/BUILD.bazel | 6 +-- plugins/junit/kotlin-tests-k1/BUILD.bazel | 6 +-- plugins/junit/kotlin-tests-k2/BUILD.bazel | 6 +-- plugins/junit/kotlin-tests-shared/BUILD.bazel | 6 +-- plugins/junit5_rt_tests/BUILD.bazel | 1 - plugins/keymaps/eclipse-keymap/BUILD.bazel | 6 +-- .../keymaps/netbeans5.6-keymap/BUILD.bazel | 6 +-- plugins/keymaps/qtcreator-keymap/BUILD.bazel | 6 +-- plugins/keymaps/resharper-keymap/BUILD.bazel | 6 +-- .../keymaps/visual-assist-keymap/BUILD.bazel | 6 +-- .../visual-studio-for-mac-keymap/BUILD.bazel | 6 +-- .../keymaps/visual-studio-keymap/BUILD.bazel | 6 +-- .../visual-studio2022-keymap/BUILD.bazel | 6 +-- plugins/keymaps/vscode-keymap/BUILD.bazel | 6 +-- plugins/keymaps/xcode-keymap/BUILD.bazel | 6 +-- plugins/kotlin/BUILD.bazel | 5 ++- plugins/kotlin/all-tests-compose/BUILD.bazel | 5 ++- plugins/kotlin/all-tests-fir/BUILD.bazel | 5 ++- plugins/kotlin/all-tests/BUILD.bazel | 5 ++- .../analysis-api-k2-tests/BUILD.bazel | 6 +-- .../kotlin/base/analysis/tests/BUILD.bazel | 6 +-- plugins/kotlin/base/facet/tests/BUILD.bazel | 6 +-- .../kotlin/base/frontend-agnostic/BUILD.bazel | 7 ++-- plugins/kotlin/base/indices/tests/BUILD.bazel | 6 +-- plugins/kotlin/base/test/BUILD.bazel | 6 +-- .../code-insight/descriptions/BUILD.bazel | 6 +-- .../code-insight/fixes-k2/tests/BUILD.bazel | 6 +-- .../inspections-k2/tests/BUILD.bazel | 6 +-- .../inspections-shared/tests/k1/BUILD.bazel | 6 +-- .../inspections-shared/tests/k2/BUILD.bazel | 6 +-- .../intentions-k2/tests/BUILD.bazel | 6 +-- .../intentions-shared/tests/k1/BUILD.bazel | 6 +-- .../intentions-shared/tests/k2/BUILD.bazel | 6 +-- .../structural-search-k2/tests/BUILD.bazel | 6 +-- .../allopen/tests-k1/BUILD.bazel | 6 +-- .../compiler-plugin-support/tests/BUILD.bazel | 6 +-- .../kotlinx-serialization/tests/BUILD.bazel | 6 +-- .../compiler-plugins/noarg/tests/BUILD.bazel | 6 +-- .../parcelize/tests/BUILD.bazel | 6 +-- .../parcelize/tests/k1/BUILD.bazel | 6 +-- .../parcelize/tests/k2/BUILD.bazel | 6 +-- .../tests.k2/BUILD.bazel | 6 +-- .../tests/BUILD.bazel | 6 +-- .../kotlin/completion/tests-k1/BUILD.bazel | 6 +-- .../completion/tests-shared/BUILD.bazel | 6 +-- .../kotlin/copyright/fir-tests/BUILD.bazel | 6 +-- plugins/kotlin/copyright/tests/BUILD.bazel | 6 +-- plugins/kotlin/core/tests/BUILD.bazel | 6 +-- plugins/kotlin/coverage/tests/BUILD.bazel | 6 +-- .../kotlin/features-trainer/tests/BUILD.bazel | 6 +-- plugins/kotlin/fir/tests/BUILD.bazel | 6 +-- .../code-insight-groovy/tests.k2/BUILD.bazel | 6 +-- .../gradle-java/tests.shared/BUILD.bazel | 6 +-- .../kotlin/gradle/gradle-tooling/BUILD.bazel | 6 +-- .../gradle/gradle-tooling/tests/BUILD.bazel | 6 +-- .../kotlin/gradle/gradle/tests/BUILD.bazel | 6 +-- .../gradle/multiplatform-tests-k2/BUILD.bazel | 1 - .../gradle/multiplatform-tests/BUILD.bazel | 1 - .../highlighting-shared/tests/BUILD.bazel | 6 +-- plugins/kotlin/i18n/tests/BUILD.bazel | 6 +-- plugins/kotlin/idea/tests/BUILD.bazel | 6 +-- .../kotlin/injection/base/tests/BUILD.bazel | 6 +-- plugins/kotlin/injection/k1/tests/BUILD.bazel | 6 +-- plugins/kotlin/injection/k2/tests/BUILD.bazel | 6 +-- plugins/kotlin/j2k/k1.new/tests/BUILD.bazel | 6 +-- plugins/kotlin/j2k/k2/tests/BUILD.bazel | 6 +-- plugins/kotlin/j2k/shared/tests/BUILD.bazel | 6 +-- .../jps/graphImplementationTests/BUILD.bazel | 6 +-- plugins/kotlin/jvm-debugger/test/BUILD.bazel | 6 +-- .../jvm-debugger/test/compose/BUILD.bazel | 6 +-- .../kotlin/jvm-debugger/test/k2/BUILD.bazel | 6 +-- .../jvm-debugger/test/parcelize/BUILD.bazel | 6 +-- .../kotlin/kotlin.lombok.tests/BUILD.bazel | 6 +-- .../kotlin.searching.test.k2/BUILD.bazel | 6 +-- plugins/kotlin/maven/tests/BUILD.bazel | 6 +-- .../kotlin/ml-completion/tests/BUILD.bazel | 6 +-- plugins/kotlin/native/tests/BUILD.bazel | 6 +-- plugins/kotlin/navigation/tests/BUILD.bazel | 6 +-- plugins/kotlin/performance-tests/BUILD.bazel | 6 +-- .../performance-test-utils/BUILD.bazel | 6 +-- plugins/kotlin/plugin/BUILD.bazel | 6 +-- plugins/kotlin/plugin/k1/BUILD.bazel | 6 +-- .../kotlin/project-wizard/tests/BUILD.bazel | 6 +-- .../BUILD.bazel | 6 +-- .../kotlin.refactorings.tests.k2/BUILD.bazel | 6 +-- plugins/kotlin/scripting-support/BUILD.bazel | 6 +-- plugins/kotlin/test-framework/BUILD.bazel | 6 +-- plugins/kotlin/tests-common/BUILD.bazel | 6 +-- plugins/kotlin/tests-compose/BUILD.bazel | 6 +-- .../kotlin/tests-from-compiler/BUILD.bazel | 6 +-- .../uast/uast-kotlin-base/tests/BUILD.bazel | 6 +-- .../uast/uast-kotlin-fir/tests/BUILD.bazel | 6 +-- .../uast-kotlin-idea-base/tests/BUILD.bazel | 6 +-- .../uast-kotlin-idea-fir/tests/BUILD.bazel | 6 +-- .../uast/uast-kotlin-idea/tests/BUILD.bazel | 6 +-- .../kotlin/uast/uast-kotlin/tests/BUILD.bazel | 6 +-- .../util/compiler-dependencies/BUILD.bazel | 5 ++- .../util/test-generator-all/BUILD.bazel | 1 - .../util/test-generator-api/BUILD.bazel | 6 +-- .../util/test-generator-fe10/BUILD.bazel | 6 +-- .../util/test-generator-fir/BUILD.bazel | 6 +-- plugins/markdown/plugin/BUILD.bazel | 5 ++- plugins/markdown/test/BUILD.bazel | 6 +-- plugins/maven/src/test/BUILD.bazel | 6 +-- plugins/properties/tests/BUILD.bazel | 6 +-- plugins/settings-repository/BUILD.bazel | 1 - plugins/sh/BUILD.bazel | 6 +-- plugins/sh/copyright/BUILD.bazel | 1 - plugins/sh/core/BUILD.bazel | 6 +-- plugins/stats-collector/BUILD.bazel | 6 +-- plugins/svn4idea/BUILD.bazel | 6 +-- plugins/tasks/tasks-tests/BUILD.bazel | 6 +-- plugins/testng_rt/tests/BUILD.bazel | 6 +-- plugins/toml/BUILD.bazel | 6 +-- plugins/toml/tests/BUILD.bazel | 6 +-- plugins/turboComplete/BUILD.bazel | 1 - .../ui-designer/jps-plugin/tests/BUILD.bazel | 6 +-- python/BUILD.bazel | 40 ++++++++++--------- python/build/build-debug-binaries/BUILD.bazel | 2 +- python/ide/customization.shared/BUILD.bazel | 6 +-- python/junit5Tests-framework/BUILD.bazel | 6 +-- .../junit5Tests-framework/conda/BUILD.bazel | 6 +-- python/pluginCore/BUILD.bazel | 6 +-- resources-en/BUILD.bazel | 6 +-- resources/BUILD.bazel | 6 +-- tools/devLauncher/tests/BUILD.bazel | 6 +-- uast/uast-tests/BUILD.bazel | 6 +-- xml/dom-tests/BUILD.bazel | 6 +-- xml/tests/BUILD.bazel | 6 +-- 270 files changed, 766 insertions(+), 768 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index b13837ec30cf..98fda6113d23 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -77,11 +77,12 @@ java_binary( exports_files(["intellij.idea.community.main.iml"]) ### auto-generated section `build intellij.idea.community.main` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "main", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//platform/main/intellij.platform.monolith.main:monolith-main", "//plugins/coverage", @@ -262,11 +263,12 @@ java_library( ### auto-generated section `build intellij.idea.community.main` end ### auto-generated section `build intellij.idea.community.main.android` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "main-android", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//android/android:core", "//:main", diff --git a/build/tests/BUILD.bazel b/build/tests/BUILD.bazel index 99f7c0a701ec..cb4d36018d42 100644 --- a/build/tests/BUILD.bazel +++ b/build/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.idea.community.build.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/community-resources/BUILD.bazel b/community-resources/BUILD.bazel index 5ae9460ab6f5..a9aae0bb1b68 100644 --- a/community-resources/BUILD.bazel +++ b/community-resources/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.idea.community.customization` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "customization_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "customization", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":customization_resources", "//java/ide-resources", diff --git a/fleet/compiler-plugins/BUILD.bazel b/fleet/compiler-plugins/BUILD.bazel index bd910534fe65..5e4db4ae33f9 100644 --- a/fleet/compiler-plugins/BUILD.bazel +++ b/fleet/compiler-plugins/BUILD.bazel @@ -1,9 +1,10 @@ ### auto-generated section `build fleet.compiler.plugins` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "compiler-plugins", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True, exclude = ["**/module-info.java"]), runtime_deps = [ "@lib//:expects-compiler-plugin", "@lib//:noria-compiler-plugin", diff --git a/idea/customization/backend/BUILD.bazel b/idea/customization/backend/BUILD.bazel index d03b33ddf1a9..950d9f0e65a2 100644 --- a/idea/customization/backend/BUILD.bazel +++ b/idea/customization/backend/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.idea.customization.backend` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "backend_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "backend", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":backend_resources"] ) ### auto-generated section `build intellij.idea.customization.backend` end \ No newline at end of file diff --git a/java/compiler/BUILD.bazel b/java/compiler/BUILD.bazel index 43db21bed9c6..fe61ed49512b 100644 --- a/java/compiler/BUILD.bazel +++ b/java/compiler/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.java.compiler.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "compiler-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/java/debugger/debugger-agent/BUILD.bazel b/java/debugger/debugger-agent/BUILD.bazel index 40058d45c239..c061c18e4828 100644 --- a/java/debugger/debugger-agent/BUILD.bazel +++ b/java/debugger/debugger-agent/BUILD.bazel @@ -1,9 +1,10 @@ ### auto-generated section `build intellij.java.debugger.agent.holder` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "java-debugger-agent-holder", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = ["@lib//:java-debugger-agent-holder-debugger-agent"] ) ### auto-generated section `build intellij.java.debugger.agent.holder` end \ No newline at end of file diff --git a/java/ide-resources/BUILD.bazel b/java/ide-resources/BUILD.bazel index 810334b87b52..3f6336d72df8 100644 --- a/java/ide-resources/BUILD.bazel +++ b/java/ide-resources/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.ide.resources` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "ide-resources_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "ide-resources", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":ide-resources_resources"] ) ### auto-generated section `build intellij.java.ide.resources` end \ No newline at end of file diff --git a/java/idea-ui/BUILD.bazel b/java/idea-ui/BUILD.bazel index de085a07248f..fea7d452d417 100644 --- a/java/idea-ui/BUILD.bazel +++ b/java/idea-ui/BUILD.bazel @@ -69,12 +69,12 @@ jvm_library( ### auto-generated section `build intellij.java.ui.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "ui-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/java/java-frontback-tests/BUILD.bazel b/java/java-frontback-tests/BUILD.bazel index 8b2414db7da4..28610bd7da29 100644 --- a/java/java-frontback-tests/BUILD.bazel +++ b/java/java-frontback-tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.java.frontback.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "frontback-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/java/java-terminal/BUILD.bazel b/java/java-terminal/BUILD.bazel index 935495c9cd1a..974f03a48ce5 100644 --- a/java/java-terminal/BUILD.bazel +++ b/java/java-terminal/BUILD.bazel @@ -26,12 +26,12 @@ jvm_library( ### auto-generated section `build intellij.java.terminal.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "terminal-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/java/java-tests/BUILD.bazel b/java/java-tests/BUILD.bazel index ad9fdfadefc0..ae087c6a18f2 100644 --- a/java/java-tests/BUILD.bazel +++ b/java/java-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "testData/inspection" ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/java/plugin/BUILD.bazel b/java/plugin/BUILD.bazel index 22959d3d13d6..f6e049a49f53 100644 --- a/java/plugin/BUILD.bazel +++ b/java/plugin/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.plugin` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "plugin_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "plugin", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":plugin_resources", "//java/compiler/impl", diff --git a/jps/jps-builders/BUILD.bazel b/jps/jps-builders/BUILD.bazel index 3c6c93081aa5..5343074f5dff 100644 --- a/jps/jps-builders/BUILD.bazel +++ b/jps/jps-builders/BUILD.bazel @@ -61,7 +61,6 @@ jvm_library( ### auto-generated section `build intellij.platform.jps.build.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -70,9 +69,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "build-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/jps/model-impl/BUILD.bazel b/jps/model-impl/BUILD.bazel index 21e137027e36..88edff492499 100644 --- a/jps/model-impl/BUILD.bazel +++ b/jps/model-impl/BUILD.bazel @@ -24,7 +24,6 @@ jvm_library( ### auto-generated section `build intellij.platform.jps.model.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -33,9 +32,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "model-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/jps/model-serialization/BUILD.bazel b/jps/model-serialization/BUILD.bazel index ef2787680964..5aebe6f63963 100644 --- a/jps/model-serialization/BUILD.bazel +++ b/jps/model-serialization/BUILD.bazel @@ -27,7 +27,6 @@ jvm_library( ### auto-generated section `build intellij.platform.jps.model.serialization.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -36,9 +35,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "model-serialization-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/json/backend/tests/BUILD.bazel b/json/backend/tests/BUILD.bazel index 26389c9286ba..ed1577e4c5fd 100644 --- a/json/backend/tests/BUILD.bazel +++ b/json/backend/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.json.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "testData" ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/jvm/jvm-analysis-java-tests/BUILD.bazel b/jvm/jvm-analysis-java-tests/BUILD.bazel index 5542f7a299ed..629f1218993c 100644 --- a/jvm/jvm-analysis-java-tests/BUILD.bazel +++ b/jvm/jvm-analysis-java-tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.jvm.analysis.java.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "analysis-java-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/jvm/jvm-analysis-kotlin-tests-k1/BUILD.bazel b/jvm/jvm-analysis-kotlin-tests-k1/BUILD.bazel index acdf6dc04823..3f714a33889a 100644 --- a/jvm/jvm-analysis-kotlin-tests-k1/BUILD.bazel +++ b/jvm/jvm-analysis-kotlin-tests-k1/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.jvm.analysis.kotlin.tests.k1` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "analysis-kotlin-tests-k1", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/jvm/jvm-analysis-kotlin-tests-k2/BUILD.bazel b/jvm/jvm-analysis-kotlin-tests-k2/BUILD.bazel index b1619e2c508b..d4a765708095 100644 --- a/jvm/jvm-analysis-kotlin-tests-k2/BUILD.bazel +++ b/jvm/jvm-analysis-kotlin-tests-k2/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.jvm.analysis.kotlin.tests.k2` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "analysis-kotlin-tests-k2", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/jvm/jvm-analysis-kotlin-tests-shared/BUILD.bazel b/jvm/jvm-analysis-kotlin-tests-shared/BUILD.bazel index 53dec1451f07..04d2b21388ed 100644 --- a/jvm/jvm-analysis-kotlin-tests-shared/BUILD.bazel +++ b/jvm/jvm-analysis-kotlin-tests-shared/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.jvm.analysis.kotlin.tests.shared` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "analysis-kotlin-tests-shared", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/libraries/ai.grazie.spell.gec.engine.local/BUILD.bazel b/libraries/ai.grazie.spell.gec.engine.local/BUILD.bazel index 86fea789a272..0a3a914d1496 100644 --- a/libraries/ai.grazie.spell.gec.engine.local/BUILD.bazel +++ b/libraries/ai.grazie.spell.gec.engine.local/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.ai.grazie.spell.gec.engine.local` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "ai.grazie.spell.gec.engine.local_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "ai.grazie.spell.gec.engine.local", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = [ "@lib//:libraries-ai-grazie-spell-gec-engine-local-ai-grazie-spell-gec-engine-local", "@lib//:libraries-ai-grazie-spell-gec-engine-local-ai-grazie-spell-hunspell-en", diff --git a/libraries/assertj-core/BUILD.bazel b/libraries/assertj-core/BUILD.bazel index 0ef9d8ad4a9b..d34c98411069 100644 --- a/libraries/assertj-core/BUILD.bazel +++ b/libraries/assertj-core/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.assertj.core` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "assertj-core_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "assertj-core", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:assert_j"], runtime_deps = [ ":assertj-core_resources", diff --git a/libraries/compose-foundation-desktop-junit/BUILD.bazel b/libraries/compose-foundation-desktop-junit/BUILD.bazel index f014be35967d..8d1e5d02cf5c 100644 --- a/libraries/compose-foundation-desktop-junit/BUILD.bazel +++ b/libraries/compose-foundation-desktop-junit/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.compose.foundation.desktop.junit` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "compose-foundation-desktop-junit_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "compose-foundation-desktop-junit", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = [ "//libraries/compose-foundation-desktop", "@lib//:libraries-compose-foundation-desktop-junit-org-jetbrains-compose-ui-ui-test-junit4", diff --git a/libraries/compose-foundation-desktop/BUILD.bazel b/libraries/compose-foundation-desktop/BUILD.bazel index ae180efba98a..94076ab23eef 100644 --- a/libraries/compose-foundation-desktop/BUILD.bazel +++ b/libraries/compose-foundation-desktop/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.compose.foundation.desktop` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "compose-foundation-desktop_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "compose-foundation-desktop", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:libraries-compose-foundation-desktop-compose-foundation-desktop"], runtime_deps = [ ":compose-foundation-desktop_resources", diff --git a/libraries/dokka/BUILD.bazel b/libraries/dokka/BUILD.bazel index 20e533048c57..32c683796b13 100644 --- a/libraries/dokka/BUILD.bazel +++ b/libraries/dokka/BUILD.bazel @@ -1,3 +1,3 @@ ### auto-generated section `build intellij.libraries.dokka` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") ### auto-generated section `build intellij.libraries.dokka` end \ No newline at end of file diff --git a/libraries/grpc-netty-shaded/BUILD.bazel b/libraries/grpc-netty-shaded/BUILD.bazel index a2a49f59d8de..6221db966c38 100644 --- a/libraries/grpc-netty-shaded/BUILD.bazel +++ b/libraries/grpc-netty-shaded/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.grpc.netty.shaded` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "grpc-netty-shaded_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "grpc-netty-shaded", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:grpc-netty-shaded"], runtime_deps = [ ":grpc-netty-shaded_resources", diff --git a/libraries/grpc/BUILD.bazel b/libraries/grpc/BUILD.bazel index eea261a26a8c..6cbd30ccf466 100644 --- a/libraries/grpc/BUILD.bazel +++ b/libraries/grpc/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.grpc` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "grpc_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "grpc", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = [ "@lib//:grpc-core", "@lib//:grpc-stub", diff --git a/libraries/hamcrest-more-matchers/BUILD.bazel b/libraries/hamcrest-more-matchers/BUILD.bazel index 99b76fccbfc7..efbf13efbdc2 100644 --- a/libraries/hamcrest-more-matchers/BUILD.bazel +++ b/libraries/hamcrest-more-matchers/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.hamcrest.more.matchers` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "hamcrest-more-matchers_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "hamcrest-more-matchers", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:libraries-hamcrest-more-matchers-github-seregamorph-hamcrest-more-matchers"], runtime_deps = [ ":hamcrest-more-matchers_resources", diff --git a/libraries/hamcrest/BUILD.bazel b/libraries/hamcrest/BUILD.bazel index 6e239039a559..c5c7a75fb632 100644 --- a/libraries/hamcrest/BUILD.bazel +++ b/libraries/hamcrest/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.hamcrest` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "hamcrest_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "hamcrest", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:hamcrest"], runtime_deps = [ ":hamcrest_resources", diff --git a/libraries/io/BUILD.bazel b/libraries/io/BUILD.bazel index db2a604572a7..4b7fe7def6a1 100644 --- a/libraries/io/BUILD.bazel +++ b/libraries/io/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.kotlinx.io` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "io_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "io", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:kotlinx-io-core"], runtime_deps = [ ":io_resources", diff --git a/libraries/junit4/BUILD.bazel b/libraries/junit4/BUILD.bazel index 7b7db2cdbfae..dc40d9914691 100644 --- a/libraries/junit4/BUILD.bazel +++ b/libraries/junit4/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.junit4` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "junit4_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "junit4", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:junit4"], runtime_deps = [ ":junit4_resources", diff --git a/libraries/junit5-launcher/BUILD.bazel b/libraries/junit5-launcher/BUILD.bazel index 82f2a6cbf985..4486c973b3ac 100644 --- a/libraries/junit5-launcher/BUILD.bazel +++ b/libraries/junit5-launcher/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.junit5.launcher` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "junit5-launcher_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "junit5-launcher", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:junit5Launcher"], runtime_deps = [ ":junit5-launcher_resources", diff --git a/libraries/junit5-params/BUILD.bazel b/libraries/junit5-params/BUILD.bazel index 0e927b528847..d83e9037afba 100644 --- a/libraries/junit5-params/BUILD.bazel +++ b/libraries/junit5-params/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.junit5.params` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "junit5-params_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "junit5-params", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:junit5Params"], runtime_deps = [ ":junit5-params_resources", diff --git a/libraries/junit5-pioneer/BUILD.bazel b/libraries/junit5-pioneer/BUILD.bazel index 3cfb68ccd3ae..eee484f21117 100644 --- a/libraries/junit5-pioneer/BUILD.bazel +++ b/libraries/junit5-pioneer/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.junit5.pioneer` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "junit5-pioneer_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "junit5-pioneer", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:junit5Pioneer"], runtime_deps = [ ":junit5-pioneer_resources", diff --git a/libraries/junit5/BUILD.bazel b/libraries/junit5/BUILD.bazel index c59d6d3036f1..2af3991de240 100644 --- a/libraries/junit5/BUILD.bazel +++ b/libraries/junit5/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.junit5` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "junit5_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "junit5", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:junit5"], runtime_deps = [ ":junit5_resources", diff --git a/libraries/kotlin-test-assertions-core-jvm/BUILD.bazel b/libraries/kotlin-test-assertions-core-jvm/BUILD.bazel index 2157413abb8a..82cc121188dd 100644 --- a/libraries/kotlin-test-assertions-core-jvm/BUILD.bazel +++ b/libraries/kotlin-test-assertions-core-jvm/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.kotlinTestAssertionsCoreJvm` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "kotlin-test-assertions-core-jvm_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "kotlin-test-assertions-core-jvm", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:kotlin-test-assertions-core-jvm"], runtime_deps = [ ":kotlin-test-assertions-core-jvm_resources", diff --git a/libraries/kotlin-test/BUILD.bazel b/libraries/kotlin-test/BUILD.bazel index 657b5815ffb9..97e8274abe22 100644 --- a/libraries/kotlin-test/BUILD.bazel +++ b/libraries/kotlin-test/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.kotlinTest` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "kotlin-test_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "kotlin-test", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:kotlin-test"], runtime_deps = [ ":kotlin-test_resources", diff --git a/libraries/ktor-client-cio/BUILD.bazel b/libraries/ktor-client-cio/BUILD.bazel index bbc6bb92cc34..bbff8b54194e 100644 --- a/libraries/ktor-client-cio/BUILD.bazel +++ b/libraries/ktor-client-cio/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.ktor.client.cio` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "ktor-client-cio_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "ktor-client-cio", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = [ "@lib//:libraries-ktor-client-cio-ktor-client-cio-internal", "//libraries/ktor-client", diff --git a/libraries/ktor-client/BUILD.bazel b/libraries/ktor-client/BUILD.bazel index 12f155db19d2..aba5ac6d88b3 100644 --- a/libraries/ktor-client/BUILD.bazel +++ b/libraries/ktor-client/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.ktor.client` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "ktor-client_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "ktor-client", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = [ "@lib//:ktor-client-core", "@lib//:ktor-client-java", diff --git a/libraries/lucene.common/BUILD.bazel b/libraries/lucene.common/BUILD.bazel index 272bc1b11781..16873cf58eb6 100644 --- a/libraries/lucene.common/BUILD.bazel +++ b/libraries/lucene.common/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.lucene.common` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "lucene.common_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "lucene.common", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = [ "@lib//:lucene-analysis-common", "@lib//:lucene-core", diff --git a/libraries/skiko/BUILD.bazel b/libraries/skiko/BUILD.bazel index 0591a16f1448..73c994aeda6a 100644 --- a/libraries/skiko/BUILD.bazel +++ b/libraries/skiko/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.skiko` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "skiko_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "skiko", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = [ "@lib//:libraries-skiko-jetbrains-skiko-awt-compose", "@lib//:libraries-skiko-jetbrains-skiko-awt-runtime-all", diff --git a/libraries/testcontainers/BUILD.bazel b/libraries/testcontainers/BUILD.bazel index b3949f4f8db4..f617e8ac5b34 100644 --- a/libraries/testcontainers/BUILD.bazel +++ b/libraries/testcontainers/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.testcontainers` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "testcontainers_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "testcontainers", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:testcontainers"], runtime_deps = [ ":testcontainers_resources", diff --git a/libraries/testng/BUILD.bazel b/libraries/testng/BUILD.bazel index 40d0ca3f6450..bf25b28fc844 100644 --- a/libraries/testng/BUILD.bazel +++ b/libraries/testng/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.testng` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "testng_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "testng", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:test_n_g"], runtime_deps = [ ":testng_resources", diff --git a/libraries/xerces/BUILD.bazel b/libraries/xerces/BUILD.bazel index c9b6bffb2118..5b209f388400 100644 --- a/libraries/xerces/BUILD.bazel +++ b/libraries/xerces/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.libraries.xerces` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "xerces_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "xerces", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:libraries-xerces-_xerces"], runtime_deps = [ ":xerces_resources", diff --git a/platform/backend/BUILD.bazel b/platform/backend/BUILD.bazel index dae91e33656d..ce396e304ffd 100644 --- a/platform/backend/BUILD.bazel +++ b/platform/backend/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.backend` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "backend_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "backend", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":backend_resources"] ) ### auto-generated section `build intellij.platform.backend` end \ No newline at end of file diff --git a/platform/build-scripts/codeOptimizer/BUILD.bazel b/platform/build-scripts/codeOptimizer/BUILD.bazel index 22de434ef4ce..38481b0a3bf9 100644 --- a/platform/build-scripts/codeOptimizer/BUILD.bazel +++ b/platform/build-scripts/codeOptimizer/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.buildScripts.codeOptimizer` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( diff --git a/platform/build-scripts/tests/BUILD.bazel b/platform/build-scripts/tests/BUILD.bazel index 20c60c381cbe..03d9da19fa55 100644 --- a/platform/build-scripts/tests/BUILD.bazel +++ b/platform/build-scripts/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.buildScripts.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/built-in-server/BUILD.bazel b/platform/built-in-server/BUILD.bazel index e7d2acac7acf..189ac1c57fa7 100644 --- a/platform/built-in-server/BUILD.bazel +++ b/platform/built-in-server/BUILD.bazel @@ -51,7 +51,6 @@ jvm_library( ### auto-generated section `build intellij.platform.builtInServer.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -60,9 +59,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "builtInServer-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/compose/compiler-plugin/BUILD.bazel b/platform/compose/compiler-plugin/BUILD.bazel index 62ea1e9c242c..ebc769b2c8a3 100644 --- a/platform/compose/compiler-plugin/BUILD.bazel +++ b/platform/compose/compiler-plugin/BUILD.bazel @@ -1,8 +1,9 @@ ### auto-generated section `build intellij.platform.compose.compilerPlugin` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "compiler-plugin", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) ### auto-generated section `build intellij.platform.compose.compilerPlugin` end \ No newline at end of file diff --git a/platform/compose/markdown/BUILD.bazel b/platform/compose/markdown/BUILD.bazel index 64821021f44b..f7acb6d43e5d 100644 --- a/platform/compose/markdown/BUILD.bazel +++ b/platform/compose/markdown/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.compose.markdown` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "markdown_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "markdown", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = [ "//platform/compose", "//platform/jewel/markdown/core", diff --git a/platform/configuration-store-impl/BUILD.bazel b/platform/configuration-store-impl/BUILD.bazel index 1e6c602649ed..74d3900f3568 100644 --- a/platform/configuration-store-impl/BUILD.bazel +++ b/platform/configuration-store-impl/BUILD.bazel @@ -55,7 +55,6 @@ jvm_library( ### auto-generated section `build intellij.platform.configurationStore.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -64,9 +63,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "configurationStore-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/core-nio-fs/BUILD.bazel b/platform/core-nio-fs/BUILD.bazel index 714e5c147d3f..6ff477fa37fd 100644 --- a/platform/core-nio-fs/BUILD.bazel +++ b/platform/core-nio-fs/BUILD.bazel @@ -28,7 +28,6 @@ jvm_library( ### auto-generated section `build intellij.platform.core.nio.fs.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/platform/diff-impl/tests/BUILD.bazel b/platform/diff-impl/tests/BUILD.bazel index a32720989ff9..98ca9542d06d 100644 --- a/platform/diff-impl/tests/BUILD.bazel +++ b/platform/diff-impl/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.diff.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "testData" ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/eel/BUILD.bazel b/platform/eel/BUILD.bazel index 0dfc4a9b04de..c7aae85b9954 100644 --- a/platform/eel/BUILD.bazel +++ b/platform/eel/BUILD.bazel @@ -16,7 +16,6 @@ jvm_library( ### auto-generated section `build intellij.platform.eel.codegen` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( @@ -57,7 +56,6 @@ jps_test( ### auto-generated section `build intellij.platform.eel.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/platform/execution-impl/BUILD.bazel b/platform/execution-impl/BUILD.bazel index bd0848ba51b1..bec50f2c3373 100644 --- a/platform/execution-impl/BUILD.bazel +++ b/platform/execution-impl/BUILD.bazel @@ -74,12 +74,12 @@ jvm_library( ### auto-generated section `build intellij.platform.execution.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "execution-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/execution.dashboard/backend/BUILD.bazel b/platform/execution.dashboard/backend/BUILD.bazel index c652f9ce3242..ec49c834646a 100644 --- a/platform/execution.dashboard/backend/BUILD.bazel +++ b/platform/execution.dashboard/backend/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.execution.dashboard.backend` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "backend_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "backend", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":backend_resources"] ) ### auto-generated section `build intellij.platform.execution.dashboard.backend` end \ No newline at end of file diff --git a/platform/execution.dashboard/frontend/BUILD.bazel b/platform/execution.dashboard/frontend/BUILD.bazel index 7335d97cc5e7..d6a2a3bdccab 100644 --- a/platform/execution.dashboard/frontend/BUILD.bazel +++ b/platform/execution.dashboard/frontend/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.execution.dashboard.frontend` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "frontend_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "frontend", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":frontend_resources", "@lib//:kotlin-stdlib", diff --git a/platform/execution.serviceView/frontend/BUILD.bazel b/platform/execution.serviceView/frontend/BUILD.bazel index eff29b230560..1c95fd94b02b 100644 --- a/platform/execution.serviceView/frontend/BUILD.bazel +++ b/platform/execution.serviceView/frontend/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.execution.serviceView.frontend` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "frontend_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "frontend", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":frontend_resources", "@lib//:kotlin-stdlib", diff --git a/platform/external-system-api/dependency-updater/BUILD.bazel b/platform/external-system-api/dependency-updater/BUILD.bazel index 4917f1fe99b8..42ee0b5e576d 100644 --- a/platform/external-system-api/dependency-updater/BUILD.bazel +++ b/platform/external-system-api/dependency-updater/BUILD.bazel @@ -28,7 +28,6 @@ jvm_library( ### auto-generated section `build intellij.platform.externalSystem.dependencyUpdater.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( diff --git a/platform/external-system-impl/BUILD.bazel b/platform/external-system-impl/BUILD.bazel index 3e8d6a34c8ba..4e693ab4820d 100644 --- a/platform/external-system-impl/BUILD.bazel +++ b/platform/external-system-impl/BUILD.bazel @@ -61,7 +61,6 @@ jvm_library( ### auto-generated section `build intellij.platform.externalSystem.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -70,9 +69,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "externalSystem-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/icons/BUILD.bazel b/platform/icons/BUILD.bazel index 8cbd5dccdea4..3ce18bb354b0 100644 --- a/platform/icons/BUILD.bazel +++ b/platform/icons/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.icons` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "icons_resources", @@ -14,9 +13,10 @@ jvm_resources( strip_prefix = "src" ) -java_library( +jvm_library( name = "icons", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":icons_resources", ":icons_resources_1", diff --git a/platform/indexing-tests/BUILD.bazel b/platform/indexing-tests/BUILD.bazel index a0badfcc34c2..7c9598918227 100644 --- a/platform/indexing-tests/BUILD.bazel +++ b/platform/indexing-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.indexing.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/platform/instanceContainer/BUILD.bazel b/platform/instanceContainer/BUILD.bazel index 1b884f1040d1..390c450d7e81 100644 --- a/platform/instanceContainer/BUILD.bazel +++ b/platform/instanceContainer/BUILD.bazel @@ -18,7 +18,6 @@ jvm_library( ### auto-generated section `build intellij.platform.instanceContainer.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/platform/jewel/ui-tests/BUILD.bazel b/platform/jewel/ui-tests/BUILD.bazel index df9bc2ee22ad..1be85aff64de 100644 --- a/platform/jewel/ui-tests/BUILD.bazel +++ b/platform/jewel/ui-tests/BUILD.bazel @@ -1,7 +1,6 @@ ### auto-generated section `build intellij.platform.jewel.uiTests` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") create_kotlinc_options( @@ -21,9 +20,10 @@ jvm_resources( strip_prefix = "src/test/resources" ) -java_library( +jvm_library( name = "ui-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/lang-impl/BUILD.bazel b/platform/lang-impl/BUILD.bazel index 829fd0408d5d..e1fed7f9514e 100644 --- a/platform/lang-impl/BUILD.bazel +++ b/platform/lang-impl/BUILD.bazel @@ -137,12 +137,12 @@ jvm_library( ### auto-generated section `build intellij.platform.lang.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "lang-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/lang-impl/testEntities/BUILD.bazel b/platform/lang-impl/testEntities/BUILD.bazel index f67b2f119984..a97a63a1ae39 100644 --- a/platform/lang-impl/testEntities/BUILD.bazel +++ b/platform/lang-impl/testEntities/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.platform.lang.testEntities` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "testEntities", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/main/intellij.platform.backend.main/BUILD.bazel b/platform/main/intellij.platform.backend.main/BUILD.bazel index 3e2634071002..d789af2f987a 100644 --- a/platform/main/intellij.platform.backend.main/BUILD.bazel +++ b/platform/main/intellij.platform.backend.main/BUILD.bazel @@ -1,9 +1,10 @@ ### auto-generated section `build intellij.platform.backend.main` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "backend-main", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//platform/main/intellij.platform.main:main", "//platform/kernel/backend", diff --git a/platform/main/intellij.platform.frontend.main/BUILD.bazel b/platform/main/intellij.platform.frontend.main/BUILD.bazel index 20f2fe1ffa5e..30933f8dead5 100644 --- a/platform/main/intellij.platform.frontend.main/BUILD.bazel +++ b/platform/main/intellij.platform.frontend.main/BUILD.bazel @@ -1,9 +1,10 @@ ### auto-generated section `build intellij.platform.frontend.main` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "frontend-main", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//platform/main/intellij.platform.main:main", "//platform/navbar/frontend", diff --git a/platform/main/intellij.platform.main/BUILD.bazel b/platform/main/intellij.platform.main/BUILD.bazel index 9606447903b9..1b27df8cfbfd 100644 --- a/platform/main/intellij.platform.main/BUILD.bazel +++ b/platform/main/intellij.platform.main/BUILD.bazel @@ -1,9 +1,10 @@ ### auto-generated section `build intellij.platform.main` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "main", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//platform/bootstrap", "//platform/remote-servers/clouds", diff --git a/platform/main/intellij.platform.monolith.main/BUILD.bazel b/platform/main/intellij.platform.monolith.main/BUILD.bazel index e3c269ceef54..e564d0c81151 100644 --- a/platform/main/intellij.platform.monolith.main/BUILD.bazel +++ b/platform/main/intellij.platform.monolith.main/BUILD.bazel @@ -1,9 +1,10 @@ ### auto-generated section `build intellij.platform.monolith.main` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "monolith-main", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//platform/main/intellij.platform.frontend.main:frontend-main", "//platform/main/intellij.platform.backend.main:backend-main", diff --git a/platform/monolith/BUILD.bazel b/platform/monolith/BUILD.bazel index 3a4cb1b7ff6a..6684078ade32 100644 --- a/platform/monolith/BUILD.bazel +++ b/platform/monolith/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.monolith` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "monolith_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "monolith", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":monolith_resources", "//platform/platform-frontend:frontend", diff --git a/platform/object-serializer/BUILD.bazel b/platform/object-serializer/BUILD.bazel index 54c0ea821062..eb08b2f55721 100644 --- a/platform/object-serializer/BUILD.bazel +++ b/platform/object-serializer/BUILD.bazel @@ -71,12 +71,12 @@ jvm_library( ### auto-generated section `build intellij.platform.objectSerializer.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "objectSerializer-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/platform-resources-en/BUILD.bazel b/platform/platform-resources-en/BUILD.bazel index 1670993e03a1..90888b89294c 100644 --- a/platform/platform-resources-en/BUILD.bazel +++ b/platform/platform-resources-en/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.resources.en` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "resources-en_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "src" ) -java_library( +jvm_library( name = "resources-en", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":resources-en_resources"] ) ### auto-generated section `build intellij.platform.resources.en` end \ No newline at end of file diff --git a/platform/platform-resources/BUILD.bazel b/platform/platform-resources/BUILD.bazel index 856918068a40..8ffd6c3614d2 100644 --- a/platform/platform-resources/BUILD.bazel +++ b/platform/platform-resources/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.resources` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "resources_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "src" ) -java_library( +jvm_library( name = "resources", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":resources_resources", "//platform/platform-impl/concurrency", diff --git a/platform/platform-tests/BUILD.bazel b/platform/platform-tests/BUILD.bazel index 84b10a730f46..3f41edc8352a 100644 --- a/platform/platform-tests/BUILD.bazel +++ b/platform/platform-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/platform-tests/benchmarks/BUILD.bazel b/platform/platform-tests/benchmarks/BUILD.bazel index d600d252c0a0..57c8914e7628 100644 --- a/platform/platform-tests/benchmarks/BUILD.bazel +++ b/platform/platform-tests/benchmarks/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.benchmarks` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/platform/platform-tests/durability/BUILD.bazel b/platform/platform-tests/durability/BUILD.bazel index 0c96ee60d659..19b79b07ed3b 100644 --- a/platform/platform-tests/durability/BUILD.bazel +++ b/platform/platform-tests/durability/BUILD.bazel @@ -1,7 +1,6 @@ ### auto-generated section `build intellij.platform.durability` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") create_kotlinc_options( diff --git a/platform/polySymbols/BUILD.bazel b/platform/polySymbols/BUILD.bazel index b86583956618..4450cfc66595 100644 --- a/platform/polySymbols/BUILD.bazel +++ b/platform/polySymbols/BUILD.bazel @@ -73,7 +73,6 @@ jvm_library( ### auto-generated section `build intellij.platform.polySymbols.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( diff --git a/platform/remote-servers/target-integration-tests/BUILD.bazel b/platform/remote-servers/target-integration-tests/BUILD.bazel index a865ede4d0e6..d16d2b39171c 100644 --- a/platform/remote-servers/target-integration-tests/BUILD.bazel +++ b/platform/remote-servers/target-integration-tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.platform.remoteServers.targetsIntegrationTests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "remoteServers-targetsIntegrationTests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/runtime/product/tests/BUILD.bazel b/platform/runtime/product/tests/BUILD.bazel index bc2d5480973e..3f2239da4521 100644 --- a/platform/runtime/product/tests/BUILD.bazel +++ b/platform/runtime/product/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.platform.runtime.product.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/runtime/repository/tests/BUILD.bazel b/platform/runtime/repository/tests/BUILD.bazel index 5b7e98d9c336..c5e91f7343e1 100644 --- a/platform/runtime/repository/tests/BUILD.bazel +++ b/platform/runtime/repository/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.platform.runtime.repository.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/statistics/envTests/BUILD.bazel b/platform/statistics/envTests/BUILD.bazel index 105510947ca4..14b4dfbe5d9a 100644 --- a/platform/statistics/envTests/BUILD.bazel +++ b/platform/statistics/envTests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.platform.statistics.envTests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "envTests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/structuralsearch/BUILD.bazel b/platform/structuralsearch/BUILD.bazel index 4bdac2ccc242..33e95d744102 100644 --- a/platform/structuralsearch/BUILD.bazel +++ b/platform/structuralsearch/BUILD.bazel @@ -44,12 +44,12 @@ jvm_library( ### auto-generated section `build intellij.platform.structuralSearch.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "structuralSearch-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/syntax/syntax-psi-tests/BUILD.bazel b/platform/syntax/syntax-psi-tests/BUILD.bazel index bf309a797a1e..72c56d7dd7a7 100644 --- a/platform/syntax/syntax-psi-tests/BUILD.bazel +++ b/platform/syntax/syntax-psi-tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.platform.syntax.psi.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "psi-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/testFramework/monorepo/BUILD.bazel b/platform/testFramework/monorepo/BUILD.bazel index 98e3fe32c72f..8e335fe119fb 100644 --- a/platform/testFramework/monorepo/BUILD.bazel +++ b/platform/testFramework/monorepo/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.platform.testFramework.monorepo` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "monorepo", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/util/BUILD.bazel b/platform/util/BUILD.bazel index 3836dab562c2..3e6132c51bc8 100644 --- a/platform/util/BUILD.bazel +++ b/platform/util/BUILD.bazel @@ -57,7 +57,6 @@ jvm_library( ### auto-generated section `build intellij.platform.util.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -72,9 +71,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "util-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/util/coroutines/BUILD.bazel b/platform/util/coroutines/BUILD.bazel index 6590465b62a7..a55a87104a8f 100644 --- a/platform/util/coroutines/BUILD.bazel +++ b/platform/util/coroutines/BUILD.bazel @@ -18,7 +18,6 @@ jvm_library( ### auto-generated section `build intellij.platform.util.coroutines.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/platform/util/immutable-key-value-store/benchmark/BUILD.bazel b/platform/util/immutable-key-value-store/benchmark/BUILD.bazel index 1ede1fe6e805..6dbe7758d979 100644 --- a/platform/util/immutable-key-value-store/benchmark/BUILD.bazel +++ b/platform/util/immutable-key-value-store/benchmark/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.platform.util.immutableKeyValueStore.benchmark` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "benchmark", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/util/progress/BUILD.bazel b/platform/util/progress/BUILD.bazel index b7eb70a6b22c..0f6f8cfb94a6 100644 --- a/platform/util/progress/BUILD.bazel +++ b/platform/util/progress/BUILD.bazel @@ -31,12 +31,12 @@ jvm_library( ### auto-generated section `build intellij.platform.util.progress.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "progress-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/util/trove/BUILD.bazel b/platform/util/trove/BUILD.bazel index bac67096cd3b..b50f41d4e328 100644 --- a/platform/util/trove/BUILD.bazel +++ b/platform/util/trove/BUILD.bazel @@ -1,9 +1,10 @@ ### auto-generated section `build intellij.platform.util.trove` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "trove", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:platform-util-trove-trove"], runtime_deps = ["@lib//:platform-util-trove-trove"] ) diff --git a/platform/vcs-impl/lang/actions/BUILD.bazel b/platform/vcs-impl/lang/actions/BUILD.bazel index 1b88666d75c7..00745f1e0bcb 100644 --- a/platform/vcs-impl/lang/actions/BUILD.bazel +++ b/platform/vcs-impl/lang/actions/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.vcs.impl.lang.actions` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "actions_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "actions", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":actions_resources", "@lib//:kotlin-stdlib", diff --git a/platform/vcs-tests/BUILD.bazel b/platform/vcs-tests/BUILD.bazel index b31ac08738a8..6a034da6ac05 100644 --- a/platform/vcs-tests/BUILD.bazel +++ b/platform/vcs-tests/BUILD.bazel @@ -28,12 +28,12 @@ jvm_library( ### auto-generated section `build intellij.platform.vcs.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "vcs-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/workspace/jps/tests/BUILD.bazel b/platform/workspace/jps/tests/BUILD.bazel index 56c49c2a5cb6..62f32346f8dd 100644 --- a/platform/workspace/jps/tests/BUILD.bazel +++ b/platform/workspace/jps/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.workspace.jps.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/workspace/storage/testEntities/BUILD.bazel b/platform/workspace/storage/testEntities/BUILD.bazel index 186e899e9130..cc4cfaaf1df7 100644 --- a/platform/workspace/storage/testEntities/BUILD.bazel +++ b/platform/workspace/storage/testEntities/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.platform.workspace.storage.testEntities` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "testEntities", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/platform/workspace/storage/tests/BUILD.bazel b/platform/workspace/storage/tests/BUILD.bazel index 2f6fcc75f73f..58eab8d174bf 100644 --- a/platform/workspace/storage/tests/BUILD.bazel +++ b/platform/workspace/storage/tests/BUILD.bazel @@ -1,7 +1,6 @@ ### auto-generated section `build intellij.platform.workspace.storage.tests` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") create_kotlinc_options( @@ -18,9 +17,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/IntelliLang/IntelliLang-tests/BUILD.bazel b/plugins/IntelliLang/IntelliLang-tests/BUILD.bazel index 7308d92c622a..1ea17d5e7731 100644 --- a/plugins/IntelliLang/IntelliLang-tests/BUILD.bazel +++ b/plugins/IntelliLang/IntelliLang-tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.platform.langInjection.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "langInjection-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/ant/jps-plugin/BUILD.bazel b/plugins/ant/jps-plugin/BUILD.bazel index 10548b869c39..1db8d7910368 100644 --- a/plugins/ant/jps-plugin/BUILD.bazel +++ b/plugins/ant/jps-plugin/BUILD.bazel @@ -27,12 +27,12 @@ jvm_library( ### auto-generated section `build intellij.ant.jps.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "jps-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/classic-ui/BUILD.bazel b/plugins/classic-ui/BUILD.bazel index d4650bb450d6..3848b2b345f9 100644 --- a/plugins/classic-ui/BUILD.bazel +++ b/plugins/classic-ui/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.classic.ui` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "classic-ui_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "classic-ui", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":classic-ui_resources"] ) ### auto-generated section `build intellij.classic.ui` end \ No newline at end of file diff --git a/plugins/color-schemes/all-hallows-eve-color-scheme/BUILD.bazel b/plugins/color-schemes/all-hallows-eve-color-scheme/BUILD.bazel index bb3902b4d8cc..a29df33ceddd 100644 --- a/plugins/color-schemes/all-hallows-eve-color-scheme/BUILD.bazel +++ b/plugins/color-schemes/all-hallows-eve-color-scheme/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.color.scheme.all_hallows_eve` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "color-scheme-all_hallows_eve_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "color-scheme-all_hallows_eve", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":color-scheme-all_hallows_eve_resources"] ) ### auto-generated section `build intellij.color.scheme.all_hallows_eve` end \ No newline at end of file diff --git a/plugins/color-schemes/blackboard-color-scheme/BUILD.bazel b/plugins/color-schemes/blackboard-color-scheme/BUILD.bazel index 1b80f65b12ff..2ccb3f882d14 100644 --- a/plugins/color-schemes/blackboard-color-scheme/BUILD.bazel +++ b/plugins/color-schemes/blackboard-color-scheme/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.color.scheme.blackboard` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "color-scheme-blackboard_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "color-scheme-blackboard", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":color-scheme-blackboard_resources"] ) ### auto-generated section `build intellij.color.scheme.blackboard` end \ No newline at end of file diff --git a/plugins/color-schemes/cobalt-color-scheme/BUILD.bazel b/plugins/color-schemes/cobalt-color-scheme/BUILD.bazel index 700ea0276953..9a8fefb5faa3 100644 --- a/plugins/color-schemes/cobalt-color-scheme/BUILD.bazel +++ b/plugins/color-schemes/cobalt-color-scheme/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.color.scheme.cobalt` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "color-scheme-cobalt_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "color-scheme-cobalt", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":color-scheme-cobalt_resources"] ) ### auto-generated section `build intellij.color.scheme.cobalt` end \ No newline at end of file diff --git a/plugins/color-schemes/github-color-scheme/BUILD.bazel b/plugins/color-schemes/github-color-scheme/BUILD.bazel index acd048123352..b1a930120dfb 100644 --- a/plugins/color-schemes/github-color-scheme/BUILD.bazel +++ b/plugins/color-schemes/github-color-scheme/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.color.scheme.github` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "color-scheme-github_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "color-scheme-github", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":color-scheme-github_resources"] ) ### auto-generated section `build intellij.color.scheme.github` end \ No newline at end of file diff --git a/plugins/color-schemes/monokai-color-scheme/BUILD.bazel b/plugins/color-schemes/monokai-color-scheme/BUILD.bazel index 65d527b277e6..214fff22fd6c 100644 --- a/plugins/color-schemes/monokai-color-scheme/BUILD.bazel +++ b/plugins/color-schemes/monokai-color-scheme/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.color.scheme.monokai` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "color-scheme-monokai_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "color-scheme-monokai", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":color-scheme-monokai_resources"] ) ### auto-generated section `build intellij.color.scheme.monokai` end \ No newline at end of file diff --git a/plugins/color-schemes/rails-casts-color-scheme/BUILD.bazel b/plugins/color-schemes/rails-casts-color-scheme/BUILD.bazel index d972147cfa6d..51df66a1d07c 100644 --- a/plugins/color-schemes/rails-casts-color-scheme/BUILD.bazel +++ b/plugins/color-schemes/rails-casts-color-scheme/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.color.scheme.rails_casts` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "color-scheme-rails_casts_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "color-scheme-rails_casts", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":color-scheme-rails_casts_resources"] ) ### auto-generated section `build intellij.color.scheme.rails_casts` end \ No newline at end of file diff --git a/plugins/color-schemes/twilight-color-scheme/BUILD.bazel b/plugins/color-schemes/twilight-color-scheme/BUILD.bazel index 04b476f08c79..e4c10300ccf3 100644 --- a/plugins/color-schemes/twilight-color-scheme/BUILD.bazel +++ b/plugins/color-schemes/twilight-color-scheme/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.color.scheme.twilight` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "color-scheme-twilight_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "color-scheme-twilight", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":color-scheme-twilight_resources"] ) ### auto-generated section `build intellij.color.scheme.twilight` end \ No newline at end of file diff --git a/plugins/color-schemes/vibrant-ink-color-scheme/BUILD.bazel b/plugins/color-schemes/vibrant-ink-color-scheme/BUILD.bazel index ca3380961553..c2da4f64330c 100644 --- a/plugins/color-schemes/vibrant-ink-color-scheme/BUILD.bazel +++ b/plugins/color-schemes/vibrant-ink-color-scheme/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.color.scheme.vibrant_ink` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "color-scheme-vibrant_ink_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "color-scheme-vibrant_ink", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":color-scheme-vibrant_ink_resources"] ) ### auto-generated section `build intellij.color.scheme.vibrant_ink` end \ No newline at end of file diff --git a/plugins/color-schemes/warm-neon-color-scheme/BUILD.bazel b/plugins/color-schemes/warm-neon-color-scheme/BUILD.bazel index 4264319f5787..c686932ae92b 100644 --- a/plugins/color-schemes/warm-neon-color-scheme/BUILD.bazel +++ b/plugins/color-schemes/warm-neon-color-scheme/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.color.scheme.warmNeon` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "color-scheme-warmNeon_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "color-scheme-warmNeon", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":color-scheme-warmNeon_resources"] ) ### auto-generated section `build intellij.color.scheme.warmNeon` end \ No newline at end of file diff --git a/plugins/completion-ml-ranking-models/BUILD.bazel b/plugins/completion-ml-ranking-models/BUILD.bazel index 1fee876c30a2..2c2b8666c36b 100644 --- a/plugins/completion-ml-ranking-models/BUILD.bazel +++ b/plugins/completion-ml-ranking-models/BUILD.bazel @@ -42,7 +42,6 @@ jvm_library( ### auto-generated section `build intellij.completionMlRankingModels.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/completion-ml-ranking/BUILD.bazel b/plugins/completion-ml-ranking/BUILD.bazel index ec5f28622925..a54ed211b72c 100644 --- a/plugins/completion-ml-ranking/BUILD.bazel +++ b/plugins/completion-ml-ranking/BUILD.bazel @@ -49,7 +49,6 @@ jvm_library( ### auto-generated section `build intellij.completionMlRanking.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/compose/BUILD.bazel b/plugins/compose/BUILD.bazel index 3cf6d67fa195..77d215b41782 100644 --- a/plugins/compose/BUILD.bazel +++ b/plugins/compose/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.compose.ide.plugin` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "compose-ide-plugin_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "compose-ide-plugin", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":compose-ide-plugin_resources"] ) ### auto-generated section `build intellij.compose.ide.plugin` end \ No newline at end of file diff --git a/plugins/compose/intellij.compose.ide.plugin.k1/BUILD.bazel b/plugins/compose/intellij.compose.ide.plugin.k1/BUILD.bazel index b02b05f20690..df6315ff65e8 100644 --- a/plugins/compose/intellij.compose.ide.plugin.k1/BUILD.bazel +++ b/plugins/compose/intellij.compose.ide.plugin.k1/BUILD.bazel @@ -46,7 +46,6 @@ jvm_library( ### auto-generated section `build intellij.compose.ide.plugin.k1.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/compose/intellij.compose.ide.plugin.k2/BUILD.bazel b/plugins/compose/intellij.compose.ide.plugin.k2/BUILD.bazel index a99ae6946324..c65165380ed3 100644 --- a/plugins/compose/intellij.compose.ide.plugin.k2/BUILD.bazel +++ b/plugins/compose/intellij.compose.ide.plugin.k2/BUILD.bazel @@ -43,7 +43,6 @@ jvm_library( ### auto-generated section `build intellij.compose.ide.plugin.k2.tests` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") create_kotlinc_options( diff --git a/plugins/compose/intellij.compose.ide.plugin.shared/BUILD.bazel b/plugins/compose/intellij.compose.ide.plugin.shared/BUILD.bazel index 158f3b903517..ed712376dfc5 100644 --- a/plugins/compose/intellij.compose.ide.plugin.shared/BUILD.bazel +++ b/plugins/compose/intellij.compose.ide.plugin.shared/BUILD.bazel @@ -48,12 +48,12 @@ jvm_library( ### auto-generated section `build intellij.compose.ide.plugin.shared.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "ide-plugin-shared-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/configuration-script/BUILD.bazel b/plugins/configuration-script/BUILD.bazel index 8c89c61d7d5d..604d383199db 100644 --- a/plugins/configuration-script/BUILD.bazel +++ b/plugins/configuration-script/BUILD.bazel @@ -82,12 +82,12 @@ jps_test( ### auto-generated section `build intellij.configurationScript.test.java` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "configurationScript-test-java", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/coverage-common/intellij.platform.coverage.agent/BUILD.bazel b/plugins/coverage-common/intellij.platform.coverage.agent/BUILD.bazel index 0a3caaedcacf..9b34c10a10a9 100644 --- a/plugins/coverage-common/intellij.platform.coverage.agent/BUILD.bazel +++ b/plugins/coverage-common/intellij.platform.coverage.agent/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.coverage.agent` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "coverage-agent_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "coverage-agent", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["@lib//:platform-coverage-agent-intellij-coverage"], runtime_deps = [ ":coverage-agent_resources", diff --git a/plugins/dev/BUILD.bazel b/plugins/dev/BUILD.bazel index 3f83b4f65d70..55674834ae41 100644 --- a/plugins/dev/BUILD.bazel +++ b/plugins/dev/BUILD.bazel @@ -1,9 +1,10 @@ ### auto-generated section `build intellij.dev.noJava.plugin.main` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "dev-noJava-plugin-main", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//plugins/dev/intellij.dev:dev", "//plugins/dev/intellij.dev.codeInsight:codeInsight", @@ -14,11 +15,12 @@ java_library( ### auto-generated section `build intellij.dev.noJava.plugin.main` end ### auto-generated section `build intellij.dev.plugin.main` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "dev-plugin-main", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//plugins/dev:dev-noJava-plugin-main", "//plugins/dev/intellij.java.dev:java-dev", diff --git a/plugins/dev/intellij.dev/BUILD.bazel b/plugins/dev/intellij.dev/BUILD.bazel index 367c99bd7379..756a9f169e63 100644 --- a/plugins/dev/intellij.dev/BUILD.bazel +++ b/plugins/dev/intellij.dev/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.dev` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "dev_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "dev", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":dev_resources"] ) ### auto-generated section `build intellij.dev` end \ No newline at end of file diff --git a/plugins/devkit/BUILD.bazel b/plugins/devkit/BUILD.bazel index c7d540a43fe3..e7027dc82c46 100644 --- a/plugins/devkit/BUILD.bazel +++ b/plugins/devkit/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.devkit` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "devkit_resources", @@ -8,19 +7,21 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "devkit", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":devkit_resources"] ) ### auto-generated section `build intellij.devkit` end ### auto-generated section `build intellij.devkit.plugin.main` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "devkit-plugin-main", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//plugins/devkit:devkit-plugin-main-noKotlin", "//plugins/devkit/intellij.kotlin.devkit:kotlin-devkit", @@ -32,11 +33,12 @@ java_library( ### auto-generated section `build intellij.devkit.plugin.main` end ### auto-generated section `build intellij.devkit.plugin.main.noKotlin` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "devkit-plugin-main-noKotlin", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//plugins/devkit", "//plugins/devkit/devkit-core:core", diff --git a/plugins/devkit/devkit-java-tests/BUILD.bazel b/plugins/devkit/devkit-java-tests/BUILD.bazel index 1c0b3c7c43a6..9c1b5b45c1a3 100644 --- a/plugins/devkit/devkit-java-tests/BUILD.bazel +++ b/plugins/devkit/devkit-java-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.devkit.java.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "testData" ) -java_library( +jvm_library( name = "java-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/devkit/devkit-kotlin-fir-tests/BUILD.bazel b/plugins/devkit/devkit-kotlin-fir-tests/BUILD.bazel index 4083333f5539..b99c13a72ce3 100644 --- a/plugins/devkit/devkit-kotlin-fir-tests/BUILD.bazel +++ b/plugins/devkit/devkit-kotlin-fir-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.devkit.kotlin.fir.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/devkit/devkit-kotlin-tests/BUILD.bazel b/plugins/devkit/devkit-kotlin-tests/BUILD.bazel index 38b0e9c522e6..108502f23bd4 100644 --- a/plugins/devkit/devkit-kotlin-tests/BUILD.bazel +++ b/plugins/devkit/devkit-kotlin-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.devkit.kotlin.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "testData" ) -java_library( +jvm_library( name = "kotlin-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/devkit/devkit-tests/BUILD.bazel b/plugins/devkit/devkit-tests/BUILD.bazel index 8c1a31f96a3a..38313aeadc7e 100644 --- a/plugins/devkit/devkit-tests/BUILD.bazel +++ b/plugins/devkit/devkit-tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.devkit.testFramework` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "testFramework", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/devkit/intellij.devkit.intelliLang/BUILD.bazel b/plugins/devkit/intellij.devkit.intelliLang/BUILD.bazel index fcd8d08b1ab3..e616d608cddd 100644 --- a/plugins/devkit/intellij.devkit.intelliLang/BUILD.bazel +++ b/plugins/devkit/intellij.devkit.intelliLang/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.devkit.intelliLang` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "intelliLang_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "intelliLang", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":intelliLang_resources"] ) ### auto-generated section `build intellij.devkit.intelliLang` end \ No newline at end of file diff --git a/plugins/devkit/intellij.devkit.workspaceModel/tests/BUILD.bazel b/plugins/devkit/intellij.devkit.workspaceModel/tests/BUILD.bazel index 0cd970e59409..deaee01d7e85 100644 --- a/plugins/devkit/intellij.devkit.workspaceModel/tests/BUILD.bazel +++ b/plugins/devkit/intellij.devkit.workspaceModel/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.devkit.workspaceModel.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/devkit/jps-plugin/BUILD.bazel b/plugins/devkit/jps-plugin/BUILD.bazel index 8ec5792ebdda..9844a49bd22a 100644 --- a/plugins/devkit/jps-plugin/BUILD.bazel +++ b/plugins/devkit/jps-plugin/BUILD.bazel @@ -30,12 +30,12 @@ jvm_library( ### auto-generated section `build intellij.devkit.jps.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "jps-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/editorconfig/BUILD.bazel b/plugins/editorconfig/BUILD.bazel index 33f9f1bbb535..b4d33b4c3a17 100644 --- a/plugins/editorconfig/BUILD.bazel +++ b/plugins/editorconfig/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.editorconfig.plugin` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "editorconfig-plugin_resources", @@ -8,19 +7,21 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "editorconfig-plugin", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":editorconfig-plugin_resources"] ) ### auto-generated section `build intellij.editorconfig.plugin` end ### auto-generated section `build intellij.editorconfig.plugin.main` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "editorconfig-plugin-main", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//plugins/editorconfig:editorconfig-plugin", "//plugins/editorconfig/common", diff --git a/plugins/evaluation-plugin/BUILD.bazel b/plugins/evaluation-plugin/BUILD.bazel index 73103d54f8e8..e8f84d2fe476 100644 --- a/plugins/evaluation-plugin/BUILD.bazel +++ b/plugins/evaluation-plugin/BUILD.bazel @@ -49,7 +49,6 @@ jvm_library( ### auto-generated section `build intellij.evaluationPlugin.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/github/community/BUILD.bazel b/plugins/github/community/BUILD.bazel index 050deebaf98d..90097236e632 100644 --- a/plugins/github/community/BUILD.bazel +++ b/plugins/github/community/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.vcs.github.community` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "community_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "community", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["//plugins/github/github-core:vcs-github"], runtime_deps = [ ":community_resources", diff --git a/plugins/gradle/BUILD.bazel b/plugins/gradle/BUILD.bazel index da24419ce9d5..90e84202bc1a 100644 --- a/plugins/gradle/BUILD.bazel +++ b/plugins/gradle/BUILD.bazel @@ -85,11 +85,12 @@ jvm_library( ### auto-generated section `build intellij.gradle` end ### auto-generated section `build intellij.gradle.common` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "gradle-common", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["//plugins/gradle"], runtime_deps = ["//plugins/gradle"] ) @@ -97,7 +98,6 @@ java_library( ### auto-generated section `build intellij.gradle.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -106,9 +106,10 @@ jvm_resources( strip_prefix = "testData" ) -java_library( +jvm_library( name = "gradle-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/gradle/gradle-declarative-sync/BUILD.bazel b/plugins/gradle/gradle-declarative-sync/BUILD.bazel index 601bb260dd6d..dd9bae4e100b 100644 --- a/plugins/gradle/gradle-declarative-sync/BUILD.bazel +++ b/plugins/gradle/gradle-declarative-sync/BUILD.bazel @@ -34,7 +34,6 @@ jvm_library( ### auto-generated section `build intellij.gradle.declarativeSync.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/gradle/java/BUILD.bazel b/plugins/gradle/java/BUILD.bazel index ce4adee1f099..5736aa45e0d7 100644 --- a/plugins/gradle/java/BUILD.bazel +++ b/plugins/gradle/java/BUILD.bazel @@ -86,7 +86,6 @@ jvm_library( ### auto-generated section `build intellij.gradle.java.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -95,9 +94,10 @@ jvm_resources( strip_prefix = "testData" ) -java_library( +jvm_library( name = "java-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/gradle/native/tooling/BUILD.bazel b/plugins/gradle/native/tooling/BUILD.bazel index 681ebd92ee39..0d7807c72b15 100644 --- a/plugins/gradle/native/tooling/BUILD.bazel +++ b/plugins/gradle/native/tooling/BUILD.bazel @@ -33,7 +33,6 @@ jvm_library( ### auto-generated section `build intellij.gradle.native.tooling.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/gradle/tooling-extension-impl/BUILD.bazel b/plugins/gradle/tooling-extension-impl/BUILD.bazel index 073eb7cb062f..3b5d9a7f6d6b 100644 --- a/plugins/gradle/tooling-extension-impl/BUILD.bazel +++ b/plugins/gradle/tooling-extension-impl/BUILD.bazel @@ -45,7 +45,6 @@ jvm_library( ### auto-generated section `build intellij.gradle.toolingExtension.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -54,9 +53,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "toolingExtension-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/grazie/BUILD.bazel b/plugins/grazie/BUILD.bazel index 10b2a917dc63..cb1a6a3fecfb 100644 --- a/plugins/grazie/BUILD.bazel +++ b/plugins/grazie/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.grazie` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "grazie_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "grazie", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = ["//plugins/grazie/src:core"], runtime_deps = [ ":grazie_resources", diff --git a/plugins/grazie/src/test/BUILD.bazel b/plugins/grazie/src/test/BUILD.bazel index d497e540cb18..26dd09f2c81f 100644 --- a/plugins/grazie/src/test/BUILD.bazel +++ b/plugins/grazie/src/test/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.grazie.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "grazie-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/groovy/groovy-uast-tests/BUILD.bazel b/plugins/groovy/groovy-uast-tests/BUILD.bazel index abbf35a865cd..767caa5cf190 100644 --- a/plugins/groovy/groovy-uast-tests/BUILD.bazel +++ b/plugins/groovy/groovy-uast-tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.groovy.uast.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "uast-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/groovy/jps-plugin/BUILD.bazel b/plugins/groovy/jps-plugin/BUILD.bazel index 1f17acbdf097..caaccc3d18ec 100644 --- a/plugins/groovy/jps-plugin/BUILD.bazel +++ b/plugins/groovy/jps-plugin/BUILD.bazel @@ -35,12 +35,12 @@ jvm_library( ### auto-generated section `build intellij.groovy.jps.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "jps-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/htmltools/BUILD.bazel b/plugins/htmltools/BUILD.bazel index aecf6bc3f5b8..b28e261f5b41 100644 --- a/plugins/htmltools/BUILD.bazel +++ b/plugins/htmltools/BUILD.bazel @@ -34,12 +34,12 @@ jvm_library( ### auto-generated section `build intellij.html.tools.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "html-tools-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/javaFX/community/BUILD.bazel b/plugins/javaFX/community/BUILD.bazel index bbc825e42a04..84f968d39ea5 100644 --- a/plugins/javaFX/community/BUILD.bazel +++ b/plugins/javaFX/community/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.javaFX.community` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "community", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/junit/groovy-tests/BUILD.bazel b/plugins/junit/groovy-tests/BUILD.bazel index 105ef66a469f..a045b0f42ee5 100644 --- a/plugins/junit/groovy-tests/BUILD.bazel +++ b/plugins/junit/groovy-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.junit.groovy.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/junit/java-tests/BUILD.bazel b/plugins/junit/java-tests/BUILD.bazel index f3381ff98bf1..dc8a0dd7eace 100644 --- a/plugins/junit/java-tests/BUILD.bazel +++ b/plugins/junit/java-tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.junit.java.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "java-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/junit/kotlin-tests-k1/BUILD.bazel b/plugins/junit/kotlin-tests-k1/BUILD.bazel index 697a5d596f25..224beb2d89f9 100644 --- a/plugins/junit/kotlin-tests-k1/BUILD.bazel +++ b/plugins/junit/kotlin-tests-k1/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.junit.kotlin.tests.k1` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "kotlin-tests-k1", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/junit/kotlin-tests-k2/BUILD.bazel b/plugins/junit/kotlin-tests-k2/BUILD.bazel index abe82a0bcbf6..1d65383d2856 100644 --- a/plugins/junit/kotlin-tests-k2/BUILD.bazel +++ b/plugins/junit/kotlin-tests-k2/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.junit.kotlin.tests.k2` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "kotlin-tests-k2", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/junit/kotlin-tests-shared/BUILD.bazel b/plugins/junit/kotlin-tests-shared/BUILD.bazel index cfa9ae89334a..abd85a0e3340 100644 --- a/plugins/junit/kotlin-tests-shared/BUILD.bazel +++ b/plugins/junit/kotlin-tests-shared/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.junit.kotlin.tests.shared` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "kotlin-tests-shared", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/junit5_rt_tests/BUILD.bazel b/plugins/junit5_rt_tests/BUILD.bazel index 2fd83282810e..ca7c60c7f6c6 100644 --- a/plugins/junit5_rt_tests/BUILD.bazel +++ b/plugins/junit5_rt_tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.junit.v5.rt.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/keymaps/eclipse-keymap/BUILD.bazel b/plugins/keymaps/eclipse-keymap/BUILD.bazel index a2b12e993c83..721222663607 100644 --- a/plugins/keymaps/eclipse-keymap/BUILD.bazel +++ b/plugins/keymaps/eclipse-keymap/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.keymap.eclipse` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "keymap-eclipse_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "keymap-eclipse", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":keymap-eclipse_resources"] ) ### auto-generated section `build intellij.keymap.eclipse` end \ No newline at end of file diff --git a/plugins/keymaps/netbeans5.6-keymap/BUILD.bazel b/plugins/keymaps/netbeans5.6-keymap/BUILD.bazel index 71850555f5da..399f3eff5fa6 100644 --- a/plugins/keymaps/netbeans5.6-keymap/BUILD.bazel +++ b/plugins/keymaps/netbeans5.6-keymap/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.keymap.netbeans` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "keymap-netbeans_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "keymap-netbeans", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":keymap-netbeans_resources"] ) ### auto-generated section `build intellij.keymap.netbeans` end \ No newline at end of file diff --git a/plugins/keymaps/qtcreator-keymap/BUILD.bazel b/plugins/keymaps/qtcreator-keymap/BUILD.bazel index 3321c638532e..e46fcf4fb21c 100644 --- a/plugins/keymaps/qtcreator-keymap/BUILD.bazel +++ b/plugins/keymaps/qtcreator-keymap/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.keymap.qtcreator` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "keymap-qtcreator_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "keymap-qtcreator", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":keymap-qtcreator_resources"] ) ### auto-generated section `build intellij.keymap.qtcreator` end \ No newline at end of file diff --git a/plugins/keymaps/resharper-keymap/BUILD.bazel b/plugins/keymaps/resharper-keymap/BUILD.bazel index 98bf0d6e4cd8..ad5ae282ca94 100644 --- a/plugins/keymaps/resharper-keymap/BUILD.bazel +++ b/plugins/keymaps/resharper-keymap/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.keymap.resharper` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "keymap-resharper_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "keymap-resharper", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":keymap-resharper_resources"] ) ### auto-generated section `build intellij.keymap.resharper` end \ No newline at end of file diff --git a/plugins/keymaps/visual-assist-keymap/BUILD.bazel b/plugins/keymaps/visual-assist-keymap/BUILD.bazel index 487b95a6ccd6..0961603c0c98 100644 --- a/plugins/keymaps/visual-assist-keymap/BUILD.bazel +++ b/plugins/keymaps/visual-assist-keymap/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.keymap.visualAssist` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "keymap-visualAssist_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "keymap-visualAssist", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":keymap-visualAssist_resources"] ) ### auto-generated section `build intellij.keymap.visualAssist` end \ No newline at end of file diff --git a/plugins/keymaps/visual-studio-for-mac-keymap/BUILD.bazel b/plugins/keymaps/visual-studio-for-mac-keymap/BUILD.bazel index c5457b39fbaf..fce53cbb72cc 100644 --- a/plugins/keymaps/visual-studio-for-mac-keymap/BUILD.bazel +++ b/plugins/keymaps/visual-studio-for-mac-keymap/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.keymap.visualStudioForMac` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "keymap-visualStudioForMac_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "keymap-visualStudioForMac", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":keymap-visualStudioForMac_resources"] ) ### auto-generated section `build intellij.keymap.visualStudioForMac` end \ No newline at end of file diff --git a/plugins/keymaps/visual-studio-keymap/BUILD.bazel b/plugins/keymaps/visual-studio-keymap/BUILD.bazel index 40981cf499f1..0695804d5d03 100644 --- a/plugins/keymaps/visual-studio-keymap/BUILD.bazel +++ b/plugins/keymaps/visual-studio-keymap/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.keymap.visualStudio` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "keymap-visualStudio_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "keymap-visualStudio", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":keymap-visualStudio_resources"] ) ### auto-generated section `build intellij.keymap.visualStudio` end \ No newline at end of file diff --git a/plugins/keymaps/visual-studio2022-keymap/BUILD.bazel b/plugins/keymaps/visual-studio2022-keymap/BUILD.bazel index f9fe3c8caf6c..8df689662de7 100644 --- a/plugins/keymaps/visual-studio2022-keymap/BUILD.bazel +++ b/plugins/keymaps/visual-studio2022-keymap/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.keymap.visualStudio2022` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "keymap-visualStudio2022_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "keymap-visualStudio2022", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":keymap-visualStudio2022_resources"] ) ### auto-generated section `build intellij.keymap.visualStudio2022` end \ No newline at end of file diff --git a/plugins/keymaps/vscode-keymap/BUILD.bazel b/plugins/keymaps/vscode-keymap/BUILD.bazel index fff5e6b74e42..f86b2995b589 100644 --- a/plugins/keymaps/vscode-keymap/BUILD.bazel +++ b/plugins/keymaps/vscode-keymap/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.keymap.vscode` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "keymap-vscode_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "keymap-vscode", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":keymap-vscode_resources"] ) ### auto-generated section `build intellij.keymap.vscode` end \ No newline at end of file diff --git a/plugins/keymaps/xcode-keymap/BUILD.bazel b/plugins/keymaps/xcode-keymap/BUILD.bazel index 196bb16d9210..478690d8b038 100644 --- a/plugins/keymaps/xcode-keymap/BUILD.bazel +++ b/plugins/keymaps/xcode-keymap/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.keymap.xcode` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "keymap-xcode_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "keymap-xcode", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":keymap-xcode_resources"] ) ### auto-generated section `build intellij.keymap.xcode` end \ No newline at end of file diff --git a/plugins/kotlin/BUILD.bazel b/plugins/kotlin/BUILD.bazel index c61c8d27ce6a..8fa21341fe2e 100644 --- a/plugins/kotlin/BUILD.bazel +++ b/plugins/kotlin/BUILD.bazel @@ -1,9 +1,10 @@ ### auto-generated section `build intellij.kotlin.plugin.community.main` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "kotlin-plugin-community-main", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), exports = [ "//plugins/kotlin/plugin", "//plugins/kotlin/plugin/common", diff --git a/plugins/kotlin/all-tests-compose/BUILD.bazel b/plugins/kotlin/all-tests-compose/BUILD.bazel index 8ed25710378f..4b020c9b2149 100644 --- a/plugins/kotlin/all-tests-compose/BUILD.bazel +++ b/plugins/kotlin/all-tests-compose/BUILD.bazel @@ -1,9 +1,10 @@ ### auto-generated section `build kotlin.compose-all-tests.k2` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "compose-all-tests-k2", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//plugins/kotlin/tests-compose", "//plugins/kotlin/jvm-debugger/test/compose:kotlin-jvm-debugger-test-compose-k2", diff --git a/plugins/kotlin/all-tests-fir/BUILD.bazel b/plugins/kotlin/all-tests-fir/BUILD.bazel index bcdd8ef01c45..c0f135569ed4 100644 --- a/plugins/kotlin/all-tests-fir/BUILD.bazel +++ b/plugins/kotlin/all-tests-fir/BUILD.bazel @@ -1,9 +1,10 @@ ### auto-generated section `build kotlin.fir-all-tests` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "fir-all-tests", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//plugins/kotlin/plugin/common", "//plugins/kotlin/base/plugin", diff --git a/plugins/kotlin/all-tests/BUILD.bazel b/plugins/kotlin/all-tests/BUILD.bazel index 21b4c983448e..8824cdb8ac2b 100644 --- a/plugins/kotlin/all-tests/BUILD.bazel +++ b/plugins/kotlin/all-tests/BUILD.bazel @@ -1,9 +1,10 @@ ### auto-generated section `build kotlin.all-tests` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "all-tests", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "@lib//:kotlin-stdlib", "//platform/core-api:core", diff --git a/plugins/kotlin/base/analysis-api/analysis-api-k2-tests/BUILD.bazel b/plugins/kotlin/base/analysis-api/analysis-api-k2-tests/BUILD.bazel index 9b0dc32110fe..c5773f9a64c8 100644 --- a/plugins/kotlin/base/analysis-api/analysis-api-k2-tests/BUILD.bazel +++ b/plugins/kotlin/base/analysis-api/analysis-api-k2-tests/BUILD.bazel @@ -1,7 +1,6 @@ ### auto-generated section `build kotlin.base.analysis.analysis-api.k2.tests` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") create_kotlinc_options( @@ -9,9 +8,10 @@ create_kotlinc_options( context_receivers = True ) -java_library( +jvm_library( name = "kotlin-base-analysis-analysis-api-k2-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/base/analysis/tests/BUILD.bazel b/plugins/kotlin/base/analysis/tests/BUILD.bazel index 5a1d3f7b8c30..64de057205b4 100644 --- a/plugins/kotlin/base/analysis/tests/BUILD.bazel +++ b/plugins/kotlin/base/analysis/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.base.analysis.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/base/facet/tests/BUILD.bazel b/plugins/kotlin/base/facet/tests/BUILD.bazel index bfc07925e46b..f72edc877c1d 100644 --- a/plugins/kotlin/base/facet/tests/BUILD.bazel +++ b/plugins/kotlin/base/facet/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.base.facet.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/base/frontend-agnostic/BUILD.bazel b/plugins/kotlin/base/frontend-agnostic/BUILD.bazel index 1c5bdbd64052..b313c8466587 100644 --- a/plugins/kotlin/base/frontend-agnostic/BUILD.bazel +++ b/plugins/kotlin/base/frontend-agnostic/BUILD.bazel @@ -1,8 +1,9 @@ ### auto-generated section `build kotlin.base.frontend-agnostic` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "frontend-agnostic", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) ### auto-generated section `build kotlin.base.frontend-agnostic` end \ No newline at end of file diff --git a/plugins/kotlin/base/indices/tests/BUILD.bazel b/plugins/kotlin/base/indices/tests/BUILD.bazel index c10d1047590a..c21ed28c97ca 100644 --- a/plugins/kotlin/base/indices/tests/BUILD.bazel +++ b/plugins/kotlin/base/indices/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.base.indices.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/base/test/BUILD.bazel b/plugins/kotlin/base/test/BUILD.bazel index e60efff4750f..1d15115312fa 100644 --- a/plugins/kotlin/base/test/BUILD.bazel +++ b/plugins/kotlin/base/test/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.base.test` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "test", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/code-insight/descriptions/BUILD.bazel b/plugins/kotlin/code-insight/descriptions/BUILD.bazel index 84913227289c..c2cf253a1654 100644 --- a/plugins/kotlin/code-insight/descriptions/BUILD.bazel +++ b/plugins/kotlin/code-insight/descriptions/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.code-insight.descriptions` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "descriptions_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources-en" ) -java_library( +jvm_library( name = "descriptions", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":descriptions_resources", "//plugins/kotlin/base/frontend-agnostic", diff --git a/plugins/kotlin/code-insight/fixes-k2/tests/BUILD.bazel b/plugins/kotlin/code-insight/fixes-k2/tests/BUILD.bazel index eedf4a11a4ad..560248ec5178 100644 --- a/plugins/kotlin/code-insight/fixes-k2/tests/BUILD.bazel +++ b/plugins/kotlin/code-insight/fixes-k2/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.code-insight.fixes.k2.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/code-insight/inspections-k2/tests/BUILD.bazel b/plugins/kotlin/code-insight/inspections-k2/tests/BUILD.bazel index 169cfcf1248f..299a8f524247 100644 --- a/plugins/kotlin/code-insight/inspections-k2/tests/BUILD.bazel +++ b/plugins/kotlin/code-insight/inspections-k2/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.code-insight.inspections.k2.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/code-insight/inspections-shared/tests/k1/BUILD.bazel b/plugins/kotlin/code-insight/inspections-shared/tests/k1/BUILD.bazel index 9572f37f678f..9d71c18b948f 100644 --- a/plugins/kotlin/code-insight/inspections-shared/tests/k1/BUILD.bazel +++ b/plugins/kotlin/code-insight/inspections-shared/tests/k1/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.code-insight.inspections-shared.tests.k1` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "k1", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/code-insight/inspections-shared/tests/k2/BUILD.bazel b/plugins/kotlin/code-insight/inspections-shared/tests/k2/BUILD.bazel index 3a0464cbecdd..a065e4ce5da9 100644 --- a/plugins/kotlin/code-insight/inspections-shared/tests/k2/BUILD.bazel +++ b/plugins/kotlin/code-insight/inspections-shared/tests/k2/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.code-insight.inspections-shared.tests.k2` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "k2", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/code-insight/intentions-k2/tests/BUILD.bazel b/plugins/kotlin/code-insight/intentions-k2/tests/BUILD.bazel index 6cbbd11f1a85..27c41fdc6860 100644 --- a/plugins/kotlin/code-insight/intentions-k2/tests/BUILD.bazel +++ b/plugins/kotlin/code-insight/intentions-k2/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.code-insight.intentions.k2.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/code-insight/intentions-shared/tests/k1/BUILD.bazel b/plugins/kotlin/code-insight/intentions-shared/tests/k1/BUILD.bazel index 4eb1f5d492a1..217586636137 100644 --- a/plugins/kotlin/code-insight/intentions-shared/tests/k1/BUILD.bazel +++ b/plugins/kotlin/code-insight/intentions-shared/tests/k1/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.code-insight.intentions-shared.tests.k1` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "k1", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/code-insight/intentions-shared/tests/k2/BUILD.bazel b/plugins/kotlin/code-insight/intentions-shared/tests/k2/BUILD.bazel index d61bf982606e..1317947245b2 100644 --- a/plugins/kotlin/code-insight/intentions-shared/tests/k2/BUILD.bazel +++ b/plugins/kotlin/code-insight/intentions-shared/tests/k2/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.code-insight.intentions-shared.tests.k2` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "k2", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/code-insight/structural-search-k2/tests/BUILD.bazel b/plugins/kotlin/code-insight/structural-search-k2/tests/BUILD.bazel index b6867d8e4fe2..e4973473ff61 100644 --- a/plugins/kotlin/code-insight/structural-search-k2/tests/BUILD.bazel +++ b/plugins/kotlin/code-insight/structural-search-k2/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.code-insight.structural-search.k2.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/compiler-plugins/allopen/tests-k1/BUILD.bazel b/plugins/kotlin/compiler-plugins/allopen/tests-k1/BUILD.bazel index 4a3a30767ae3..43bc538a2a88 100644 --- a/plugins/kotlin/compiler-plugins/allopen/tests-k1/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/allopen/tests-k1/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.compiler-plugins.allopen.tests.k1` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "kotlin-compiler-plugins-allopen-tests-k1", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/compiler-plugins/compiler-plugin-support/tests/BUILD.bazel b/plugins/kotlin/compiler-plugins/compiler-plugin-support/tests/BUILD.bazel index 03bb352d8a72..d9d3ea354fd6 100644 --- a/plugins/kotlin/compiler-plugins/compiler-plugin-support/tests/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/compiler-plugin-support/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.compiler-plugins.compiler-plugin-support.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/BUILD.bazel b/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/BUILD.bazel index 99095343426e..3532d73796f1 100644 --- a/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.compiler-plugins.kotlinx-serialization.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/compiler-plugins/noarg/tests/BUILD.bazel b/plugins/kotlin/compiler-plugins/noarg/tests/BUILD.bazel index 92ccd9357f60..6255e9598454 100644 --- a/plugins/kotlin/compiler-plugins/noarg/tests/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/noarg/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.compiler-plugins.noarg.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/BUILD.bazel b/plugins/kotlin/compiler-plugins/parcelize/tests/BUILD.bazel index f5c9329df24a..184f87978229 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.compiler-plugins.parcelize.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/k1/BUILD.bazel b/plugins/kotlin/compiler-plugins/parcelize/tests/k1/BUILD.bazel index cae7366ee91e..06181bd2479b 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/k1/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/k1/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.compiler-plugins.parcelize.tests.k1` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "k1", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/k2/BUILD.bazel b/plugins/kotlin/compiler-plugins/parcelize/tests/k2/BUILD.bazel index 2e7024b3da37..019b6597bf0f 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/k2/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/k2/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.compiler-plugins.parcelize.tests.k2` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "k2", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/compiler-reference-index/tests.k2/BUILD.bazel b/plugins/kotlin/compiler-reference-index/tests.k2/BUILD.bazel index f4d964468d36..bcd7c8bb95f6 100644 --- a/plugins/kotlin/compiler-reference-index/tests.k2/BUILD.bazel +++ b/plugins/kotlin/compiler-reference-index/tests.k2/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.compiler-reference-index.tests.k2` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests.k2", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/compiler-reference-index/tests/BUILD.bazel b/plugins/kotlin/compiler-reference-index/tests/BUILD.bazel index 990cc08ccbf6..d0f18261c106 100644 --- a/plugins/kotlin/compiler-reference-index/tests/BUILD.bazel +++ b/plugins/kotlin/compiler-reference-index/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.compiler-reference-index.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/completion/tests-k1/BUILD.bazel b/plugins/kotlin/completion/tests-k1/BUILD.bazel index 6d6ee986e951..ae6210491ebf 100644 --- a/plugins/kotlin/completion/tests-k1/BUILD.bazel +++ b/plugins/kotlin/completion/tests-k1/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.completion.tests.k1` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "kotlin-completion-tests-k1", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/completion/tests-shared/BUILD.bazel b/plugins/kotlin/completion/tests-shared/BUILD.bazel index 34d3c9eb8106..f0f717237760 100644 --- a/plugins/kotlin/completion/tests-shared/BUILD.bazel +++ b/plugins/kotlin/completion/tests-shared/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.completion.tests.shared` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "kotlin-completion-tests-shared", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/copyright/fir-tests/BUILD.bazel b/plugins/kotlin/copyright/fir-tests/BUILD.bazel index e33c7199b543..44b60b2597e0 100644 --- a/plugins/kotlin/copyright/fir-tests/BUILD.bazel +++ b/plugins/kotlin/copyright/fir-tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.copyright.fir.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "kotlin-copyright-fir-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/copyright/tests/BUILD.bazel b/plugins/kotlin/copyright/tests/BUILD.bazel index 9a00fedcc379..1d280478e654 100644 --- a/plugins/kotlin/copyright/tests/BUILD.bazel +++ b/plugins/kotlin/copyright/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.copyright.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/core/tests/BUILD.bazel b/plugins/kotlin/core/tests/BUILD.bazel index 88bb3bcda0a7..c15032faa1c8 100644 --- a/plugins/kotlin/core/tests/BUILD.bazel +++ b/plugins/kotlin/core/tests/BUILD.bazel @@ -1,7 +1,6 @@ ### auto-generated section `build kotlin.core.tests` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") create_kotlinc_options( @@ -14,9 +13,10 @@ create_kotlinc_options( ] ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/coverage/tests/BUILD.bazel b/plugins/kotlin/coverage/tests/BUILD.bazel index 4d94931a0f0b..75538f8ad83d 100644 --- a/plugins/kotlin/coverage/tests/BUILD.bazel +++ b/plugins/kotlin/coverage/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.coverage.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/features-trainer/tests/BUILD.bazel b/plugins/kotlin/features-trainer/tests/BUILD.bazel index e723c6ede5d2..22fd0bf378ba 100644 --- a/plugins/kotlin/features-trainer/tests/BUILD.bazel +++ b/plugins/kotlin/features-trainer/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.features-trainer.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/fir/tests/BUILD.bazel b/plugins/kotlin/fir/tests/BUILD.bazel index 3490e21c0e5e..f6ef48271ece 100644 --- a/plugins/kotlin/fir/tests/BUILD.bazel +++ b/plugins/kotlin/fir/tests/BUILD.bazel @@ -1,7 +1,6 @@ ### auto-generated section `build kotlin.fir.tests` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") create_kotlinc_options( @@ -13,9 +12,10 @@ create_kotlinc_options( ] ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/gradle/code-insight-groovy/tests.k2/BUILD.bazel b/plugins/kotlin/gradle/code-insight-groovy/tests.k2/BUILD.bazel index e3270b069ae9..a5be7681c7ad 100644 --- a/plugins/kotlin/gradle/code-insight-groovy/tests.k2/BUILD.bazel +++ b/plugins/kotlin/gradle/code-insight-groovy/tests.k2/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.gradle.code-insight-groovy.tests.k2` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests.k2", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/gradle/gradle-java/tests.shared/BUILD.bazel b/plugins/kotlin/gradle/gradle-java/tests.shared/BUILD.bazel index 8331819b357d..80b0f3a1374c 100644 --- a/plugins/kotlin/gradle/gradle-java/tests.shared/BUILD.bazel +++ b/plugins/kotlin/gradle/gradle-java/tests.shared/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.gradle.gradle-java.tests.shared` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests.shared", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/gradle/gradle-tooling/BUILD.bazel b/plugins/kotlin/gradle/gradle-tooling/BUILD.bazel index ecccf21661c6..19e253392138 100644 --- a/plugins/kotlin/gradle/gradle-tooling/BUILD.bazel +++ b/plugins/kotlin/gradle/gradle-tooling/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.gradle.gradle-tooling` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "gradle-tooling_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "gradle-tooling", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":gradle-tooling_resources", "//plugins/kotlin/base/frontend-agnostic", diff --git a/plugins/kotlin/gradle/gradle-tooling/tests/BUILD.bazel b/plugins/kotlin/gradle/gradle-tooling/tests/BUILD.bazel index de4ed6e12132..c157a3a0422e 100644 --- a/plugins/kotlin/gradle/gradle-tooling/tests/BUILD.bazel +++ b/plugins/kotlin/gradle/gradle-tooling/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.gradle.gradle-tooling.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/gradle/gradle/tests/BUILD.bazel b/plugins/kotlin/gradle/gradle/tests/BUILD.bazel index fabd65d519e7..9abf41284be6 100644 --- a/plugins/kotlin/gradle/gradle/tests/BUILD.bazel +++ b/plugins/kotlin/gradle/gradle/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.gradle.gradle.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/gradle/multiplatform-tests-k2/BUILD.bazel b/plugins/kotlin/gradle/multiplatform-tests-k2/BUILD.bazel index 9272f8a55773..2c5e1d2e2cc1 100644 --- a/plugins/kotlin/gradle/multiplatform-tests-k2/BUILD.bazel +++ b/plugins/kotlin/gradle/multiplatform-tests-k2/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.kotlin.gradle.multiplatform-tests.k2` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/kotlin/gradle/multiplatform-tests/BUILD.bazel b/plugins/kotlin/gradle/multiplatform-tests/BUILD.bazel index 1bbfb2de5891..8f721aae1619 100644 --- a/plugins/kotlin/gradle/multiplatform-tests/BUILD.bazel +++ b/plugins/kotlin/gradle/multiplatform-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.kotlin.gradle.multiplatformTests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/kotlin/highlighting/highlighting-shared/tests/BUILD.bazel b/plugins/kotlin/highlighting/highlighting-shared/tests/BUILD.bazel index de13e5900cce..55a2624df905 100644 --- a/plugins/kotlin/highlighting/highlighting-shared/tests/BUILD.bazel +++ b/plugins/kotlin/highlighting/highlighting-shared/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.highlighting.shared.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/i18n/tests/BUILD.bazel b/plugins/kotlin/i18n/tests/BUILD.bazel index d7d886369352..310c20620c68 100644 --- a/plugins/kotlin/i18n/tests/BUILD.bazel +++ b/plugins/kotlin/i18n/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.i18n.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/idea/tests/BUILD.bazel b/plugins/kotlin/idea/tests/BUILD.bazel index f5529912d2fe..6190b9e5b452 100644 --- a/plugins/kotlin/idea/tests/BUILD.bazel +++ b/plugins/kotlin/idea/tests/BUILD.bazel @@ -1,7 +1,6 @@ ### auto-generated section `build kotlin.idea.tests` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") create_kotlinc_options( @@ -12,9 +11,10 @@ create_kotlinc_options( ] ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/injection/base/tests/BUILD.bazel b/plugins/kotlin/injection/base/tests/BUILD.bazel index 598b0ea3521f..c2a495ae39b4 100644 --- a/plugins/kotlin/injection/base/tests/BUILD.bazel +++ b/plugins/kotlin/injection/base/tests/BUILD.bazel @@ -1,7 +1,6 @@ ### auto-generated section `build kotlin.base.injection.tests` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") create_kotlinc_options( @@ -9,9 +8,10 @@ create_kotlinc_options( context_receivers = True ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/injection/k1/tests/BUILD.bazel b/plugins/kotlin/injection/k1/tests/BUILD.bazel index 571fe29d7bcd..7e769c489947 100644 --- a/plugins/kotlin/injection/k1/tests/BUILD.bazel +++ b/plugins/kotlin/injection/k1/tests/BUILD.bazel @@ -1,7 +1,6 @@ ### auto-generated section `build kotlin.injection.tests` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") create_kotlinc_options( @@ -9,9 +8,10 @@ create_kotlinc_options( context_receivers = True ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/injection/k2/tests/BUILD.bazel b/plugins/kotlin/injection/k2/tests/BUILD.bazel index 09a75d31e859..5a6483a87609 100644 --- a/plugins/kotlin/injection/k2/tests/BUILD.bazel +++ b/plugins/kotlin/injection/k2/tests/BUILD.bazel @@ -1,7 +1,6 @@ ### auto-generated section `build kotlin.injection.k2.tests` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") create_kotlinc_options( @@ -9,9 +8,10 @@ create_kotlinc_options( context_receivers = True ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/j2k/k1.new/tests/BUILD.bazel b/plugins/kotlin/j2k/k1.new/tests/BUILD.bazel index 38eca47726eb..d8b29ec8a66f 100644 --- a/plugins/kotlin/j2k/k1.new/tests/BUILD.bazel +++ b/plugins/kotlin/j2k/k1.new/tests/BUILD.bazel @@ -1,7 +1,6 @@ ### auto-generated section `build kotlin.j2k.k1.new.tests` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") create_kotlinc_options( @@ -9,9 +8,10 @@ create_kotlinc_options( context_receivers = True ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/j2k/k2/tests/BUILD.bazel b/plugins/kotlin/j2k/k2/tests/BUILD.bazel index 3f5d5ed44441..e1cafddbe05a 100644 --- a/plugins/kotlin/j2k/k2/tests/BUILD.bazel +++ b/plugins/kotlin/j2k/k2/tests/BUILD.bazel @@ -1,7 +1,6 @@ ### auto-generated section `build kotlin.j2k.k2.tests` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") create_kotlinc_options( @@ -10,9 +9,10 @@ create_kotlinc_options( opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/j2k/shared/tests/BUILD.bazel b/plugins/kotlin/j2k/shared/tests/BUILD.bazel index 8c561b35661c..79e3b2b44b58 100644 --- a/plugins/kotlin/j2k/shared/tests/BUILD.bazel +++ b/plugins/kotlin/j2k/shared/tests/BUILD.bazel @@ -1,7 +1,6 @@ ### auto-generated section `build kotlin.j2k.shared.tests` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") create_kotlinc_options( @@ -9,9 +8,10 @@ create_kotlinc_options( context_receivers = True ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/jps/graphImplementationTests/BUILD.bazel b/plugins/kotlin/jps/graphImplementationTests/BUILD.bazel index ce305a173a2d..d7eed4187336 100644 --- a/plugins/kotlin/jps/graphImplementationTests/BUILD.bazel +++ b/plugins/kotlin/jps/graphImplementationTests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.jps.graphImplementationTests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "graphImplementationTests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/jvm-debugger/test/BUILD.bazel b/plugins/kotlin/jvm-debugger/test/BUILD.bazel index 9a8b7f80b816..7d83215d72d0 100644 --- a/plugins/kotlin/jvm-debugger/test/BUILD.bazel +++ b/plugins/kotlin/jvm-debugger/test/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.jvm-debugger.test` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "test", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/jvm-debugger/test/compose/BUILD.bazel b/plugins/kotlin/jvm-debugger/test/compose/BUILD.bazel index 190a87457c4b..6db646d52ab0 100644 --- a/plugins/kotlin/jvm-debugger/test/compose/BUILD.bazel +++ b/plugins/kotlin/jvm-debugger/test/compose/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.jvm-debugger.test.compose.k2` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "kotlin-jvm-debugger-test-compose-k2", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/jvm-debugger/test/k2/BUILD.bazel b/plugins/kotlin/jvm-debugger/test/k2/BUILD.bazel index c910f878cfa5..ffa255a7ef92 100644 --- a/plugins/kotlin/jvm-debugger/test/k2/BUILD.bazel +++ b/plugins/kotlin/jvm-debugger/test/k2/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.jvm-debugger.test.k2` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "k2", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/jvm-debugger/test/parcelize/BUILD.bazel b/plugins/kotlin/jvm-debugger/test/parcelize/BUILD.bazel index 001638d52926..1f51d8ef5833 100644 --- a/plugins/kotlin/jvm-debugger/test/parcelize/BUILD.bazel +++ b/plugins/kotlin/jvm-debugger/test/parcelize/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.jvm-debugger.test.parcelize.k2` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "kotlin-jvm-debugger-test-parcelize-k2", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/kotlin.lombok.tests/BUILD.bazel b/plugins/kotlin/kotlin.lombok.tests/BUILD.bazel index fbf7b01781dc..add758fd6c81 100644 --- a/plugins/kotlin/kotlin.lombok.tests/BUILD.bazel +++ b/plugins/kotlin/kotlin.lombok.tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.k2.lombok.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "k2-lombok-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/kotlin.searching/kotlin.searching.test.k2/BUILD.bazel b/plugins/kotlin/kotlin.searching/kotlin.searching.test.k2/BUILD.bazel index aff4f83aca85..5948cad7ef2e 100644 --- a/plugins/kotlin/kotlin.searching/kotlin.searching.test.k2/BUILD.bazel +++ b/plugins/kotlin/kotlin.searching/kotlin.searching.test.k2/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.searching.test.k2` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "test-k2", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/maven/tests/BUILD.bazel b/plugins/kotlin/maven/tests/BUILD.bazel index bb564dfdde27..b4bcd35f8718 100644 --- a/plugins/kotlin/maven/tests/BUILD.bazel +++ b/plugins/kotlin/maven/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.maven.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/ml-completion/tests/BUILD.bazel b/plugins/kotlin/ml-completion/tests/BUILD.bazel index 581f5819e4d1..867d201a667c 100644 --- a/plugins/kotlin/ml-completion/tests/BUILD.bazel +++ b/plugins/kotlin/ml-completion/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.ml-completion.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/native/tests/BUILD.bazel b/plugins/kotlin/native/tests/BUILD.bazel index 4585f7cb6c49..61fd9f886e25 100644 --- a/plugins/kotlin/native/tests/BUILD.bazel +++ b/plugins/kotlin/native/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.native.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/navigation/tests/BUILD.bazel b/plugins/kotlin/navigation/tests/BUILD.bazel index ccfaee4586c5..319150e7ac79 100644 --- a/plugins/kotlin/navigation/tests/BUILD.bazel +++ b/plugins/kotlin/navigation/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.navigation.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/performance-tests/BUILD.bazel b/plugins/kotlin/performance-tests/BUILD.bazel index 4c7f0fb96392..ebb00777a8da 100644 --- a/plugins/kotlin/performance-tests/BUILD.bazel +++ b/plugins/kotlin/performance-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.performance-tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "performance-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/performance-tests/performance-test-utils/BUILD.bazel b/plugins/kotlin/performance-tests/performance-test-utils/BUILD.bazel index 8eb38f8af5f0..74eac08487d8 100644 --- a/plugins/kotlin/performance-tests/performance-test-utils/BUILD.bazel +++ b/plugins/kotlin/performance-tests/performance-test-utils/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.performance-tests.performance-test-utils` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "performance-test-utils", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/plugin/BUILD.bazel b/plugins/kotlin/plugin/BUILD.bazel index 38b175ee31ec..55eeedd9ab60 100644 --- a/plugins/kotlin/plugin/BUILD.bazel +++ b/plugins/kotlin/plugin/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.plugin` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "plugin_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "plugin", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":plugin_resources"] ) ### auto-generated section `build kotlin.plugin` end \ No newline at end of file diff --git a/plugins/kotlin/plugin/k1/BUILD.bazel b/plugins/kotlin/plugin/k1/BUILD.bazel index 16dc9e40e73b..9ba0f7d63bc5 100644 --- a/plugins/kotlin/plugin/k1/BUILD.bazel +++ b/plugins/kotlin/plugin/k1/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.plugin.k1` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "k1_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "k1", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":k1_resources", "//plugins/kotlin/plugin/common", diff --git a/plugins/kotlin/project-wizard/tests/BUILD.bazel b/plugins/kotlin/project-wizard/tests/BUILD.bazel index 0d25ba5377ba..20fc497ea44e 100644 --- a/plugins/kotlin/project-wizard/tests/BUILD.bazel +++ b/plugins/kotlin/project-wizard/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.project-wizard.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/refactorings/kotlin.refactorings.common.tests/BUILD.bazel b/plugins/kotlin/refactorings/kotlin.refactorings.common.tests/BUILD.bazel index b58e4c948abc..07ce45080ef5 100644 --- a/plugins/kotlin/refactorings/kotlin.refactorings.common.tests/BUILD.bazel +++ b/plugins/kotlin/refactorings/kotlin.refactorings.common.tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.refactorings.common.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "kotlin-refactorings-common-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/refactorings/kotlin.refactorings.tests.k2/BUILD.bazel b/plugins/kotlin/refactorings/kotlin.refactorings.tests.k2/BUILD.bazel index fbbc8ab0c630..4b5d38c43f9a 100644 --- a/plugins/kotlin/refactorings/kotlin.refactorings.tests.k2/BUILD.bazel +++ b/plugins/kotlin/refactorings/kotlin.refactorings.tests.k2/BUILD.bazel @@ -1,7 +1,6 @@ ### auto-generated section `build kotlin.refactorings.tests.k2` start load("//build:compiler-options.bzl", "create_kotlinc_options") load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") create_kotlinc_options( @@ -10,9 +9,10 @@ create_kotlinc_options( opt_in = ["org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction"] ) -java_library( +jvm_library( name = "kotlin-refactorings-tests-k2", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/scripting-support/BUILD.bazel b/plugins/kotlin/scripting-support/BUILD.bazel index 88bfffaee0ab..a63fbfffd450 100644 --- a/plugins/kotlin/scripting-support/BUILD.bazel +++ b/plugins/kotlin/scripting-support/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.scripting-support` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "scripting-support", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/test-framework/BUILD.bazel b/plugins/kotlin/test-framework/BUILD.bazel index 4ed57aa43762..57ca16e5ee99 100644 --- a/plugins/kotlin/test-framework/BUILD.bazel +++ b/plugins/kotlin/test-framework/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.test-framework` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "test-framework", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/tests-common/BUILD.bazel b/plugins/kotlin/tests-common/BUILD.bazel index e13dfbb93450..94efd6bf727c 100644 --- a/plugins/kotlin/tests-common/BUILD.bazel +++ b/plugins/kotlin/tests-common/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.tests-common` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests-common", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/tests-compose/BUILD.bazel b/plugins/kotlin/tests-compose/BUILD.bazel index 30727ce20d20..3ac90ee06c2b 100644 --- a/plugins/kotlin/tests-compose/BUILD.bazel +++ b/plugins/kotlin/tests-compose/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.tests-compose` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests-compose", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/tests-from-compiler/BUILD.bazel b/plugins/kotlin/tests-from-compiler/BUILD.bazel index aba6fe1d2af2..1eff7ae42e8e 100644 --- a/plugins/kotlin/tests-from-compiler/BUILD.bazel +++ b/plugins/kotlin/tests-from-compiler/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.testsFromCompiler` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests-from-compiler", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/uast/uast-kotlin-base/tests/BUILD.bazel b/plugins/kotlin/uast/uast-kotlin-base/tests/BUILD.bazel index 0c08818dc923..fbc5f0e0d026 100644 --- a/plugins/kotlin/uast/uast-kotlin-base/tests/BUILD.bazel +++ b/plugins/kotlin/uast/uast-kotlin-base/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.uast.uast-kotlin-base.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/uast/uast-kotlin-fir/tests/BUILD.bazel b/plugins/kotlin/uast/uast-kotlin-fir/tests/BUILD.bazel index 3cd74ea28c95..7dfd6c991320 100644 --- a/plugins/kotlin/uast/uast-kotlin-fir/tests/BUILD.bazel +++ b/plugins/kotlin/uast/uast-kotlin-fir/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.uast.uast-kotlin.k2.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/uast/uast-kotlin-idea-base/tests/BUILD.bazel b/plugins/kotlin/uast/uast-kotlin-idea-base/tests/BUILD.bazel index e40cd28ae3da..371d0f9631e7 100644 --- a/plugins/kotlin/uast/uast-kotlin-idea-base/tests/BUILD.bazel +++ b/plugins/kotlin/uast/uast-kotlin-idea-base/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.uast.uast-kotlin-idea-base.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/uast/uast-kotlin-idea-fir/tests/BUILD.bazel b/plugins/kotlin/uast/uast-kotlin-idea-fir/tests/BUILD.bazel index 2acdbc1e566f..573d8372e32c 100644 --- a/plugins/kotlin/uast/uast-kotlin-idea-fir/tests/BUILD.bazel +++ b/plugins/kotlin/uast/uast-kotlin-idea-fir/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.uast.uast-kotlin-idea.k2.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/uast/uast-kotlin-idea/tests/BUILD.bazel b/plugins/kotlin/uast/uast-kotlin-idea/tests/BUILD.bazel index db259a053c14..8ada0e5fd1e1 100644 --- a/plugins/kotlin/uast/uast-kotlin-idea/tests/BUILD.bazel +++ b/plugins/kotlin/uast/uast-kotlin-idea/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.uast.uast-kotlin-idea.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/uast/uast-kotlin/tests/BUILD.bazel b/plugins/kotlin/uast/uast-kotlin/tests/BUILD.bazel index 46891421d00e..c2d817f3baf2 100644 --- a/plugins/kotlin/uast/uast-kotlin/tests/BUILD.bazel +++ b/plugins/kotlin/uast/uast-kotlin/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.uast.uast-kotlin.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/util/compiler-dependencies/BUILD.bazel b/plugins/kotlin/util/compiler-dependencies/BUILD.bazel index 05bee062d400..030cc031e3bf 100644 --- a/plugins/kotlin/util/compiler-dependencies/BUILD.bazel +++ b/plugins/kotlin/util/compiler-dependencies/BUILD.bazel @@ -1,9 +1,10 @@ ### auto-generated section `build kotlin.util.compiler-dependencies` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "compiler-dependencies", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "@lib//:kotlinc-kotlin-dist", "@lib//:kotlinc-kotlin-ide-dist", diff --git a/plugins/kotlin/util/test-generator-all/BUILD.bazel b/plugins/kotlin/util/test-generator-all/BUILD.bazel index dd01454d6124..f8cad344b74d 100644 --- a/plugins/kotlin/util/test-generator-all/BUILD.bazel +++ b/plugins/kotlin/util/test-generator-all/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.util.test-generator-all` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/kotlin/util/test-generator-api/BUILD.bazel b/plugins/kotlin/util/test-generator-api/BUILD.bazel index 4cca09566493..a45ede8b1056 100644 --- a/plugins/kotlin/util/test-generator-api/BUILD.bazel +++ b/plugins/kotlin/util/test-generator-api/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.util.test-generator-api` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "test-generator-api", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/util/test-generator-fe10/BUILD.bazel b/plugins/kotlin/util/test-generator-fe10/BUILD.bazel index f10457a61c1d..5dddd2381776 100644 --- a/plugins/kotlin/util/test-generator-fe10/BUILD.bazel +++ b/plugins/kotlin/util/test-generator-fe10/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.util.test-generator-fe10` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "test-generator-fe10", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/kotlin/util/test-generator-fir/BUILD.bazel b/plugins/kotlin/util/test-generator-fir/BUILD.bazel index 93dacc6716c3..b2aa6f1dbc83 100644 --- a/plugins/kotlin/util/test-generator-fir/BUILD.bazel +++ b/plugins/kotlin/util/test-generator-fir/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build kotlin.util.test-generator-fir` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "test-generator-fir", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/markdown/plugin/BUILD.bazel b/plugins/markdown/plugin/BUILD.bazel index 42a808c539f8..9d0d4cc19989 100644 --- a/plugins/markdown/plugin/BUILD.bazel +++ b/plugins/markdown/plugin/BUILD.bazel @@ -1,9 +1,10 @@ ### auto-generated section `build intellij.markdown.plugin.main` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "plugin-main", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//plugins/markdown/fenceInjection", "//plugins/markdown/frontmatter", diff --git a/plugins/markdown/test/BUILD.bazel b/plugins/markdown/test/BUILD.bazel index fc7b3517547d..40bdd6f591a5 100644 --- a/plugins/markdown/test/BUILD.bazel +++ b/plugins/markdown/test/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.markdown.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "data" ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/maven/src/test/BUILD.bazel b/plugins/maven/src/test/BUILD.bazel index b59bf795ac41..87c56d1fdca1 100644 --- a/plugins/maven/src/test/BUILD.bazel +++ b/plugins/maven/src/test/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.maven.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "maven-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/properties/tests/BUILD.bazel b/plugins/properties/tests/BUILD.bazel index 78e711ddfe37..9897746a5f6a 100644 --- a/plugins/properties/tests/BUILD.bazel +++ b/plugins/properties/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.properties.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/settings-repository/BUILD.bazel b/plugins/settings-repository/BUILD.bazel index 9577418b8cdf..c2ee961e1b2b 100644 --- a/plugins/settings-repository/BUILD.bazel +++ b/plugins/settings-repository/BUILD.bazel @@ -57,7 +57,6 @@ jvm_library( ### auto-generated section `build intellij.settingsRepository.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/sh/BUILD.bazel b/plugins/sh/BUILD.bazel index f2a278cfa80b..8f7a9a95970b 100644 --- a/plugins/sh/BUILD.bazel +++ b/plugins/sh/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.sh` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "sh_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "sh", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":sh_resources", "//plugins/sh/core", diff --git a/plugins/sh/copyright/BUILD.bazel b/plugins/sh/copyright/BUILD.bazel index 48fd702bdde6..797fb7d502e7 100644 --- a/plugins/sh/copyright/BUILD.bazel +++ b/plugins/sh/copyright/BUILD.bazel @@ -26,7 +26,6 @@ jvm_library( ### auto-generated section `build intellij.sh.copyright.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/sh/core/BUILD.bazel b/plugins/sh/core/BUILD.bazel index 4df6577fd5b2..f0775a72ec48 100644 --- a/plugins/sh/core/BUILD.bazel +++ b/plugins/sh/core/BUILD.bazel @@ -49,12 +49,12 @@ jvm_library( ### auto-generated section `build intellij.sh.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/stats-collector/BUILD.bazel b/plugins/stats-collector/BUILD.bazel index db1cd9a8a62d..8db61525c08e 100644 --- a/plugins/stats-collector/BUILD.bazel +++ b/plugins/stats-collector/BUILD.bazel @@ -35,12 +35,12 @@ jvm_library( ### auto-generated section `build intellij.statsCollector.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "statsCollector-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/svn4idea/BUILD.bazel b/plugins/svn4idea/BUILD.bazel index f409168825ab..e59b1f92753f 100644 --- a/plugins/svn4idea/BUILD.bazel +++ b/plugins/svn4idea/BUILD.bazel @@ -54,12 +54,12 @@ jvm_library( ### auto-generated section `build intellij.vcs.svn.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "vcs-svn-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/tasks/tasks-tests/BUILD.bazel b/plugins/tasks/tasks-tests/BUILD.bazel index dfef571aa0fb..8ef5711b2f65 100644 --- a/plugins/tasks/tasks-tests/BUILD.bazel +++ b/plugins/tasks/tasks-tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.tasks.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/testng_rt/tests/BUILD.bazel b/plugins/testng_rt/tests/BUILD.bazel index 08d532235d59..7c6b7ce61e24 100644 --- a/plugins/testng_rt/tests/BUILD.bazel +++ b/plugins/testng_rt/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.testng.rt.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/toml/BUILD.bazel b/plugins/toml/BUILD.bazel index 47ce0b7742dd..69d6b9af986e 100644 --- a/plugins/toml/BUILD.bazel +++ b/plugins/toml/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.toml` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "toml_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "toml", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [":toml_resources"] ) ### auto-generated section `build intellij.toml` end \ No newline at end of file diff --git a/plugins/toml/tests/BUILD.bazel b/plugins/toml/tests/BUILD.bazel index 3f79d3d4b604..07aadb53e4e1 100644 --- a/plugins/toml/tests/BUILD.bazel +++ b/plugins/toml/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.toml.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "src/test/resources" ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/plugins/turboComplete/BUILD.bazel b/plugins/turboComplete/BUILD.bazel index 76b66527bfac..31d717069229 100644 --- a/plugins/turboComplete/BUILD.bazel +++ b/plugins/turboComplete/BUILD.bazel @@ -34,7 +34,6 @@ jvm_library( ### auto-generated section `build intellij.turboComplete.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") jvm_library( diff --git a/plugins/ui-designer/jps-plugin/tests/BUILD.bazel b/plugins/ui-designer/jps-plugin/tests/BUILD.bazel index 131aa0278b88..85c853786447 100644 --- a/plugins/ui-designer/jps-plugin/tests/BUILD.bazel +++ b/plugins/ui-designer/jps-plugin/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.java.guiForms.jps.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/python/BUILD.bazel b/python/BUILD.bazel index 018a3316da2a..005ccac774ef 100644 --- a/python/BUILD.bazel +++ b/python/BUILD.bazel @@ -34,8 +34,7 @@ jvm_library( ### auto-generated section `build intellij.pycharm.community` end ### auto-generated section `build intellij.pycharm.community.customization` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "pycharm-community-customization_resources", @@ -43,9 +42,10 @@ jvm_resources( strip_prefix = "ide/resources" ) -java_library( +jvm_library( name = "pycharm-community-customization", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":pycharm-community-customization_resources", "//python/ide/impl", @@ -58,11 +58,12 @@ java_library( ### auto-generated section `build intellij.pycharm.community.customization` end ### auto-generated section `build intellij.pycharm.community.main` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "pycharm-community-main", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//platform/main/intellij.platform.monolith.main:monolith-main", "//platform/bootstrap", @@ -117,12 +118,12 @@ java_library( ### auto-generated section `build intellij.python.commonTests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "python-commonTests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( @@ -309,11 +310,12 @@ jvm_library( ### auto-generated section `build intellij.python.community.impl` end ### auto-generated section `build intellij.python.community.plugin.main` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "python-community-plugin-main", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//:main", "//java/openapi:java", @@ -327,11 +329,12 @@ java_library( ### auto-generated section `build intellij.python.community.plugin.main` end ### auto-generated section `build intellij.python.community.plugin.modules` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") -java_library( +jvm_library( name = "python-community-plugin-modules", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ "//python/IntelliLang-python:langInjection", "//python/python-copyright:copyright", @@ -345,7 +348,6 @@ java_library( ### auto-generated section `build intellij.python.community.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -354,9 +356,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "python-community-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( @@ -474,8 +477,7 @@ jps_test( ### auto-generated section `build intellij.python.community.tests` end ### auto-generated section `build intellij.python.helpers` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "python-helpers_resources", @@ -489,9 +491,10 @@ jvm_resources( strip_prefix = "helpers/third_party/thriftpy" ) -java_library( +jvm_library( name = "python-helpers", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":python-helpers_resources", ":python-helpers_resources_1", @@ -501,7 +504,6 @@ java_library( ### auto-generated section `build intellij.python.helpers.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( diff --git a/python/build/build-debug-binaries/BUILD.bazel b/python/build/build-debug-binaries/BUILD.bazel index e428353cc6d4..91440c1f4ef1 100644 --- a/python/build/build-debug-binaries/BUILD.bazel +++ b/python/build/build-debug-binaries/BUILD.bazel @@ -1,3 +1,3 @@ ### auto-generated section `build intellij.pycharm.community.build.debugBinaries` start -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_jvm//:jvm.bzl", "jvm_library") ### auto-generated section `build intellij.pycharm.community.build.debugBinaries` end \ No newline at end of file diff --git a/python/ide/customization.shared/BUILD.bazel b/python/ide/customization.shared/BUILD.bazel index 5f2fc2265a31..f9a0b99b0f6b 100644 --- a/python/ide/customization.shared/BUILD.bazel +++ b/python/ide/customization.shared/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.pycharm.community.customization.shared` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "customization.shared_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "customization.shared", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":customization.shared_resources", "//python/ide/impl", diff --git a/python/junit5Tests-framework/BUILD.bazel b/python/junit5Tests-framework/BUILD.bazel index d59e8a701bf5..207117d8f996 100644 --- a/python/junit5Tests-framework/BUILD.bazel +++ b/python/junit5Tests-framework/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.community.junit5Tests.framework` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "community-junit5Tests-framework", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/python/junit5Tests-framework/conda/BUILD.bazel b/python/junit5Tests-framework/conda/BUILD.bazel index 98ee826a5afc..19eddc0e77a1 100644 --- a/python/junit5Tests-framework/conda/BUILD.bazel +++ b/python/junit5Tests-framework/conda/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.community.junit5Tests.framework.conda` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "conda", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/python/pluginCore/BUILD.bazel b/python/pluginCore/BUILD.bazel index 123006ed5f03..581906063f61 100644 --- a/python/pluginCore/BUILD.bazel +++ b/python/pluginCore/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.community.plugin` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "community-plugin_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "resources" ) -java_library( +jvm_library( name = "community-plugin", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":community-plugin_resources", "//platform/lang-api:lang", diff --git a/resources-en/BUILD.bazel b/resources-en/BUILD.bazel index 7c94f3b5ec31..6d5f81130080 100644 --- a/resources-en/BUILD.bazel +++ b/resources-en/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.resources.en` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "java-resources-en_test_resources", @@ -9,9 +8,10 @@ jvm_resources( visibility = ["//visibility:public"] ) -java_library( +jvm_library( name = "java-resources-en", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = ["//platform/backend"] ) ### auto-generated section `build intellij.java.resources.en` end \ No newline at end of file diff --git a/resources/BUILD.bazel b/resources/BUILD.bazel index 5ee1b9aac951..1f6a83c49cae 100644 --- a/resources/BUILD.bazel +++ b/resources/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.resources` start -load("@rules_java//java:defs.bzl", "java_library") -load("@rules_jvm//:jvm.bzl", "jvm_resources") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "java-resources_resources", @@ -8,9 +7,10 @@ jvm_resources( strip_prefix = "src" ) -java_library( +jvm_library( name = "java-resources", visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True), runtime_deps = [ ":java-resources_resources", "//RegExpSupport:regexp", diff --git a/tools/devLauncher/tests/BUILD.bazel b/tools/devLauncher/tests/BUILD.bazel index 0b7ad6333a67..e4a4c53907ad 100644 --- a/tools/devLauncher/tests/BUILD.bazel +++ b/tools/devLauncher/tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.tools.devLauncher.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/uast/uast-tests/BUILD.bazel b/uast/uast-tests/BUILD.bazel index 7a95afcd04a1..384ccde65225 100644 --- a/uast/uast-tests/BUILD.bazel +++ b/uast/uast-tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.platform.uast.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/xml/dom-tests/BUILD.bazel b/xml/dom-tests/BUILD.bazel index 1be6ae045e15..cebd76ffd641 100644 --- a/xml/dom-tests/BUILD.bazel +++ b/xml/dom-tests/BUILD.bazel @@ -1,11 +1,11 @@ ### auto-generated section `build intellij.xml.dom.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") -java_library( +jvm_library( name = "dom-tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library( diff --git a/xml/tests/BUILD.bazel b/xml/tests/BUILD.bazel index bd26c6107da2..8945f047099e 100644 --- a/xml/tests/BUILD.bazel +++ b/xml/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.xml.tests` start load("@community//build:tests-options.bzl", "jps_test") -load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") jvm_resources( @@ -9,9 +8,10 @@ jvm_resources( strip_prefix = "testResources" ) -java_library( +jvm_library( name = "tests", - visibility = ["//visibility:public"] + visibility = ["//visibility:public"], + srcs = glob([], allow_empty = True) ) jvm_library(