From cff76ea65eaafd3a915eaf495fe70aa1905dac0f Mon Sep 17 00:00:00 2001 From: Leonid Shalupov Date: Fri, 18 Jul 2025 13:27:26 +0200 Subject: [PATCH] bazel: split test and build sections in convert jps to bazel:L update Bazel files GitOrigin-RevId: 90063178de33c2a95bfdebd160a721d6977d8097 --- BUILD.bazel | 2 - RegExpSupport/BUILD.bazel | 9 ++-- aether-dependency-resolver/BUILD.bazel | 9 ++-- build/launch/BUILD.bazel | 9 ++-- build/tasks/BUILD.bazel | 9 ++-- build/tests/BUILD.bazel | 9 ++-- fleet/andel/BUILD.bazel | 4 +- fleet/fastutil/BUILD.bazel | 4 +- fleet/kernel/BUILD.bazel | 4 +- fleet/lsp.protocol/BUILD.bazel | 4 +- fleet/reporting/shared/BUILD.bazel | 4 +- fleet/rhizomedb/BUILD.bazel | 4 +- fleet/rpc/BUILD.bazel | 4 +- fleet/util/core/BUILD.bazel | 4 +- images/BUILD.bazel | 9 ++-- java/compiler/BUILD.bazel | 9 ++-- java/compiler/forms-compiler/BUILD.bazel | 9 ++-- java/execution/jshell-protocol/BUILD.bazel | 9 ++-- java/idea-ui/BUILD.bazel | 9 ++-- java/java-features-trainer/BUILD.bazel | 9 ++-- java/java-frontback-tests/BUILD.bazel | 9 ++-- java/java-syntax/BUILD.bazel | 4 +- java/java-terminal/BUILD.bazel | 9 ++-- java/java-tests/BUILD.bazel | 9 ++-- java/manifest/BUILD.bazel | 9 ++-- java/structuralsearch-java/BUILD.bazel | 9 ++-- java/typeMigration/BUILD.bazel | 9 ++-- jps/jps-builders/BUILD.bazel | 9 ++-- jps/model-impl/BUILD.bazel | 9 ++-- jps/model-serialization/BUILD.bazel | 9 ++-- json/backend/tests/BUILD.bazel | 9 ++-- jvm/jvm-analysis-java-tests/BUILD.bazel | 9 ++-- jvm/jvm-analysis-kotlin-tests-k1/BUILD.bazel | 9 ++-- jvm/jvm-analysis-kotlin-tests-k2/BUILD.bazel | 9 ++-- .../BUILD.bazel | 9 ++-- notebooks/notebook-ui/BUILD.bazel | 4 +- notebooks/visualization/BUILD.bazel | 15 ++++--- platform/backend/observation/BUILD.bazel | 9 ++-- platform/backend/workspace/BUILD.bazel | 4 +- platform/build-scripts/BUILD.bazel | 4 +- .../build-scripts/codeOptimizer/BUILD.bazel | 9 ++-- platform/build-scripts/icons/BUILD.bazel | 9 ++-- .../build-scripts/testFramework/BUILD.bazel | 4 +- platform/build-scripts/tests/BUILD.bazel | 9 ++-- platform/buildData/BUILD.bazel | 4 +- platform/built-in-server/BUILD.bazel | 9 ++-- platform/collaboration-tools/BUILD.bazel | 9 ++-- platform/configuration-store-impl/BUILD.bazel | 9 ++-- platform/core-nio-fs/BUILD.bazel | 9 ++-- platform/credential-store-impl/BUILD.bazel | 9 ++-- .../diagnostic/freezeAnalyzer/BUILD.bazel | 9 ++-- .../startUpPerformanceReporter/BUILD.bazel | 4 +- .../diagnostic/telemetry-impl/BUILD.bazel | 4 +- .../telemetry.exporters/BUILD.bazel | 4 +- platform/diagnostic/telemetry/BUILD.bazel | 9 ++-- .../telemetry/agent-extension/BUILD.bazel | 9 ++-- platform/diagnostic/telemetry/rt/BUILD.bazel | 9 ++-- platform/diff-impl/tests/BUILD.bazel | 9 ++-- platform/distribution-content/BUILD.bazel | 4 +- platform/dvcs-impl/BUILD.bazel | 9 ++-- platform/eel/BUILD.bazel | 18 ++++---- platform/execution-impl/BUILD.bazel | 9 ++-- .../client/BUILD.bazel | 9 ++-- .../common/BUILD.bazel | 9 ++-- .../external-process-auth-helper/BUILD.bazel | 9 ++-- .../dependency-updater/BUILD.bazel | 9 ++-- platform/external-system-impl/BUILD.bazel | 9 ++-- platform/ijent/BUILD.bazel | 9 ++-- platform/indexing-api/BUILD.bazel | 4 +- platform/indexing-tests/BUILD.bazel | 9 ++-- platform/inspect/BUILD.bazel | 9 ++-- platform/instanceContainer/BUILD.bazel | 9 ++-- platform/jewel/decorated-window/BUILD.bazel | 4 +- platform/jewel/detekt-plugin/BUILD.bazel | 9 ++-- platform/jewel/foundation/BUILD.bazel | 15 ++++--- platform/jewel/ide-laf-bridge/BUILD.bazel | 15 ++++--- .../int-ui-decorated-window/BUILD.bazel | 4 +- .../int-ui/int-ui-standalone/BUILD.bazel | 4 +- platform/jewel/markdown/core/BUILD.bazel | 15 ++++--- .../markdown/extensions/autolink/BUILD.bazel | 15 ++++--- .../extensions/gfm-alerts/BUILD.bazel | 15 ++++--- .../extensions/gfm-strikethrough/BUILD.bazel | 4 +- .../extensions/gfm-tables/BUILD.bazel | 4 +- .../markdown/extensions/images/BUILD.bazel | 4 +- .../ide-laf-bridge-styling/BUILD.bazel | 4 +- .../int-ui-standalone-styling/BUILD.bazel | 4 +- platform/jewel/samples/ide-plugin/BUILD.bazel | 4 +- platform/jewel/samples/showcase/BUILD.bazel | 4 +- platform/jewel/samples/standalone/BUILD.bazel | 4 +- platform/jewel/ui-tests/BUILD.bazel | 13 +++--- platform/jewel/ui/BUILD.bazel | 15 ++++--- platform/kernel/backend/BUILD.bazel | 4 +- platform/lang-impl/BUILD.bazel | 9 ++-- platform/lang-impl/testEntities/BUILD.bazel | 9 ++-- platform/lvcs-impl/BUILD.bazel | 9 ++-- platform/markdown-utils/BUILD.bazel | 9 ++-- platform/ml-impl/BUILD.bazel | 9 ++-- platform/object-serializer/BUILD.bazel | 20 +++++---- platform/platform-impl/BUILD.bazel | 9 ++-- .../platform-impl/concurrency/BUILD.bazel | 9 ++-- platform/platform-tests/BUILD.bazel | 9 ++-- .../platform-tests/benchmarks/BUILD.bazel | 9 ++-- .../platform-tests/durability/BUILD.bazel | 13 +++--- platform/polySymbols/BUILD.bazel | 11 +++-- .../target-integration-tests/BUILD.bazel | 9 ++-- platform/remoteDev-util/BUILD.bazel | 9 ++-- platform/runtime/product/BUILD.bazel | 4 +- platform/runtime/product/tests/BUILD.bazel | 9 ++-- platform/runtime/repository/tests/BUILD.bazel | 9 ++-- platform/service-container/BUILD.bazel | 9 ++-- platform/settings-local/BUILD.bazel | 15 ++++--- platform/settings-sync-core/BUILD.bazel | 9 ++-- platform/smRunner/BUILD.bazel | 9 ++-- platform/sqlite/BUILD.bazel | 9 ++-- platform/statistics/BUILD.bazel | 9 ++-- platform/statistics/devkit/BUILD.bazel | 9 ++-- platform/statistics/envTests/BUILD.bazel | 9 ++-- platform/structuralsearch/BUILD.bazel | 9 ++-- platform/syntax/syntax-api/BUILD.bazel | 9 ++-- platform/syntax/syntax-extensions/BUILD.bazel | 9 ++-- platform/syntax/syntax-i18n/BUILD.bazel | 9 ++-- platform/syntax/syntax-psi-tests/BUILD.bazel | 9 ++-- platform/testFramework/BUILD.bazel | 9 ++-- .../testFramework/junit5.jimfs/BUILD.bazel | 9 ++-- platform/testFramework/junit5/BUILD.bazel | 9 ++-- platform/testFramework/junit5/eel/BUILD.bazel | 9 ++-- .../junit5/projectStructure/BUILD.bazel | 9 ++-- platform/testFramework/monorepo/BUILD.bazel | 9 ++-- platform/testRunner/BUILD.bazel | 9 ++-- platform/threadDumpParser/BUILD.bazel | 9 ++-- platform/util-rt/BUILD.bazel | 9 ++-- platform/util/BUILD.bazel | 10 ++--- platform/util/concurrency/BUILD.bazel | 9 ++-- platform/util/coroutines/BUILD.bazel | 9 ++-- .../benchmark/BUILD.bazel | 9 ++-- platform/util/progress/BUILD.bazel | 13 +++--- platform/vcs-api/vcs-api-core/BUILD.bazel | 9 ++-- platform/vcs-impl/BUILD.bazel | 9 ++-- platform/vcs-log/graph/BUILD.bazel | 9 ++-- platform/vcs-log/impl/BUILD.bazel | 9 ++-- platform/vcs-tests/BUILD.bazel | 9 ++-- platform/whatsNew/BUILD.bazel | 15 ++++--- platform/workspace/jps/BUILD.bazel | 4 +- platform/workspace/jps/tests/BUILD.bazel | 9 ++-- platform/workspace/storage/BUILD.bazel | 4 +- .../storage/testEntities/BUILD.bazel | 9 ++-- platform/workspace/storage/tests/BUILD.bazel | 13 +++--- platform/xdebugger-impl/BUILD.bazel | 9 ++-- platform/xdebugger-impl/frontend/BUILD.bazel | 9 ++-- plugins/ByteCodeViewer/BUILD.bazel | 9 ++-- .../IntelliLang/IntelliLang-tests/BUILD.bazel | 9 ++-- plugins/ant/BUILD.bazel | 9 ++-- plugins/ant/jps-plugin/BUILD.bazel | 9 ++-- plugins/commander/BUILD.bazel | 9 ++-- .../completion-ml-ranking-models/BUILD.bazel | 9 ++-- plugins/completion-ml-ranking/BUILD.bazel | 9 ++-- .../BUILD.bazel | 13 +++--- .../BUILD.bazel | 14 +++---- .../BUILD.bazel | 9 ++-- .../BUILD.bazel | 9 ++-- .../BUILD.bazel | 13 +++--- plugins/configuration-script/BUILD.bazel | 18 ++++---- plugins/copyright/BUILD.bazel | 9 ++-- plugins/coverage-common/BUILD.bazel | 9 ++-- plugins/coverage/BUILD.bazel | 9 ++-- plugins/dev/BUILD.bazel | 2 - plugins/devkit/BUILD.bazel | 4 -- plugins/devkit/api-dump-lang/BUILD.bazel | 9 ++-- plugins/devkit/devkit-core/BUILD.bazel | 4 +- plugins/devkit/devkit-java-tests/BUILD.bazel | 9 ++-- .../devkit-kotlin-fir-tests/BUILD.bazel | 9 ++-- .../devkit/devkit-kotlin-tests/BUILD.bazel | 9 ++-- plugins/devkit/devkit-tests/BUILD.bazel | 9 ++-- .../intellij.devkit.debugger/BUILD.bazel | 9 ++-- .../devkit/intellij.devkit.git/BUILD.bazel | 9 ++-- .../devkit/intellij.devkit.gradle/BUILD.bazel | 9 ++-- .../devkit/intellij.devkit.i18n/BUILD.bazel | 9 ++-- .../devkit/intellij.devkit.themes/BUILD.bazel | 9 ++-- .../BUILD.bazel | 4 +- .../k1/BUILD.bazel | 15 ++++--- .../k2/BUILD.bazel | 15 ++++--- .../tests/BUILD.bazel | 9 ++-- .../devkit/intellij.kotlin.devkit/BUILD.bazel | 4 +- .../intellij.kotlin.devkit/k1/BUILD.bazel | 9 ++-- .../intellij.kotlin.devkit/k2/BUILD.bazel | 4 +- plugins/devkit/jps-plugin/BUILD.bazel | 9 ++-- .../runtimeModuleRepository/jps/BUILD.bazel | 15 ++++--- plugins/eclipse/BUILD.bazel | 9 ++-- plugins/editorconfig/BUILD.bazel | 2 - plugins/editorconfig/backend/BUILD.bazel | 9 ++-- plugins/evaluation-plugin/BUILD.bazel | 9 ++-- .../languages/java/BUILD.bazel | 9 ++-- plugins/filePrediction/BUILD.bazel | 9 ++-- plugins/findUsagesMl/BUILD.bazel | 9 ++-- plugins/git-features-trainer/BUILD.bazel | 9 ++-- plugins/git4idea/BUILD.bazel | 15 ++++--- .../intellij.vcs.git.coverage/BUILD.bazel | 9 ++-- plugins/github/github-core/BUILD.bazel | 9 ++-- plugins/gitlab/gitlab-core/BUILD.bazel | 9 ++-- plugins/gitlab/gitlab-yaml/BUILD.bazel | 9 ++-- plugins/gradle-maven/BUILD.bazel | 9 ++-- plugins/gradle/BUILD.bazel | 11 +++-- .../gradle-declarative-sync/BUILD.bazel | 9 ++-- plugins/gradle/java/BUILD.bazel | 9 ++-- plugins/gradle/jps-plugin/BUILD.bazel | 9 ++-- plugins/gradle/native/tooling/BUILD.bazel | 13 +++--- .../gradle/tooling-extension-impl/BUILD.bazel | 13 +++--- plugins/grazie/src/test/BUILD.bazel | 9 ++-- plugins/groovy/BUILD.bazel | 9 ++-- plugins/groovy/groovy-uast-tests/BUILD.bazel | 9 ++-- plugins/groovy/jps-plugin/BUILD.bazel | 9 ++-- .../structuralsearch-groovy/BUILD.bazel | 9 ++-- plugins/hg4idea/BUILD.bazel | 9 ++-- plugins/htmltools/BUILD.bazel | 9 ++-- plugins/ide-features-trainer/BUILD.bazel | 9 ++-- .../ide-startup/importSettings/BUILD.bazel | 9 ++-- plugins/java-decompiler/engine/BUILD.bazel | 9 ++-- plugins/java-decompiler/plugin/BUILD.bazel | 9 ++-- plugins/java-i18n/BUILD.bazel | 9 ++-- plugins/javaFX/BUILD.bazel | 11 ++--- plugins/javaFX/community/BUILD.bazel | 9 ++-- plugins/jsonpath/BUILD.bazel | 9 ++-- plugins/junit/groovy-tests/BUILD.bazel | 9 ++-- plugins/junit/java-tests/BUILD.bazel | 9 ++-- plugins/junit/kotlin-tests-k1/BUILD.bazel | 9 ++-- plugins/junit/kotlin-tests-k2/BUILD.bazel | 9 ++-- plugins/junit/kotlin-tests-shared/BUILD.bazel | 9 ++-- plugins/junit5_rt_tests/BUILD.bazel | 9 ++-- .../base/analysis-api-platform/BUILD.bazel | 4 +- .../analysis-api-k2-tests/BUILD.bazel | 13 +++--- .../analysis-api-utils/BUILD.bazel | 4 +- plugins/kotlin/base/analysis/BUILD.bazel | 4 +- .../kotlin/base/analysis/tests/BUILD.bazel | 9 ++-- plugins/kotlin/base/code-insight/BUILD.bazel | 15 ++++--- plugins/kotlin/base/facet/tests/BUILD.bazel | 9 ++-- .../fe10/analysis-api-platform/BUILD.bazel | 4 +- plugins/kotlin/base/fe10/analysis/BUILD.bazel | 4 +- .../kotlin/base/fe10/code-insight/BUILD.bazel | 4 +- .../base/fe10/obsolete-compat/BUILD.bazel | 4 +- .../base/fe10/project-structure/BUILD.bazel | 4 +- .../fir/analysis-api-platform/BUILD.bazel | 15 ++++--- .../kotlin/base/fir/code-insight/BUILD.bazel | 4 +- .../base/fir/project-structure/BUILD.bazel | 15 ++++--- plugins/kotlin/base/fir/scripting/BUILD.bazel | 4 +- plugins/kotlin/base/indices/tests/BUILD.bazel | 9 ++-- .../kotlin.base.serialization/BUILD.bazel | 4 +- plugins/kotlin/base/plugin/BUILD.bazel | 9 ++-- .../kotlin/base/project-structure/BUILD.bazel | 15 ++++--- plugins/kotlin/base/resources/BUILD.bazel | 4 +- plugins/kotlin/base/scripting.k1/BUILD.bazel | 9 ++-- plugins/kotlin/base/scripting/BUILD.bazel | 15 ++++--- plugins/kotlin/base/test/BUILD.bazel | 9 ++-- plugins/kotlin/base/util/BUILD.bazel | 9 ++-- plugins/kotlin/code-insight/api/BUILD.bazel | 4 +- .../kotlin/code-insight/fixes-k2/BUILD.bazel | 4 +- .../code-insight/fixes-k2/tests/BUILD.bazel | 9 ++-- .../kotlin/code-insight/impl-base/BUILD.bazel | 4 +- .../code-insight/inspections-k2/BUILD.bazel | 4 +- .../inspections-k2/tests/BUILD.bazel | 9 ++-- .../inspections-shared/BUILD.bazel | 4 +- .../inspections-shared/tests/k1/BUILD.bazel | 9 ++-- .../inspections-shared/tests/k2/BUILD.bazel | 9 ++-- .../code-insight/intentions-k2/BUILD.bazel | 4 +- .../intentions-k2/tests/BUILD.bazel | 9 ++-- .../intentions-shared/BUILD.bazel | 4 +- .../intentions-shared/tests/k1/BUILD.bazel | 9 ++-- .../intentions-shared/tests/k2/BUILD.bazel | 9 ++-- .../kotlin.code-insight.k1/BUILD.bazel | 9 ++-- .../kotlin.code-insight.k2/BUILD.bazel | 15 ++++--- .../code-insight/line-markers/BUILD.bazel | 15 ++++--- .../live-templates-k1/BUILD.bazel | 9 ++-- .../live-templates-k2/BUILD.bazel | 15 ++++--- .../live-templates-shared/BUILD.bazel | 15 ++++--- .../override-implement-k2/BUILD.bazel | 4 +- .../postfix-templates/BUILD.bazel | 15 ++++--- .../structural-search-k2/BUILD.bazel | 4 +- .../structural-search-k2/tests/BUILD.bazel | 9 ++-- plugins/kotlin/code-insight/utils/BUILD.bazel | 4 +- .../allopen/tests-k1/BUILD.bazel | 9 ++-- .../assignment/common-k1/BUILD.bazel | 4 +- .../assignment/common/BUILD.bazel | 4 +- .../compiler-plugin-support/tests/BUILD.bazel | 9 ++-- .../kotlinx-serialization/k2/BUILD.bazel | 4 +- .../kotlinx-serialization/tests/BUILD.bazel | 9 ++-- .../compiler-plugins/noarg/tests/BUILD.bazel | 9 ++-- .../parcelize/common/BUILD.bazel | 4 +- .../compiler-plugins/parcelize/k1/BUILD.bazel | 4 +- .../compiler-plugins/parcelize/k2/BUILD.bazel | 4 +- .../parcelize/tests/BUILD.bazel | 9 ++-- .../parcelize/tests/k1/BUILD.bazel | 9 ++-- .../parcelize/tests/k2/BUILD.bazel | 9 ++-- .../sam-with-receiver/common/BUILD.bazel | 4 +- .../tests.k2/BUILD.bazel | 9 ++-- .../tests/BUILD.bazel | 9 ++-- plugins/kotlin/completion/api/BUILD.bazel | 4 +- plugins/kotlin/completion/impl-k1/BUILD.bazel | 4 +- plugins/kotlin/completion/impl-k2/BUILD.bazel | 4 +- .../kotlin/completion/impl-shared/BUILD.bazel | 4 +- .../kotlin/completion/tests-k1/BUILD.bazel | 9 ++-- .../completion/tests-shared/BUILD.bazel | 9 ++-- .../kotlin/copyright/fir-tests/BUILD.bazel | 9 ++-- plugins/kotlin/copyright/tests/BUILD.bazel | 9 ++-- plugins/kotlin/core/tests/BUILD.bazel | 13 +++--- plugins/kotlin/coverage/tests/BUILD.bazel | 9 ++-- .../kotlin/features-trainer/tests/BUILD.bazel | 9 ++-- plugins/kotlin/fir/BUILD.bazel | 4 +- plugins/kotlin/fir/tests/BUILD.bazel | 13 +++--- .../code-insight-groovy/tests.k2/BUILD.bazel | 9 ++-- plugins/kotlin/gradle/gradle-java/BUILD.bazel | 15 ++++--- .../kotlin/gradle/gradle-java/k1/BUILD.bazel | 9 ++-- .../kotlin/gradle/gradle-java/k2/BUILD.bazel | 9 ++-- .../gradle-java/tests.shared/BUILD.bazel | 9 ++-- .../gradle/gradle-tooling/impl/BUILD.bazel | 9 ++-- .../gradle/gradle-tooling/tests/BUILD.bazel | 9 ++-- plugins/kotlin/gradle/gradle/BUILD.bazel | 4 +- .../kotlin/gradle/gradle/tests/BUILD.bazel | 9 ++-- .../gradle/multiplatform-tests-k2/BUILD.bazel | 9 ++-- .../gradle/multiplatform-tests/BUILD.bazel | 9 ++-- .../kotlin.gradle.scripting.k2/BUILD.bazel | 15 ++++--- .../highlighting/highlighting-k1/BUILD.bazel | 4 +- .../highlighting/highlighting-k2/BUILD.bazel | 15 ++++--- .../highlighting-shared/tests/BUILD.bazel | 9 ++-- plugins/kotlin/i18n/tests/BUILD.bazel | 9 ++-- plugins/kotlin/idea/BUILD.bazel | 4 +- plugins/kotlin/idea/tests/BUILD.bazel | 13 +++--- plugins/kotlin/injection/base/BUILD.bazel | 4 +- .../kotlin/injection/base/tests/BUILD.bazel | 13 +++--- plugins/kotlin/injection/k1/BUILD.bazel | 4 +- plugins/kotlin/injection/k1/tests/BUILD.bazel | 13 +++--- plugins/kotlin/injection/k2/BUILD.bazel | 4 +- plugins/kotlin/injection/k2/tests/BUILD.bazel | 13 +++--- .../j2k/k1.new.post-processing/BUILD.bazel | 4 +- plugins/kotlin/j2k/k1.new/BUILD.bazel | 4 +- plugins/kotlin/j2k/k1.new/tests/BUILD.bazel | 13 +++--- .../j2k/k1.old.post-processing/BUILD.bazel | 4 +- plugins/kotlin/j2k/k1.old/BUILD.bazel | 4 +- plugins/kotlin/j2k/k2/BUILD.bazel | 4 +- plugins/kotlin/j2k/k2/tests/BUILD.bazel | 13 +++--- plugins/kotlin/j2k/shared/BUILD.bazel | 4 +- plugins/kotlin/j2k/shared/tests/BUILD.bazel | 13 +++--- .../jps/graphImplementationTests/BUILD.bazel | 9 ++-- .../kotlin/jvm-debugger/core-fe10/BUILD.bazel | 4 +- plugins/kotlin/jvm-debugger/core/BUILD.bazel | 4 +- .../jvm-debugger/coroutines/BUILD.bazel | 4 +- .../kotlin/jvm-debugger/eval4j/BUILD.bazel | 9 ++-- .../jvm-debugger/evaluation/k1/BUILD.bazel | 4 +- plugins/kotlin/jvm-debugger/test/BUILD.bazel | 9 ++-- .../jvm-debugger/test/compose/BUILD.bazel | 9 ++-- .../kotlin/jvm-debugger/test/k2/BUILD.bazel | 9 ++-- .../jvm-debugger/test/parcelize/BUILD.bazel | 9 ++-- plugins/kotlin/jvm/shared/BUILD.bazel | 4 +- .../kotlin/kotlin.lombok.tests/BUILD.bazel | 9 ++-- plugins/kotlin/kotlin.searching/BUILD.bazel | 4 +- .../kotlin/kotlin.searching/base/BUILD.bazel | 4 +- .../kotlin.searching.test.k2/BUILD.bazel | 9 ++-- plugins/kotlin/maven/tests/BUILD.bazel | 9 ++-- .../kotlin/ml-completion/tests/BUILD.bazel | 9 ++-- plugins/kotlin/native/tests/BUILD.bazel | 9 ++-- plugins/kotlin/navigation/BUILD.bazel | 4 +- plugins/kotlin/navigation/tests/BUILD.bazel | 9 ++-- plugins/kotlin/onboarding-gradle/BUILD.bazel | 9 ++-- plugins/kotlin/onboarding/BUILD.bazel | 9 ++-- plugins/kotlin/performance-tests/BUILD.bazel | 9 ++-- .../performance-test-utils/BUILD.bazel | 9 ++-- .../kotlin/project-wizard/compose/BUILD.bazel | 9 ++-- .../kotlin/project-wizard/core/BUILD.bazel | 9 ++-- .../kotlin/project-wizard/tests/BUILD.bazel | 9 ++-- .../BUILD.bazel | 9 ++-- .../kotlin.refactorings.common/BUILD.bazel | 4 +- .../kotlin.refactorings.k2/BUILD.bazel | 4 +- .../kotlin.refactorings.move.k2/BUILD.bazel | 15 ++++--- .../kotlin.refactorings.tests.k2/BUILD.bazel | 13 +++--- .../kotlin/refactorings/rename.k2/BUILD.bazel | 15 ++++--- plugins/kotlin/repl/BUILD.bazel | 4 +- plugins/kotlin/scripting-support/BUILD.bazel | 9 ++-- plugins/kotlin/scripting/BUILD.bazel | 4 +- plugins/kotlin/test-framework/BUILD.bazel | 9 ++-- plugins/kotlin/tests-common/BUILD.bazel | 9 ++-- plugins/kotlin/tests-compose/BUILD.bazel | 9 ++-- .../kotlin/tests-from-compiler/BUILD.bazel | 9 ++-- .../uast/uast-kotlin-base/tests/BUILD.bazel | 9 ++-- .../kotlin/uast/uast-kotlin-fir/BUILD.bazel | 4 +- .../uast/uast-kotlin-fir/tests/BUILD.bazel | 9 ++-- .../uast-kotlin-idea-base/tests/BUILD.bazel | 9 ++-- .../uast/uast-kotlin-idea-fir/BUILD.bazel | 4 +- .../uast-kotlin-idea-fir/tests/BUILD.bazel | 9 ++-- .../uast/uast-kotlin-idea/tests/BUILD.bazel | 9 ++-- .../kotlin/uast/uast-kotlin/tests/BUILD.bazel | 9 ++-- .../util/test-generator-all/BUILD.bazel | 9 ++-- .../util/test-generator-api/BUILD.bazel | 9 ++-- .../util/test-generator-fe10/BUILD.bazel | 9 ++-- .../util/test-generator-fir/BUILD.bazel | 9 ++-- plugins/lombok/BUILD.bazel | 9 ++-- plugins/markdown/test/BUILD.bazel | 9 ++-- plugins/maven/jps-plugin/BUILD.bazel | 9 ++-- .../maven/maven-event-listener/BUILD.bazel | 9 ++-- plugins/maven/src/test/BUILD.bazel | 9 ++-- plugins/mcp-server/BUILD.bazel | 9 ++-- plugins/performanceTesting/core/BUILD.bazel | 9 ++-- .../performanceTesting/event-bus/BUILD.bazel | 9 ++-- .../performanceTesting/scripts-ui/BUILD.bazel | 9 ++-- .../BUILD.bazel | 9 ++-- plugins/properties/tests/BUILD.bazel | 9 ++-- plugins/rareJavaRefactorings/BUILD.bazel | 9 ++-- plugins/remote-control/BUILD.bazel | 9 ++-- plugins/repository-search/BUILD.bazel | 15 ++++--- plugins/search-everywhere-ml/BUILD.bazel | 9 ++-- .../ranking/core/BUILD.bazel | 9 ++-- .../search-everywhere-ml/typos/BUILD.bazel | 9 ++-- plugins/settings-repository/BUILD.bazel | 9 ++-- plugins/settings-sync/jba/BUILD.bazel | 9 ++-- plugins/sh/copyright/BUILD.bazel | 9 ++-- plugins/sh/core/BUILD.bazel | 9 ++-- plugins/stats-collector/BUILD.bazel | 9 ++-- plugins/stream-debugger/BUILD.bazel | 9 ++-- plugins/svn4idea/BUILD.bazel | 9 ++-- plugins/tasks/tasks-tests/BUILD.bazel | 9 ++-- plugins/terminal/BUILD.bazel | 9 ++-- plugins/terminal/backend/BUILD.bazel | 9 ++-- plugins/terminal/completion/BUILD.bazel | 9 ++-- plugins/terminal/frontend/BUILD.bazel | 9 ++-- plugins/testng/BUILD.bazel | 9 ++-- plugins/testng_rt/tests/BUILD.bazel | 9 ++-- plugins/textmate/BUILD.bazel | 9 ++-- plugins/textmate/core/BUILD.bazel | 15 ++++--- plugins/textmate/joni/BUILD.bazel | 9 ++-- plugins/toml/tests/BUILD.bazel | 9 ++-- plugins/turboComplete/BUILD.bazel | 9 ++-- plugins/ui-designer/BUILD.bazel | 9 ++-- .../ui-designer/jps-plugin/tests/BUILD.bazel | 9 ++-- plugins/xpath/BUILD.bazel | 9 ++-- plugins/xslt-debugger/engine/impl/BUILD.bazel | 9 ++-- plugins/yaml/BUILD.bazel | 9 ++-- plugins/yaml/backend/BUILD.bazel | 9 ++-- python/BUILD.bazel | 41 +++++++------------ python/build/BUILD.bazel | 9 ++-- python/ide/impl/BUILD.bazel | 9 ++-- python/interpreters/BUILD.bazel | 9 ++-- python/junit5Tests-framework/BUILD.bazel | 9 ++-- .../junit5Tests-framework/conda/BUILD.bazel | 9 ++-- python/openapi/BUILD.bazel | 9 ++-- python/python-exec-service/BUILD.bazel | 9 ++-- .../execService.python/BUILD.bazel | 9 ++-- python/python-features-trainer/BUILD.bazel | 9 ++-- python/python-hatch/BUILD.bazel | 4 +- python/python-markdown/BUILD.bazel | 9 ++-- python/python-pyproject/BUILD.bazel | 9 ++-- python/python-sdk/BUILD.bazel | 9 ++-- python/python-terminal/BUILD.bazel | 9 ++-- python/python-venv/BUILD.bazel | 9 ++-- python/services/internal-impl/BUILD.bazel | 9 ++-- python/services/shared/BUILD.bazel | 9 ++-- python/services/system-python/BUILD.bazel | 9 ++-- spellchecker/BUILD.bazel | 9 ++-- tools/devLauncher/tests/BUILD.bazel | 9 ++-- .../BUILD.bazel | 9 ++-- .../BUILD.bazel | 15 ++++--- .../BUILD.bazel | 4 +- uast/uast-tests/BUILD.bazel | 9 ++-- updater/BUILD.bazel | 9 ++-- wintools/BUILD.bazel | 9 ++-- xml/dom-tests/BUILD.bazel | 9 ++-- xml/relaxng/BUILD.bazel | 9 ++-- xml/tests/BUILD.bazel | 9 ++-- xml/xmlbeans/BUILD.bazel | 9 ++-- 465 files changed, 2482 insertions(+), 1512 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index 7c6b336f4a9f..f4bcd126e99a 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -539,8 +539,6 @@ jvm_library( ### auto-generated section `build intellij.idea.community.main` end ### auto-generated section `build intellij.idea.community.main.android` start -load("@rules_jvm//:jvm.bzl", "jvm_library") - jvm_library( name = "main-android", visibility = ["//visibility:public"], diff --git a/RegExpSupport/BUILD.bazel b/RegExpSupport/BUILD.bazel index 3edad8e407cb..325d8cec4d3c 100644 --- a/RegExpSupport/BUILD.bazel +++ b/RegExpSupport/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.regexp` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "regexp_resources", @@ -61,9 +60,13 @@ jvm_library( ], runtime_deps = [":regexp_resources"] ) +### auto-generated section `build intellij.regexp` end + +### auto-generated section `test intellij.regexp` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "regexp_test", runtime_deps = [":regexp_test_lib"] ) -### auto-generated section `build intellij.regexp` end \ No newline at end of file +### auto-generated section `test intellij.regexp` end \ No newline at end of file diff --git a/aether-dependency-resolver/BUILD.bazel b/aether-dependency-resolver/BUILD.bazel index c64b39e49e01..c1f3b9056b0a 100644 --- a/aether-dependency-resolver/BUILD.bazel +++ b/aether-dependency-resolver/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.aetherDependencyResolver` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "aether-dependency-resolver", @@ -49,9 +48,13 @@ jvm_library( "//platform/util", ] ) +### auto-generated section `build intellij.java.aetherDependencyResolver` end + +### auto-generated section `test intellij.java.aetherDependencyResolver` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "aether-dependency-resolver_test", runtime_deps = [":aether-dependency-resolver_test_lib"] ) -### auto-generated section `build intellij.java.aetherDependencyResolver` end \ No newline at end of file +### auto-generated section `test intellij.java.aetherDependencyResolver` end \ No newline at end of file diff --git a/build/launch/BUILD.bazel b/build/launch/BUILD.bazel index f6a3b910a611..a89cba465044 100644 --- a/build/launch/BUILD.bazel +++ b/build/launch/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.idea.tools.launch` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "launch_resources", @@ -46,9 +45,13 @@ jvm_library( ], runtime_deps = [":launch_resources"] ) +### auto-generated section `build intellij.idea.tools.launch` end + +### auto-generated section `test intellij.idea.tools.launch` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "launch_test", runtime_deps = [":launch_test_lib"] ) -### auto-generated section `build intellij.idea.tools.launch` end \ No newline at end of file +### auto-generated section `test intellij.idea.tools.launch` end \ No newline at end of file diff --git a/build/tasks/BUILD.bazel b/build/tasks/BUILD.bazel index 6b47e174dad2..736d26a899a1 100644 --- a/build/tasks/BUILD.bazel +++ b/build/tasks/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.idea.community.build.tasks` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tasks", @@ -80,9 +79,13 @@ jvm_library( "@rules_jvm//zip", ] ) +### auto-generated section `build intellij.idea.community.build.tasks` end + +### auto-generated section `test intellij.idea.community.build.tasks` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tasks_test", runtime_deps = [":tasks_test_lib"] ) -### auto-generated section `build intellij.idea.community.build.tasks` end \ No newline at end of file +### auto-generated section `test intellij.idea.community.build.tasks` end \ No newline at end of file diff --git a/build/tests/BUILD.bazel b/build/tests/BUILD.bazel index cb4d36018d42..1a640c074830 100644 --- a/build/tests/BUILD.bazel +++ b/build/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.idea.community.build.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -23,9 +22,13 @@ jvm_library( "//platform/build-scripts/downloader", ] ) +### auto-generated section `build intellij.idea.community.build.tests` end + +### auto-generated section `test intellij.idea.community.build.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.idea.community.build.tests` end \ No newline at end of file +### auto-generated section `test intellij.idea.community.build.tests` end \ No newline at end of file diff --git a/fleet/andel/BUILD.bazel b/fleet/andel/BUILD.bazel index 56f407d49643..3b03a4204836 100644 --- a/fleet/andel/BUILD.bazel +++ b/fleet/andel/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_andel", opt_in = ["kotlin.concurrent.atomics.ExperimentalAtomicApi"] ) @@ -12,7 +12,7 @@ jvm_library( module_name = "fleet.andel", visibility = ["//visibility:public"], srcs = glob(["srcCommonMain/**/*.kt", "srcCommonMain/**/*.java", "srcJvmMain/**/*.kt", "srcJvmMain/**/*.java"], allow_empty = True, exclude = ["**/module-info.java"]), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_andel", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-collections-immutable", diff --git a/fleet/fastutil/BUILD.bazel b/fleet/fastutil/BUILD.bazel index 6e5227995977..ab3e5b1f639e 100644 --- a/fleet/fastutil/BUILD.bazel +++ b/fleet/fastutil/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_fastutil", opt_in = [ "kotlinx.coroutines.ExperimentalCoroutinesApi", "kotlin.ExperimentalStdlibApi", @@ -15,7 +15,7 @@ jvm_library( module_name = "fleet.fastutil", visibility = ["//visibility:public"], srcs = glob(["srcCommonMain/**/*.kt", "srcCommonMain/**/*.java", "srcJvmMain/**/*.kt", "srcJvmMain/**/*.java"], allow_empty = True, exclude = ["**/module-info.java"]), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_fastutil", deps = ["@lib//:kotlin-stdlib"] ) ### auto-generated section `build fleet.fastutil` end \ No newline at end of file diff --git a/fleet/kernel/BUILD.bazel b/fleet/kernel/BUILD.bazel index 2c18c01e32ac..bd1bc01f9ee2 100644 --- a/fleet/kernel/BUILD.bazel +++ b/fleet/kernel/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_kernel", opt_in = [ "kotlinx.coroutines.ExperimentalCoroutinesApi", "kotlin.ExperimentalStdlibApi", @@ -16,7 +16,7 @@ jvm_library( module_name = "fleet.kernel", visibility = ["//visibility:public"], srcs = glob(["srcCommonMain/**/*.kt", "srcCommonMain/**/*.java", "srcJvmMain/**/*.kt", "srcJvmMain/**/*.java"], allow_empty = True, exclude = ["**/module-info.java"]), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kernel", deps = [ "@lib//:kotlin-stdlib", "//fleet/rhizomedb", diff --git a/fleet/lsp.protocol/BUILD.bazel b/fleet/lsp.protocol/BUILD.bazel index 2f0aa51c6c7e..ed5db0071391 100644 --- a/fleet/lsp.protocol/BUILD.bazel +++ b/fleet/lsp.protocol/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_lsp.protocol", context_parameters = True, opt_in = [ "kotlinx.coroutines.ExperimentalCoroutinesApi", @@ -16,7 +16,7 @@ jvm_library( module_name = "fleet.lsp.protocol", visibility = ["//visibility:public"], srcs = glob(["src/main/**/*.kt", "src/main/**/*.java"], allow_empty = True, exclude = ["**/module-info.java"]), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_lsp.protocol", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", diff --git a/fleet/reporting/shared/BUILD.bazel b/fleet/reporting/shared/BUILD.bazel index e1394dccd97f..f94c17f4e048 100644 --- a/fleet/reporting/shared/BUILD.bazel +++ b/fleet/reporting/shared/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_shared", opt_in = ["kotlinx.coroutines.ExperimentalCoroutinesApi"] ) @@ -12,7 +12,7 @@ jvm_library( module_name = "fleet.reporting.shared", visibility = ["//visibility:public"], srcs = glob(["srcCommonMain/**/*.kt", "srcCommonMain/**/*.java", "srcJvmMain/**/*.kt", "srcJvmMain/**/*.java"], allow_empty = True, exclude = ["**/module-info.java"]), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_shared", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", diff --git a/fleet/rhizomedb/BUILD.bazel b/fleet/rhizomedb/BUILD.bazel index bbd513a1b980..bd90eaa19a0d 100644 --- a/fleet/rhizomedb/BUILD.bazel +++ b/fleet/rhizomedb/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_rhizomedb", allow_kotlin_package = True, opt_in = [ "kotlin.ExperimentalStdlibApi", @@ -16,7 +16,7 @@ jvm_library( module_name = "fleet.rhizomedb", visibility = ["//visibility:public"], srcs = glob(["srcCommonMain/**/*.kt", "srcCommonMain/**/*.java", "srcJvmMain/**/*.kt", "srcJvmMain/**/*.java"], allow_empty = True, exclude = ["**/module-info.java"]), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_rhizomedb", deps = [ "//fleet/util/core", "//fleet/multiplatform.shims", diff --git a/fleet/rpc/BUILD.bazel b/fleet/rpc/BUILD.bazel index 667d17832d88..4ed677e416ce 100644 --- a/fleet/rpc/BUILD.bazel +++ b/fleet/rpc/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_rpc", opt_in = [ "kotlinx.coroutines.ExperimentalCoroutinesApi", "kotlin.ExperimentalStdlibApi", @@ -16,7 +16,7 @@ jvm_library( module_name = "fleet.rpc", visibility = ["//visibility:public"], srcs = glob(["srcCommonMain/**/*.kt", "srcCommonMain/**/*.java", "srcJvmMain/**/*.kt", "srcJvmMain/**/*.java"], allow_empty = True, exclude = ["**/module-info.java"]), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_rpc", exported_compiler_plugins = ["@lib//:rpc-plugin"], deps = [ "//fleet/reporting/api", diff --git a/fleet/util/core/BUILD.bazel b/fleet/util/core/BUILD.bazel index 7dc220b9c952..0950773c29f1 100644 --- a/fleet/util/core/BUILD.bazel +++ b/fleet/util/core/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library") create_kotlinc_options( - name = "custom", + name = "custom_core", opt_in = ["kotlin.concurrent.atomics.ExperimentalAtomicApi"] ) @@ -17,7 +17,7 @@ jvm_library( module_name = "fleet.util.core", visibility = ["//visibility:public"], srcs = glob(["srcJvmMain/**/*.kt", "srcJvmMain/**/*.java", "srcCommonMain/**/*.kt", "srcCommonMain/**/*.java"], allow_empty = True, exclude = ["**/module-info.java"]), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_core", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", diff --git a/images/BUILD.bazel b/images/BUILD.bazel index 1db64d38094a..4a2058e0349f 100644 --- a/images/BUILD.bazel +++ b/images/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.images` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "images_resources", @@ -73,9 +72,13 @@ jvm_library( ], runtime_deps = [":images_resources"] ) +### auto-generated section `build intellij.platform.images` end + +### auto-generated section `test intellij.platform.images` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "images_test", runtime_deps = [":images_test_lib"] ) -### auto-generated section `build intellij.platform.images` end \ No newline at end of file +### auto-generated section `test intellij.platform.images` end \ No newline at end of file diff --git a/java/compiler/BUILD.bazel b/java/compiler/BUILD.bazel index fe61ed49512b..3b431b106aeb 100644 --- a/java/compiler/BUILD.bazel +++ b/java/compiler/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.compiler.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "compiler-tests", @@ -41,9 +40,13 @@ jvm_library( ], runtime_deps = ["//spellchecker"] ) +### auto-generated section `build intellij.java.compiler.tests` end + +### auto-generated section `test intellij.java.compiler.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "compiler-tests_test", runtime_deps = [":compiler-tests_test_lib"] ) -### auto-generated section `build intellij.java.compiler.tests` end \ No newline at end of file +### auto-generated section `test intellij.java.compiler.tests` end \ No newline at end of file diff --git a/java/compiler/forms-compiler/BUILD.bazel b/java/compiler/forms-compiler/BUILD.bazel index a4bc72d62346..048b31da82df 100644 --- a/java/compiler/forms-compiler/BUILD.bazel +++ b/java/compiler/forms-compiler/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.guiForms.compiler` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "java-guiForms-compiler", @@ -36,9 +35,13 @@ jvm_library( "@lib//:junit4", ] ) +### auto-generated section `build intellij.java.guiForms.compiler` end + +### auto-generated section `test intellij.java.guiForms.compiler` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "java-guiForms-compiler_test", runtime_deps = [":java-guiForms-compiler_test_lib"] ) -### auto-generated section `build intellij.java.guiForms.compiler` end \ No newline at end of file +### auto-generated section `test intellij.java.guiForms.compiler` end \ No newline at end of file diff --git a/java/execution/jshell-protocol/BUILD.bazel b/java/execution/jshell-protocol/BUILD.bazel index 9a02d63b0f46..3e1f25f13bd5 100644 --- a/java/execution/jshell-protocol/BUILD.bazel +++ b/java/execution/jshell-protocol/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.jshell.protocol` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "java-jshell-protocol", @@ -18,9 +17,13 @@ jvm_library( associates = [":java-jshell-protocol"], deps = ["@lib//:junit4"] ) +### auto-generated section `build intellij.java.jshell.protocol` end + +### auto-generated section `test intellij.java.jshell.protocol` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "java-jshell-protocol_test", runtime_deps = [":java-jshell-protocol_test_lib"] ) -### auto-generated section `build intellij.java.jshell.protocol` end \ No newline at end of file +### auto-generated section `test intellij.java.jshell.protocol` end \ No newline at end of file diff --git a/java/idea-ui/BUILD.bazel b/java/idea-ui/BUILD.bazel index fea7d452d417..1ff813cec5f1 100644 --- a/java/idea-ui/BUILD.bazel +++ b/java/idea-ui/BUILD.bazel @@ -68,9 +68,6 @@ jvm_library( ### auto-generated section `build intellij.java.ui` end ### auto-generated section `build intellij.java.ui.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "ui-tests", visibility = ["//visibility:public"], @@ -122,9 +119,13 @@ jvm_library( "//libraries/io", ] ) +### auto-generated section `build intellij.java.ui.tests` end + +### auto-generated section `test intellij.java.ui.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ui-tests_test", runtime_deps = [":ui-tests_test_lib"] ) -### auto-generated section `build intellij.java.ui.tests` end \ No newline at end of file +### auto-generated section `test intellij.java.ui.tests` end \ No newline at end of file diff --git a/java/java-features-trainer/BUILD.bazel b/java/java-features-trainer/BUILD.bazel index cfb50dfdf7d4..d6ea77033e5c 100644 --- a/java/java-features-trainer/BUILD.bazel +++ b/java/java-features-trainer/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.featuresTrainer` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "featuresTrainer_resources", @@ -76,9 +75,13 @@ jvm_library( ], runtime_deps = [":featuresTrainer_resources"] ) +### auto-generated section `build intellij.java.featuresTrainer` end + +### auto-generated section `test intellij.java.featuresTrainer` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "featuresTrainer_test", runtime_deps = [":featuresTrainer_test_lib"] ) -### auto-generated section `build intellij.java.featuresTrainer` end \ No newline at end of file +### auto-generated section `test intellij.java.featuresTrainer` end \ No newline at end of file diff --git a/java/java-frontback-tests/BUILD.bazel b/java/java-frontback-tests/BUILD.bazel index 28610bd7da29..c4cd4efa8236 100644 --- a/java/java-frontback-tests/BUILD.bazel +++ b/java/java-frontback-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.frontback.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "frontback-tests", @@ -39,9 +38,13 @@ jvm_library( "//java/java-syntax:syntax", ] ) +### auto-generated section `build intellij.java.frontback.tests` end + +### auto-generated section `test intellij.java.frontback.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "frontback-tests_test", runtime_deps = [":frontback-tests_test_lib"] ) -### auto-generated section `build intellij.java.frontback.tests` end \ No newline at end of file +### auto-generated section `test intellij.java.frontback.tests` end \ No newline at end of file diff --git a/java/java-syntax/BUILD.bazel b/java/java-syntax/BUILD.bazel index 3a4722949250..0dc009083fe5 100644 --- a/java/java-syntax/BUILD.bazel +++ b/java/java-syntax/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_syntax", jvm_target = 8, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -22,7 +22,7 @@ jvm_library( module_name = "intellij.java.syntax", visibility = ["//visibility:public"], srcs = glob(["gen/**/*.kt", "gen/**/*.java", "src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_syntax", deps = [ "//platform/syntax/syntax-api:syntax", "@lib//:kotlin-stdlib", diff --git a/java/java-terminal/BUILD.bazel b/java/java-terminal/BUILD.bazel index 974f03a48ce5..974cfdeac0b1 100644 --- a/java/java-terminal/BUILD.bazel +++ b/java/java-terminal/BUILD.bazel @@ -25,9 +25,6 @@ jvm_library( ### auto-generated section `build intellij.java.terminal` end ### auto-generated section `build intellij.java.terminal.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "terminal-tests", visibility = ["//visibility:public"], @@ -53,9 +50,13 @@ jvm_library( "//plugins/terminal:terminal_test_lib", ] ) +### auto-generated section `build intellij.java.terminal.tests` end + +### auto-generated section `test intellij.java.terminal.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "terminal-tests_test", runtime_deps = [":terminal-tests_test_lib"] ) -### auto-generated section `build intellij.java.terminal.tests` end \ No newline at end of file +### auto-generated section `test intellij.java.terminal.tests` end \ No newline at end of file diff --git a/java/java-tests/BUILD.bazel b/java/java-tests/BUILD.bazel index ae087c6a18f2..bff45f223bec 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "tests_test_resources", @@ -162,9 +161,13 @@ jvm_library( "//plugins/IntelliLang/xml-support:xml-langInjection", ] ) +### auto-generated section `build intellij.java.tests` end + +### auto-generated section `test intellij.java.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.java.tests` end \ No newline at end of file +### auto-generated section `test intellij.java.tests` end \ No newline at end of file diff --git a/java/manifest/BUILD.bazel b/java/manifest/BUILD.bazel index 415c4ccd4bc1..723d45355ecf 100644 --- a/java/manifest/BUILD.bazel +++ b/java/manifest/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.manifest` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "manifest_resources", @@ -59,9 +58,13 @@ jvm_library( ], runtime_deps = [":manifest_resources"] ) +### auto-generated section `build intellij.java.manifest` end + +### auto-generated section `test intellij.java.manifest` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "manifest_test", runtime_deps = [":manifest_test_lib"] ) -### auto-generated section `build intellij.java.manifest` end \ No newline at end of file +### auto-generated section `test intellij.java.manifest` end \ No newline at end of file diff --git a/java/structuralsearch-java/BUILD.bazel b/java/structuralsearch-java/BUILD.bazel index a6b3a59fb966..9187a1f7e8b8 100644 --- a/java/structuralsearch-java/BUILD.bazel +++ b/java/structuralsearch-java/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.structuralSearch` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "structuralSearch_resources", @@ -54,9 +53,13 @@ jvm_library( ], runtime_deps = [":structuralSearch_resources"] ) +### auto-generated section `build intellij.java.structuralSearch` end + +### auto-generated section `test intellij.java.structuralSearch` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "structuralSearch_test", runtime_deps = [":structuralSearch_test_lib"] ) -### auto-generated section `build intellij.java.structuralSearch` end \ No newline at end of file +### auto-generated section `test intellij.java.structuralSearch` end \ No newline at end of file diff --git a/java/typeMigration/BUILD.bazel b/java/typeMigration/BUILD.bazel index e04f22ff55c3..241a5cf5bde1 100644 --- a/java/typeMigration/BUILD.bazel +++ b/java/typeMigration/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.typeMigration` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "typeMigration_resources", @@ -58,9 +57,13 @@ jvm_library( ], runtime_deps = [":typeMigration_resources"] ) +### auto-generated section `build intellij.java.typeMigration` end + +### auto-generated section `test intellij.java.typeMigration` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "typeMigration_test", runtime_deps = [":typeMigration_test_lib"] ) -### auto-generated section `build intellij.java.typeMigration` end \ No newline at end of file +### auto-generated section `test intellij.java.typeMigration` end \ No newline at end of file diff --git a/jps/jps-builders/BUILD.bazel b/jps/jps-builders/BUILD.bazel index 5343074f5dff..e5aab66a2a80 100644 --- a/jps/jps-builders/BUILD.bazel +++ b/jps/jps-builders/BUILD.bazel @@ -60,9 +60,6 @@ jvm_library( ### auto-generated section `build intellij.platform.jps.build` end ### auto-generated section `build intellij.platform.jps.build.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") - jvm_resources( name = "build-tests_test_resources", files = glob(["testResources/**/*"]), @@ -108,9 +105,13 @@ jvm_library( ], runtime_deps = [":build-tests_test_resources"] ) +### auto-generated section `build intellij.platform.jps.build.tests` end + +### auto-generated section `test intellij.platform.jps.build.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "build-tests_test", runtime_deps = [":build-tests_test_lib"] ) -### auto-generated section `build intellij.platform.jps.build.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.jps.build.tests` end \ No newline at end of file diff --git a/jps/model-impl/BUILD.bazel b/jps/model-impl/BUILD.bazel index 88edff492499..1a9a2e3814a8 100644 --- a/jps/model-impl/BUILD.bazel +++ b/jps/model-impl/BUILD.bazel @@ -23,9 +23,6 @@ jvm_library( ### auto-generated section `build intellij.platform.jps.model.impl` end ### auto-generated section `build intellij.platform.jps.model.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") - jvm_resources( name = "model-tests_test_resources", files = glob(["testResources/**/*"]), @@ -55,9 +52,13 @@ jvm_library( ], runtime_deps = [":model-tests_test_resources"] ) +### auto-generated section `build intellij.platform.jps.model.tests` end + +### auto-generated section `test intellij.platform.jps.model.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "model-tests_test", runtime_deps = [":model-tests_test_lib"] ) -### auto-generated section `build intellij.platform.jps.model.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.jps.model.tests` end \ No newline at end of file diff --git a/jps/model-serialization/BUILD.bazel b/jps/model-serialization/BUILD.bazel index 5aebe6f63963..7f0dbc552b02 100644 --- a/jps/model-serialization/BUILD.bazel +++ b/jps/model-serialization/BUILD.bazel @@ -26,9 +26,6 @@ jvm_library( ### auto-generated section `build intellij.platform.jps.model.serialization` end ### auto-generated section `build intellij.platform.jps.model.serialization.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") - jvm_resources( name = "model-serialization-tests_test_resources", files = glob(["testResources/**/*"]), @@ -64,9 +61,13 @@ jvm_library( "//platform/workspace/jps", ] ) +### auto-generated section `build intellij.platform.jps.model.serialization.tests` end + +### auto-generated section `test intellij.platform.jps.model.serialization.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "model-serialization-tests_test", runtime_deps = [":model-serialization-tests_test_lib"] ) -### auto-generated section `build intellij.platform.jps.model.serialization.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.jps.model.serialization.tests` end \ No newline at end of file diff --git a/json/backend/tests/BUILD.bazel b/json/backend/tests/BUILD.bazel index 2e37e8ae2bd3..cddefaa8bb4e 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "tests_test_resources", @@ -49,9 +48,13 @@ jvm_library( ], runtime_deps = [":tests_test_resources"] ) +### auto-generated section `build intellij.json.tests` end + +### auto-generated section `test intellij.json.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.json.tests` end \ No newline at end of file +### auto-generated section `test intellij.json.tests` end \ No newline at end of file diff --git a/jvm/jvm-analysis-java-tests/BUILD.bazel b/jvm/jvm-analysis-java-tests/BUILD.bazel index 629f1218993c..c94ccb2f9f86 100644 --- a/jvm/jvm-analysis-java-tests/BUILD.bazel +++ b/jvm/jvm-analysis-java-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.jvm.analysis.java.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "analysis-java-tests", @@ -29,9 +28,13 @@ jvm_library( "//jvm/jvm-analysis-internal-testFramework:analysis-internal-testFramework", ] ) +### auto-generated section `build intellij.jvm.analysis.java.tests` end + +### auto-generated section `test intellij.jvm.analysis.java.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "analysis-java-tests_test", runtime_deps = [":analysis-java-tests_test_lib"] ) -### auto-generated section `build intellij.jvm.analysis.java.tests` end \ No newline at end of file +### auto-generated section `test intellij.jvm.analysis.java.tests` end \ No newline at end of file diff --git a/jvm/jvm-analysis-kotlin-tests-k1/BUILD.bazel b/jvm/jvm-analysis-kotlin-tests-k1/BUILD.bazel index 3f714a33889a..0da3c9807339 100644 --- a/jvm/jvm-analysis-kotlin-tests-k1/BUILD.bazel +++ b/jvm/jvm-analysis-kotlin-tests-k1/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.jvm.analysis.kotlin.tests.k1` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "analysis-kotlin-tests-k1", @@ -25,9 +24,13 @@ jvm_library( ], runtime_deps = ["//plugins/kotlin/plugin/k1"] ) +### auto-generated section `build intellij.jvm.analysis.kotlin.tests.k1` end + +### auto-generated section `test intellij.jvm.analysis.kotlin.tests.k1` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "analysis-kotlin-tests-k1_test", runtime_deps = [":analysis-kotlin-tests-k1_test_lib"] ) -### auto-generated section `build intellij.jvm.analysis.kotlin.tests.k1` end \ No newline at end of file +### auto-generated section `test intellij.jvm.analysis.kotlin.tests.k1` end \ No newline at end of file diff --git a/jvm/jvm-analysis-kotlin-tests-k2/BUILD.bazel b/jvm/jvm-analysis-kotlin-tests-k2/BUILD.bazel index d4a765708095..74873b03a6df 100644 --- a/jvm/jvm-analysis-kotlin-tests-k2/BUILD.bazel +++ b/jvm/jvm-analysis-kotlin-tests-k2/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.jvm.analysis.kotlin.tests.k2` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "analysis-kotlin-tests-k2", @@ -23,9 +22,13 @@ jvm_library( ], runtime_deps = ["//plugins/kotlin/plugin/k2"] ) +### auto-generated section `build intellij.jvm.analysis.kotlin.tests.k2` end + +### auto-generated section `test intellij.jvm.analysis.kotlin.tests.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "analysis-kotlin-tests-k2_test", runtime_deps = [":analysis-kotlin-tests-k2_test_lib"] ) -### auto-generated section `build intellij.jvm.analysis.kotlin.tests.k2` end \ No newline at end of file +### auto-generated section `test intellij.jvm.analysis.kotlin.tests.k2` end \ No newline at end of file diff --git a/jvm/jvm-analysis-kotlin-tests-shared/BUILD.bazel b/jvm/jvm-analysis-kotlin-tests-shared/BUILD.bazel index 04d2b21388ed..e83f2e4080e0 100644 --- a/jvm/jvm-analysis-kotlin-tests-shared/BUILD.bazel +++ b/jvm/jvm-analysis-kotlin-tests-shared/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.jvm.analysis.kotlin.tests.shared` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "analysis-kotlin-tests-shared", @@ -36,9 +35,13 @@ jvm_library( "//plugins/kotlin/test-framework:test-framework_test_lib", ] ) +### auto-generated section `build intellij.jvm.analysis.kotlin.tests.shared` end + +### auto-generated section `test intellij.jvm.analysis.kotlin.tests.shared` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "analysis-kotlin-tests-shared_test", runtime_deps = [":analysis-kotlin-tests-shared_test_lib"] ) -### auto-generated section `build intellij.jvm.analysis.kotlin.tests.shared` end \ No newline at end of file +### auto-generated section `test intellij.jvm.analysis.kotlin.tests.shared` end \ No newline at end of file diff --git a/notebooks/notebook-ui/BUILD.bazel b/notebooks/notebook-ui/BUILD.bazel index 65b2fc446fc1..c27763cbe51c 100644 --- a/notebooks/notebook-ui/BUILD.bazel +++ b/notebooks/notebook-ui/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_ui", opt_in = [ "kotlinx.coroutines.ExperimentalCoroutinesApi", "kotlin.ExperimentalStdlibApi", @@ -21,7 +21,7 @@ jvm_library( module_name = "intellij.notebooks.ui", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_ui", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-serialization-core", diff --git a/notebooks/visualization/BUILD.bazel b/notebooks/visualization/BUILD.bazel index 625bce8938a5..72eb8b267d45 100644 --- a/notebooks/visualization/BUILD.bazel +++ b/notebooks/visualization/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.notebooks.visualization` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_visualization", opt_in = [ "kotlinx.coroutines.ExperimentalCoroutinesApi", "kotlin.ExperimentalStdlibApi", @@ -22,7 +21,7 @@ jvm_library( module_name = "intellij.notebooks.visualization", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_visualization", deps = [ "@lib//:gson", "//platform/analysis-api:analysis", @@ -50,7 +49,7 @@ jvm_library( name = "visualization_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_visualization", associates = [":visualization"], deps = [ "@lib//:gson", @@ -77,9 +76,13 @@ jvm_library( ], runtime_deps = [":visualization_resources"] ) +### auto-generated section `build intellij.notebooks.visualization` end + +### auto-generated section `test intellij.notebooks.visualization` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "visualization_test", runtime_deps = [":visualization_test_lib"] ) -### auto-generated section `build intellij.notebooks.visualization` end \ No newline at end of file +### auto-generated section `test intellij.notebooks.visualization` end \ No newline at end of file diff --git a/platform/backend/observation/BUILD.bazel b/platform/backend/observation/BUILD.bazel index 4792e56519f5..b49c75392c5c 100644 --- a/platform/backend/observation/BUILD.bazel +++ b/platform/backend/observation/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.backend.observation` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "observation", @@ -28,9 +27,13 @@ jvm_library( "@lib//:junit5", ] ) +### auto-generated section `build intellij.platform.backend.observation` end + +### auto-generated section `test intellij.platform.backend.observation` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "observation_test", runtime_deps = [":observation_test_lib"] ) -### auto-generated section `build intellij.platform.backend.observation` end \ No newline at end of file +### auto-generated section `test intellij.platform.backend.observation` end \ No newline at end of file diff --git a/platform/backend/workspace/BUILD.bazel b/platform/backend/workspace/BUILD.bazel index 1951a14655c4..79ae88a88709 100644 --- a/platform/backend/workspace/BUILD.bazel +++ b/platform/backend/workspace/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_workspace", opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -12,7 +12,7 @@ jvm_library( module_name = "intellij.platform.backend.workspace", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_workspace", deps = [ "@lib//:kotlin-stdlib", "//platform/util", diff --git a/platform/build-scripts/BUILD.bazel b/platform/build-scripts/BUILD.bazel index c1c7e5f92604..59127f494c7e 100644 --- a/platform/build-scripts/BUILD.bazel +++ b/platform/build-scripts/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_build-scripts", opt_in = [ "kotlin.RequiresOptIn", "kotlinx.serialization.ExperimentalSerializationApi", @@ -16,7 +16,7 @@ jvm_library( module_name = "intellij.platform.buildScripts", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_build-scripts", deps = [ "//platform/build-scripts/downloader", "@lib//:commons-compress", diff --git a/platform/build-scripts/codeOptimizer/BUILD.bazel b/platform/build-scripts/codeOptimizer/BUILD.bazel index 38481b0a3bf9..a1932f8de81e 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "codeOptimizer_test_resources", @@ -18,9 +17,13 @@ jvm_library( ], runtime_deps = [":codeOptimizer_test_resources"] ) +### auto-generated section `build intellij.platform.buildScripts.codeOptimizer` end + +### auto-generated section `test intellij.platform.buildScripts.codeOptimizer` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "codeOptimizer_test", runtime_deps = [":codeOptimizer_test_lib"] ) -### auto-generated section `build intellij.platform.buildScripts.codeOptimizer` end \ No newline at end of file +### auto-generated section `test intellij.platform.buildScripts.codeOptimizer` end \ No newline at end of file diff --git a/platform/build-scripts/icons/BUILD.bazel b/platform/build-scripts/icons/BUILD.bazel index c63f8d4aac1a..87fc1d7b673e 100644 --- a/platform/build-scripts/icons/BUILD.bazel +++ b/platform/build-scripts/icons/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.images.build` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library") jvm_provided_library( name = "xmlDom_provided", @@ -71,9 +70,13 @@ jvm_library( "@lib//:hash4j", ] ) +### auto-generated section `build intellij.platform.images.build` end + +### auto-generated section `test intellij.platform.images.build` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "images-build_test", runtime_deps = [":images-build_test_lib"] ) -### auto-generated section `build intellij.platform.images.build` end \ No newline at end of file +### auto-generated section `test intellij.platform.images.build` end \ No newline at end of file diff --git a/platform/build-scripts/testFramework/BUILD.bazel b/platform/build-scripts/testFramework/BUILD.bazel index 04deb7dbff31..a212e6a495d1 100644 --- a/platform/build-scripts/testFramework/BUILD.bazel +++ b/platform/build-scripts/testFramework/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_testFramework", opt_in = ["kotlinx.serialization.ExperimentalSerializationApi"] ) @@ -12,7 +12,7 @@ jvm_library( module_name = "intellij.platform.buildScripts.testFramework", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_testFramework", deps = [ "//platform/build-scripts", "@lib//:kotlin-stdlib", diff --git a/platform/build-scripts/tests/BUILD.bazel b/platform/build-scripts/tests/BUILD.bazel index 03d9da19fa55..55e02301866e 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "tests_test_resources", @@ -53,9 +52,13 @@ jvm_library( ], runtime_deps = [":tests_test_resources"] ) +### auto-generated section `build intellij.platform.buildScripts.tests` end + +### auto-generated section `test intellij.platform.buildScripts.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.platform.buildScripts.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.buildScripts.tests` end \ No newline at end of file diff --git a/platform/buildData/BUILD.bazel b/platform/buildData/BUILD.bazel index 4144b40177fb..d348f1a3141b 100644 --- a/platform/buildData/BUILD.bazel +++ b/platform/buildData/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_buildData", opt_in = [ "kotlin.RequiresOptIn", "kotlinx.serialization.ExperimentalSerializationApi", @@ -22,7 +22,7 @@ jvm_library( module_name = "intellij.platform.buildData", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_buildData", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-serialization-core", diff --git a/platform/built-in-server/BUILD.bazel b/platform/built-in-server/BUILD.bazel index 189ac1c57fa7..4b9b385e0990 100644 --- a/platform/built-in-server/BUILD.bazel +++ b/platform/built-in-server/BUILD.bazel @@ -50,9 +50,6 @@ jvm_library( ### auto-generated section `build intellij.platform.builtInServer.impl` end ### auto-generated section `build intellij.platform.builtInServer.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") - jvm_resources( name = "builtInServer-tests_test_resources", files = glob(["testResources/**/*"]), @@ -102,9 +99,13 @@ jvm_library( ], runtime_deps = [":builtInServer-tests_test_resources"] ) +### auto-generated section `build intellij.platform.builtInServer.tests` end + +### auto-generated section `test intellij.platform.builtInServer.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "builtInServer-tests_test", runtime_deps = [":builtInServer-tests_test_lib"] ) -### auto-generated section `build intellij.platform.builtInServer.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.builtInServer.tests` end \ No newline at end of file diff --git a/platform/collaboration-tools/BUILD.bazel b/platform/collaboration-tools/BUILD.bazel index dceedc90faad..c2883830ee92 100644 --- a/platform/collaboration-tools/BUILD.bazel +++ b/platform/collaboration-tools/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.collaborationTools` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "collaboration-tools_resources", @@ -116,9 +115,13 @@ jvm_library( ], runtime_deps = [":collaboration-tools_resources"] ) +### auto-generated section `build intellij.platform.collaborationTools` end + +### auto-generated section `test intellij.platform.collaborationTools` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "collaboration-tools_test", runtime_deps = [":collaboration-tools_test_lib"] ) -### auto-generated section `build intellij.platform.collaborationTools` end \ No newline at end of file +### auto-generated section `test intellij.platform.collaborationTools` end \ No newline at end of file diff --git a/platform/configuration-store-impl/BUILD.bazel b/platform/configuration-store-impl/BUILD.bazel index 74d3900f3568..666e189ecb26 100644 --- a/platform/configuration-store-impl/BUILD.bazel +++ b/platform/configuration-store-impl/BUILD.bazel @@ -54,9 +54,6 @@ jvm_library( ### auto-generated section `build intellij.platform.configurationStore.impl` end ### auto-generated section `build intellij.platform.configurationStore.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") - jvm_resources( name = "configurationStore-tests_test_resources", files = glob(["testResources/**/*"]), @@ -108,9 +105,13 @@ jvm_library( ], runtime_deps = [":configurationStore-tests_test_resources"] ) +### auto-generated section `build intellij.platform.configurationStore.tests` end + +### auto-generated section `test intellij.platform.configurationStore.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "configurationStore-tests_test", runtime_deps = [":configurationStore-tests_test_lib"] ) -### auto-generated section `build intellij.platform.configurationStore.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.configurationStore.tests` end \ No newline at end of file diff --git a/platform/core-nio-fs/BUILD.bazel b/platform/core-nio-fs/BUILD.bazel index 6ff477fa37fd..b31033cfc5a4 100644 --- a/platform/core-nio-fs/BUILD.bazel +++ b/platform/core-nio-fs/BUILD.bazel @@ -27,9 +27,6 @@ jvm_library( ### auto-generated section `build intellij.platform.core.nio.fs` end ### auto-generated section `build intellij.platform.core.nio.fs.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "core-nio-fs-tests_test_lib", visibility = ["//visibility:public"], @@ -46,9 +43,13 @@ jvm_library( "@lib//:mockito", ] ) +### auto-generated section `build intellij.platform.core.nio.fs.tests` end + +### auto-generated section `test intellij.platform.core.nio.fs.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "core-nio-fs-tests_test", runtime_deps = [":core-nio-fs-tests_test_lib"] ) -### auto-generated section `build intellij.platform.core.nio.fs.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.core.nio.fs.tests` end \ No newline at end of file diff --git a/platform/credential-store-impl/BUILD.bazel b/platform/credential-store-impl/BUILD.bazel index 4fa65351747c..1364b10416e3 100644 --- a/platform/credential-store-impl/BUILD.bazel +++ b/platform/credential-store-impl/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.credentialStore.impl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "credentialStore-impl_resources", @@ -81,9 +80,13 @@ jvm_library( ], runtime_deps = [":credentialStore-impl_resources"] ) +### auto-generated section `build intellij.platform.credentialStore.impl` end + +### auto-generated section `test intellij.platform.credentialStore.impl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "credentialStore-impl_test", runtime_deps = [":credentialStore-impl_test_lib"] ) -### auto-generated section `build intellij.platform.credentialStore.impl` end \ No newline at end of file +### auto-generated section `test intellij.platform.credentialStore.impl` end \ No newline at end of file diff --git a/platform/diagnostic/freezeAnalyzer/BUILD.bazel b/platform/diagnostic/freezeAnalyzer/BUILD.bazel index b3aa25380af2..77b169644a56 100644 --- a/platform/diagnostic/freezeAnalyzer/BUILD.bazel +++ b/platform/diagnostic/freezeAnalyzer/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.diagnostic.freezeAnalyzer` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "freezeAnalyzer_resources", @@ -45,9 +44,13 @@ jvm_library( ":freezeAnalyzer_test_resources", ] ) +### auto-generated section `build intellij.platform.diagnostic.freezeAnalyzer` end + +### auto-generated section `test intellij.platform.diagnostic.freezeAnalyzer` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "freezeAnalyzer_test", runtime_deps = [":freezeAnalyzer_test_lib"] ) -### auto-generated section `build intellij.platform.diagnostic.freezeAnalyzer` end \ No newline at end of file +### auto-generated section `test intellij.platform.diagnostic.freezeAnalyzer` end \ No newline at end of file diff --git a/platform/diagnostic/startUpPerformanceReporter/BUILD.bazel b/platform/diagnostic/startUpPerformanceReporter/BUILD.bazel index 5ccca5c1a3a8..11ecf7c3803a 100644 --- a/platform/diagnostic/startUpPerformanceReporter/BUILD.bazel +++ b/platform/diagnostic/startUpPerformanceReporter/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_startUpPerformanceReporter", opt_in = ["kotlinx.serialization.ExperimentalSerializationApi"] ) @@ -12,7 +12,7 @@ jvm_library( module_name = "intellij.platform.diagnostic.startUpPerformanceReporter", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_startUpPerformanceReporter", deps = [ "@lib//:kotlin-stdlib", "@lib//:jackson", diff --git a/platform/diagnostic/telemetry-impl/BUILD.bazel b/platform/diagnostic/telemetry-impl/BUILD.bazel index f5798b98a10c..50d1c6874d98 100644 --- a/platform/diagnostic/telemetry-impl/BUILD.bazel +++ b/platform/diagnostic/telemetry-impl/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_telemetry-impl", opt_in = ["kotlinx.serialization.ExperimentalSerializationApi"] ) @@ -18,7 +18,7 @@ jvm_library( module_name = "intellij.platform.diagnostic.telemetry.impl", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_telemetry-impl", deps = [ "@lib//:jackson", "@lib//:opentelemetry", diff --git a/platform/diagnostic/telemetry.exporters/BUILD.bazel b/platform/diagnostic/telemetry.exporters/BUILD.bazel index 7e8caffc412b..1c69d7b53a14 100644 --- a/platform/diagnostic/telemetry.exporters/BUILD.bazel +++ b/platform/diagnostic/telemetry.exporters/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_telemetry.exporters", opt_in = ["kotlinx.serialization.ExperimentalSerializationApi"] ) @@ -18,7 +18,7 @@ jvm_library( module_name = "intellij.platform.diagnostic.telemetry.exporters", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_telemetry.exporters", deps = [ "@lib//:kotlin-stdlib", "@lib//:jetbrains-annotations", diff --git a/platform/diagnostic/telemetry/BUILD.bazel b/platform/diagnostic/telemetry/BUILD.bazel index aef9d4921006..4f7b61352ce5 100644 --- a/platform/diagnostic/telemetry/BUILD.bazel +++ b/platform/diagnostic/telemetry/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.diagnostic.telemetry` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "telemetry", @@ -38,9 +37,13 @@ jvm_library( "@lib//:kotlin-test-assertions-core-jvm", ] ) +### auto-generated section `build intellij.platform.diagnostic.telemetry` end + +### auto-generated section `test intellij.platform.diagnostic.telemetry` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "telemetry_test", runtime_deps = [":telemetry_test_lib"] ) -### auto-generated section `build intellij.platform.diagnostic.telemetry` end \ No newline at end of file +### auto-generated section `test intellij.platform.diagnostic.telemetry` end \ No newline at end of file diff --git a/platform/diagnostic/telemetry/agent-extension/BUILD.bazel b/platform/diagnostic/telemetry/agent-extension/BUILD.bazel index bc8dbfe17a43..4528975740fb 100644 --- a/platform/diagnostic/telemetry/agent-extension/BUILD.bazel +++ b/platform/diagnostic/telemetry/agent-extension/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.diagnostic.telemetry.agent.extension` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "diagnostic-telemetry-agent-extension_resources", @@ -43,9 +42,13 @@ jvm_library( ], runtime_deps = [":diagnostic-telemetry-agent-extension_resources"] ) +### auto-generated section `build intellij.platform.diagnostic.telemetry.agent.extension` end + +### auto-generated section `test intellij.platform.diagnostic.telemetry.agent.extension` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "diagnostic-telemetry-agent-extension_test", runtime_deps = [":diagnostic-telemetry-agent-extension_test_lib"] ) -### auto-generated section `build intellij.platform.diagnostic.telemetry.agent.extension` end \ No newline at end of file +### auto-generated section `test intellij.platform.diagnostic.telemetry.agent.extension` end \ No newline at end of file diff --git a/platform/diagnostic/telemetry/rt/BUILD.bazel b/platform/diagnostic/telemetry/rt/BUILD.bazel index 82a39759e2e4..7d157bb638e1 100644 --- a/platform/diagnostic/telemetry/rt/BUILD.bazel +++ b/platform/diagnostic/telemetry/rt/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.diagnostic.telemetry.rt` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "rt", @@ -30,9 +29,13 @@ jvm_library( "@lib//:junit5", ] ) +### auto-generated section `build intellij.platform.diagnostic.telemetry.rt` end + +### auto-generated section `test intellij.platform.diagnostic.telemetry.rt` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "rt_test", runtime_deps = [":rt_test_lib"] ) -### auto-generated section `build intellij.platform.diagnostic.telemetry.rt` end \ No newline at end of file +### auto-generated section `test intellij.platform.diagnostic.telemetry.rt` end \ No newline at end of file diff --git a/platform/diff-impl/tests/BUILD.bazel b/platform/diff-impl/tests/BUILD.bazel index 98ca9542d06d..840c3d0c4ad9 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "tests_test_resources", @@ -44,9 +43,13 @@ jvm_library( ], runtime_deps = [":tests_test_resources"] ) +### auto-generated section `build intellij.platform.diff.tests` end + +### auto-generated section `test intellij.platform.diff.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.platform.diff.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.diff.tests` end \ No newline at end of file diff --git a/platform/distribution-content/BUILD.bazel b/platform/distribution-content/BUILD.bazel index a60b028ba646..e2325f3c2aad 100644 --- a/platform/distribution-content/BUILD.bazel +++ b/platform/distribution-content/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_distributionContent-testFramework", opt_in = ["kotlinx.serialization.ExperimentalSerializationApi"] ) @@ -12,7 +12,7 @@ jvm_library( module_name = "intellij.platform.distributionContent.testFramework", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_distributionContent-testFramework", deps = [ "@lib//:kotlin-stdlib", "@lib//:kaml", diff --git a/platform/dvcs-impl/BUILD.bazel b/platform/dvcs-impl/BUILD.bazel index 2d91f47e7292..318de0605b6b 100644 --- a/platform/dvcs-impl/BUILD.bazel +++ b/platform/dvcs-impl/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.vcs.dvcs.impl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "vcs-dvcs-impl_resources", @@ -94,9 +93,13 @@ jvm_library( ], runtime_deps = [":vcs-dvcs-impl_resources"] ) +### auto-generated section `build intellij.platform.vcs.dvcs.impl` end + +### auto-generated section `test intellij.platform.vcs.dvcs.impl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "vcs-dvcs-impl_test", runtime_deps = [":vcs-dvcs-impl_test_lib"] ) -### auto-generated section `build intellij.platform.vcs.dvcs.impl` end \ No newline at end of file +### auto-generated section `test intellij.platform.vcs.dvcs.impl` end \ No newline at end of file diff --git a/platform/eel/BUILD.bazel b/platform/eel/BUILD.bazel index c7aae85b9954..3246026bde38 100644 --- a/platform/eel/BUILD.bazel +++ b/platform/eel/BUILD.bazel @@ -15,9 +15,6 @@ jvm_library( ### auto-generated section `build intellij.platform.eel` end ### auto-generated section `build intellij.platform.eel.codegen` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "eel-codegen_test_lib", visibility = ["//visibility:public"], @@ -47,17 +44,18 @@ jvm_library( ], runtime_deps = ["//plugins/kotlin:kotlin-plugin-community-main"] ) +### auto-generated section `build intellij.platform.eel.codegen` end + +### auto-generated section `test intellij.platform.eel.codegen` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "eel-codegen_test", runtime_deps = [":eel-codegen_test_lib"] ) -### auto-generated section `build intellij.platform.eel.codegen` end +### auto-generated section `test intellij.platform.eel.codegen` end ### auto-generated section `build intellij.platform.eel.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "eel-tests_test_lib", visibility = ["//visibility:public"], @@ -72,9 +70,13 @@ jvm_library( "@lib//:kotlinx-coroutines-test", ] ) +### auto-generated section `build intellij.platform.eel.tests` end + +### auto-generated section `test intellij.platform.eel.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "eel-tests_test", runtime_deps = [":eel-tests_test_lib"] ) -### auto-generated section `build intellij.platform.eel.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.eel.tests` end \ No newline at end of file diff --git a/platform/execution-impl/BUILD.bazel b/platform/execution-impl/BUILD.bazel index bec50f2c3373..0907f7468b98 100644 --- a/platform/execution-impl/BUILD.bazel +++ b/platform/execution-impl/BUILD.bazel @@ -73,9 +73,6 @@ jvm_library( ### auto-generated section `build intellij.platform.execution.impl` end ### auto-generated section `build intellij.platform.execution.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "execution-tests", visibility = ["//visibility:public"], @@ -100,9 +97,13 @@ jvm_library( "@lib//:assert_j", ] ) +### auto-generated section `build intellij.platform.execution.tests` end + +### auto-generated section `test intellij.platform.execution.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "execution-tests_test", runtime_deps = [":execution-tests_test_lib"] ) -### auto-generated section `build intellij.platform.execution.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.execution.tests` end \ No newline at end of file diff --git a/platform/execution-process-mediator/client/BUILD.bazel b/platform/execution-process-mediator/client/BUILD.bazel index dcd202dd4075..f9bc3a73423a 100644 --- a/platform/execution-process-mediator/client/BUILD.bazel +++ b/platform/execution-process-mediator/client/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.execution.process.mediator.client` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "client_resources", @@ -60,9 +59,13 @@ jvm_library( ], runtime_deps = [":client_resources"] ) +### auto-generated section `build intellij.execution.process.mediator.client` end + +### auto-generated section `test intellij.execution.process.mediator.client` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "client_test", runtime_deps = [":client_test_lib"] ) -### auto-generated section `build intellij.execution.process.mediator.client` end \ No newline at end of file +### auto-generated section `test intellij.execution.process.mediator.client` end \ No newline at end of file diff --git a/platform/execution-process-mediator/common/BUILD.bazel b/platform/execution-process-mediator/common/BUILD.bazel index f24426233c77..1f15f50c3510 100644 --- a/platform/execution-process-mediator/common/BUILD.bazel +++ b/platform/execution-process-mediator/common/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.execution.process.mediator.common` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "common_resources", @@ -43,9 +42,13 @@ jvm_library( ], runtime_deps = [":common_resources"] ) +### auto-generated section `build intellij.execution.process.mediator.common` end + +### auto-generated section `test intellij.execution.process.mediator.common` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "common_test", runtime_deps = [":common_test_lib"] ) -### auto-generated section `build intellij.execution.process.mediator.common` end \ No newline at end of file +### auto-generated section `test intellij.execution.process.mediator.common` end \ No newline at end of file diff --git a/platform/external-process-auth-helper/BUILD.bazel b/platform/external-process-auth-helper/BUILD.bazel index 62b0ff671edc..191be46acab0 100644 --- a/platform/external-process-auth-helper/BUILD.bazel +++ b/platform/external-process-auth-helper/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.externalProcessAuthHelper` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "external-process-auth-helper_resources", @@ -57,9 +56,13 @@ jvm_library( ], runtime_deps = [":external-process-auth-helper_resources"] ) +### auto-generated section `build intellij.platform.externalProcessAuthHelper` end + +### auto-generated section `test intellij.platform.externalProcessAuthHelper` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "external-process-auth-helper_test", runtime_deps = [":external-process-auth-helper_test_lib"] ) -### auto-generated section `build intellij.platform.externalProcessAuthHelper` end \ No newline at end of file +### auto-generated section `test intellij.platform.externalProcessAuthHelper` end \ No newline at end of file diff --git a/platform/external-system-api/dependency-updater/BUILD.bazel b/platform/external-system-api/dependency-updater/BUILD.bazel index 42ee0b5e576d..192c54c565c3 100644 --- a/platform/external-system-api/dependency-updater/BUILD.bazel +++ b/platform/external-system-api/dependency-updater/BUILD.bazel @@ -27,9 +27,6 @@ jvm_library( ### auto-generated section `build intellij.platform.externalSystem.dependencyUpdater` end ### auto-generated section `build intellij.platform.externalSystem.dependencyUpdater.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") - jvm_resources( name = "externalSystem-dependencyUpdater-tests_test_resources", files = glob(["testData/**/*"]), @@ -58,9 +55,13 @@ jvm_library( ], runtime_deps = [":externalSystem-dependencyUpdater-tests_test_resources"] ) +### auto-generated section `build intellij.platform.externalSystem.dependencyUpdater.tests` end + +### auto-generated section `test intellij.platform.externalSystem.dependencyUpdater.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "externalSystem-dependencyUpdater-tests_test", runtime_deps = [":externalSystem-dependencyUpdater-tests_test_lib"] ) -### auto-generated section `build intellij.platform.externalSystem.dependencyUpdater.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.externalSystem.dependencyUpdater.tests` end \ No newline at end of file diff --git a/platform/external-system-impl/BUILD.bazel b/platform/external-system-impl/BUILD.bazel index 4e693ab4820d..576a174a44d4 100644 --- a/platform/external-system-impl/BUILD.bazel +++ b/platform/external-system-impl/BUILD.bazel @@ -60,9 +60,6 @@ jvm_library( ### auto-generated section `build intellij.platform.externalSystem.impl` end ### auto-generated section `build intellij.platform.externalSystem.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") - jvm_resources( name = "externalSystem-tests_test_resources", files = glob(["testResources/**/*"]), @@ -123,9 +120,13 @@ jvm_library( ], runtime_deps = [":externalSystem-tests_test_resources"] ) +### auto-generated section `build intellij.platform.externalSystem.tests` end + +### auto-generated section `test intellij.platform.externalSystem.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "externalSystem-tests_test", runtime_deps = [":externalSystem-tests_test_lib"] ) -### auto-generated section `build intellij.platform.externalSystem.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.externalSystem.tests` end \ No newline at end of file diff --git a/platform/ijent/BUILD.bazel b/platform/ijent/BUILD.bazel index fc62b7bcf0ca..1f45fd04db7f 100644 --- a/platform/ijent/BUILD.bazel +++ b/platform/ijent/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.ijent` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "ijent_resources", @@ -42,9 +41,13 @@ jvm_library( ], runtime_deps = [":ijent_resources"] ) +### auto-generated section `build intellij.platform.ijent` end + +### auto-generated section `test intellij.platform.ijent` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ijent_test", runtime_deps = [":ijent_test_lib"] ) -### auto-generated section `build intellij.platform.ijent` end \ No newline at end of file +### auto-generated section `test intellij.platform.ijent` end \ No newline at end of file diff --git a/platform/indexing-api/BUILD.bazel b/platform/indexing-api/BUILD.bazel index 978a4e1e8bd4..f85f6f445fa9 100644 --- a/platform/indexing-api/BUILD.bazel +++ b/platform/indexing-api/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_indexing", opt_in = ["kotlinx.serialization.ExperimentalSerializationApi"] ) @@ -18,7 +18,7 @@ jvm_library( module_name = "intellij.platform.indexing", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_indexing", deps = [ "@lib//:jetbrains-annotations", "//platform/core-api:core", diff --git a/platform/indexing-tests/BUILD.bazel b/platform/indexing-tests/BUILD.bazel index bab500921771..7452d050f983 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "indexing-tests", @@ -22,9 +21,13 @@ jvm_library( "//platform/testFramework:testFramework_test_lib", ] ) +### auto-generated section `build intellij.platform.indexing.tests` end + +### auto-generated section `test intellij.platform.indexing.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "indexing-tests_test", runtime_deps = [":indexing-tests_test_lib"] ) -### auto-generated section `build intellij.platform.indexing.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.indexing.tests` end \ No newline at end of file diff --git a/platform/inspect/BUILD.bazel b/platform/inspect/BUILD.bazel index 9a06688f2f5b..419f45a51562 100644 --- a/platform/inspect/BUILD.bazel +++ b/platform/inspect/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.inspect` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "inspect_resources", @@ -91,9 +90,13 @@ jvm_library( ], runtime_deps = [":inspect_resources"] ) +### auto-generated section `build intellij.platform.inspect` end + +### auto-generated section `test intellij.platform.inspect` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "inspect_test", runtime_deps = [":inspect_test_lib"] ) -### auto-generated section `build intellij.platform.inspect` end \ No newline at end of file +### auto-generated section `test intellij.platform.inspect` end \ No newline at end of file diff --git a/platform/instanceContainer/BUILD.bazel b/platform/instanceContainer/BUILD.bazel index 390c450d7e81..76365ab9e456 100644 --- a/platform/instanceContainer/BUILD.bazel +++ b/platform/instanceContainer/BUILD.bazel @@ -17,9 +17,6 @@ jvm_library( ### auto-generated section `build intellij.platform.instanceContainer` end ### auto-generated section `build intellij.platform.instanceContainer.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "instanceContainer-tests_test_lib", visibility = ["//visibility:public"], @@ -34,9 +31,13 @@ jvm_library( "//platform/testFramework/core", ] ) +### auto-generated section `build intellij.platform.instanceContainer.tests` end + +### auto-generated section `test intellij.platform.instanceContainer.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "instanceContainer-tests_test", runtime_deps = [":instanceContainer-tests_test_lib"] ) -### auto-generated section `build intellij.platform.instanceContainer.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.instanceContainer.tests` end \ No newline at end of file diff --git a/platform/jewel/decorated-window/BUILD.bazel b/platform/jewel/decorated-window/BUILD.bazel index cff0793bfc9f..6c05aa85172e 100644 --- a/platform/jewel/decorated-window/BUILD.bazel +++ b/platform/jewel/decorated-window/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_decorated-window", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -24,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.decoratedWindow", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java", "src/main/java/**/*.kt", "src/main/java/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_decorated-window", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", diff --git a/platform/jewel/detekt-plugin/BUILD.bazel b/platform/jewel/detekt-plugin/BUILD.bazel index e532d795e8a1..a68e306185e1 100644 --- a/platform/jewel/detekt-plugin/BUILD.bazel +++ b/platform/jewel/detekt-plugin/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.jewel.detektPlugin` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "detekt-plugin_resources", @@ -48,9 +47,13 @@ jvm_library( ":detekt-plugin_test_resources", ] ) +### auto-generated section `build intellij.platform.jewel.detektPlugin` end + +### auto-generated section `test intellij.platform.jewel.detektPlugin` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "detekt-plugin_test", runtime_deps = [":detekt-plugin_test_lib"] ) -### auto-generated section `build intellij.platform.jewel.detektPlugin` end \ No newline at end of file +### auto-generated section `test intellij.platform.jewel.detektPlugin` end \ No newline at end of file diff --git a/platform/jewel/foundation/BUILD.bazel b/platform/jewel/foundation/BUILD.bazel index 9a369ce3f80f..230a12127c28 100644 --- a/platform/jewel/foundation/BUILD.bazel +++ b/platform/jewel/foundation/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.platform.jewel.foundation` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_foundation", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -25,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.foundation", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_foundation", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", @@ -45,7 +44,7 @@ jvm_library( name = "foundation_test_lib", visibility = ["//visibility:public"], srcs = glob(["src/test/kotlin/**/*.kt", "src/test/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_foundation", associates = [":foundation"], deps = [ "@lib//:kotlin-stdlib", @@ -58,9 +57,13 @@ jvm_library( runtime_deps = [":foundation_resources"], plugins = ["@lib//:compose-plugin"] ) +### auto-generated section `build intellij.platform.jewel.foundation` end + +### auto-generated section `test intellij.platform.jewel.foundation` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "foundation_test", runtime_deps = [":foundation_test_lib"] ) -### auto-generated section `build intellij.platform.jewel.foundation` end \ No newline at end of file +### auto-generated section `test intellij.platform.jewel.foundation` end \ No newline at end of file diff --git a/platform/jewel/ide-laf-bridge/BUILD.bazel b/platform/jewel/ide-laf-bridge/BUILD.bazel index 4e494a07d2f3..bc604585af4d 100644 --- a/platform/jewel/ide-laf-bridge/BUILD.bazel +++ b/platform/jewel/ide-laf-bridge/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.platform.jewel.ideLafBridge` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_ide-laf-bridge", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -25,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.ideLafBridge", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_ide-laf-bridge", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", @@ -52,7 +51,7 @@ jvm_library( name = "ide-laf-bridge_test_lib", visibility = ["//visibility:public"], srcs = glob(["ide-laf-bridge-tests/src/test/kotlin/**/*.kt", "ide-laf-bridge-tests/src/test/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_ide-laf-bridge", associates = [":ide-laf-bridge"], deps = [ "@lib//:kotlin-stdlib", @@ -78,9 +77,13 @@ jvm_library( runtime_deps = [":ide-laf-bridge_resources"], plugins = ["@lib//:compose-plugin"] ) +### auto-generated section `build intellij.platform.jewel.ideLafBridge` end + +### auto-generated section `test intellij.platform.jewel.ideLafBridge` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ide-laf-bridge_test", runtime_deps = [":ide-laf-bridge_test_lib"] ) -### auto-generated section `build intellij.platform.jewel.ideLafBridge` end \ No newline at end of file +### auto-generated section `test intellij.platform.jewel.ideLafBridge` end \ No newline at end of file diff --git a/platform/jewel/int-ui/int-ui-decorated-window/BUILD.bazel b/platform/jewel/int-ui/int-ui-decorated-window/BUILD.bazel index 7253ffcaeb78..9e5a5ec26ca2 100644 --- a/platform/jewel/int-ui/int-ui-decorated-window/BUILD.bazel +++ b/platform/jewel/int-ui/int-ui-decorated-window/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_jewel-intUi-decoratedWindow", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -24,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.intUi.decoratedWindow", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_jewel-intUi-decoratedWindow", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", diff --git a/platform/jewel/int-ui/int-ui-standalone/BUILD.bazel b/platform/jewel/int-ui/int-ui-standalone/BUILD.bazel index c872769af6f7..8f8d684854f2 100644 --- a/platform/jewel/int-ui/int-ui-standalone/BUILD.bazel +++ b/platform/jewel/int-ui/int-ui-standalone/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_jewel-intUi-standalone", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -24,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.intUi.standalone", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java", "generated/**/*.kt", "generated/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_jewel-intUi-standalone", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", diff --git a/platform/jewel/markdown/core/BUILD.bazel b/platform/jewel/markdown/core/BUILD.bazel index d35237b0e9a2..15120b92eec3 100644 --- a/platform/jewel/markdown/core/BUILD.bazel +++ b/platform/jewel/markdown/core/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.platform.jewel.markdown.core` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_core", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -25,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.markdown.core", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_core", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", @@ -44,7 +43,7 @@ jvm_library( name = "core_test_lib", visibility = ["//visibility:public"], srcs = glob(["src/test/kotlin/**/*.kt", "src/test/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_core", associates = [":core"], deps = [ "@lib//:kotlin-stdlib", @@ -61,9 +60,13 @@ jvm_library( runtime_deps = [":core_resources"], plugins = ["@lib//:compose-plugin"] ) +### auto-generated section `build intellij.platform.jewel.markdown.core` end + +### auto-generated section `test intellij.platform.jewel.markdown.core` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "core_test", runtime_deps = [":core_test_lib"] ) -### auto-generated section `build intellij.platform.jewel.markdown.core` end \ No newline at end of file +### auto-generated section `test intellij.platform.jewel.markdown.core` end \ No newline at end of file diff --git a/platform/jewel/markdown/extensions/autolink/BUILD.bazel b/platform/jewel/markdown/extensions/autolink/BUILD.bazel index 0dad7bc475c6..db6586eab0e5 100644 --- a/platform/jewel/markdown/extensions/autolink/BUILD.bazel +++ b/platform/jewel/markdown/extensions/autolink/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.platform.jewel.markdown.extensions.autolink` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_autolink", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -25,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.markdown.extensions.autolink", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_autolink", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", @@ -44,7 +43,7 @@ jvm_library( name = "autolink_test_lib", visibility = ["//visibility:public"], srcs = glob(["src/test/kotlin/**/*.kt", "src/test/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_autolink", associates = [":autolink"], deps = [ "@lib//:kotlin-stdlib", @@ -63,9 +62,13 @@ jvm_library( runtime_deps = [":autolink_resources"], plugins = ["@lib//:compose-plugin"] ) +### auto-generated section `build intellij.platform.jewel.markdown.extensions.autolink` end + +### auto-generated section `test intellij.platform.jewel.markdown.extensions.autolink` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "autolink_test", runtime_deps = [":autolink_test_lib"] ) -### auto-generated section `build intellij.platform.jewel.markdown.extensions.autolink` end \ No newline at end of file +### auto-generated section `test intellij.platform.jewel.markdown.extensions.autolink` end \ No newline at end of file diff --git a/platform/jewel/markdown/extensions/gfm-alerts/BUILD.bazel b/platform/jewel/markdown/extensions/gfm-alerts/BUILD.bazel index 074597c45bf8..0e04e71c3623 100644 --- a/platform/jewel/markdown/extensions/gfm-alerts/BUILD.bazel +++ b/platform/jewel/markdown/extensions/gfm-alerts/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.platform.jewel.markdown.extensions.gfmAlerts` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_gfm-alerts", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -25,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.markdown.extensions.gfmAlerts", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_gfm-alerts", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", @@ -43,7 +42,7 @@ jvm_library( name = "gfm-alerts_test_lib", visibility = ["//visibility:public"], srcs = glob(["src/test/kotlin/**/*.kt", "src/test/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_gfm-alerts", associates = [":gfm-alerts"], deps = [ "@lib//:kotlin-stdlib", @@ -61,9 +60,13 @@ jvm_library( runtime_deps = [":gfm-alerts_resources"], plugins = ["@lib//:compose-plugin"] ) +### auto-generated section `build intellij.platform.jewel.markdown.extensions.gfmAlerts` end + +### auto-generated section `test intellij.platform.jewel.markdown.extensions.gfmAlerts` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "gfm-alerts_test", runtime_deps = [":gfm-alerts_test_lib"] ) -### auto-generated section `build intellij.platform.jewel.markdown.extensions.gfmAlerts` end \ No newline at end of file +### auto-generated section `test intellij.platform.jewel.markdown.extensions.gfmAlerts` end \ No newline at end of file diff --git a/platform/jewel/markdown/extensions/gfm-strikethrough/BUILD.bazel b/platform/jewel/markdown/extensions/gfm-strikethrough/BUILD.bazel index ca3632a09b61..666553889c72 100644 --- a/platform/jewel/markdown/extensions/gfm-strikethrough/BUILD.bazel +++ b/platform/jewel/markdown/extensions/gfm-strikethrough/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_gfm-strikethrough", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -24,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.markdown.extensions.gfmStrikethrough", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_gfm-strikethrough", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", diff --git a/platform/jewel/markdown/extensions/gfm-tables/BUILD.bazel b/platform/jewel/markdown/extensions/gfm-tables/BUILD.bazel index a0f042906aab..543a1dd4bb29 100644 --- a/platform/jewel/markdown/extensions/gfm-tables/BUILD.bazel +++ b/platform/jewel/markdown/extensions/gfm-tables/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_gfm-tables", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -24,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.markdown.extensions.gfmTables", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_gfm-tables", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", diff --git a/platform/jewel/markdown/extensions/images/BUILD.bazel b/platform/jewel/markdown/extensions/images/BUILD.bazel index 02dd45ac35f5..451eeef54d04 100644 --- a/platform/jewel/markdown/extensions/images/BUILD.bazel +++ b/platform/jewel/markdown/extensions/images/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_images", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -24,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.markdown.extensions.images", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_images", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", diff --git a/platform/jewel/markdown/ide-laf-bridge-styling/BUILD.bazel b/platform/jewel/markdown/ide-laf-bridge-styling/BUILD.bazel index ba5f6a8bbaa0..540680c2165b 100644 --- a/platform/jewel/markdown/ide-laf-bridge-styling/BUILD.bazel +++ b/platform/jewel/markdown/ide-laf-bridge-styling/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_ide-laf-bridge-styling", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -24,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.markdown.ideLafBridgeStyling", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_ide-laf-bridge-styling", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", diff --git a/platform/jewel/markdown/int-ui-standalone-styling/BUILD.bazel b/platform/jewel/markdown/int-ui-standalone-styling/BUILD.bazel index 603da535396b..11123dae7ab3 100644 --- a/platform/jewel/markdown/int-ui-standalone-styling/BUILD.bazel +++ b/platform/jewel/markdown/int-ui-standalone-styling/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_int-ui-standalone-styling", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -24,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.markdown.intUiStandaloneStyling", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_int-ui-standalone-styling", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", diff --git a/platform/jewel/samples/ide-plugin/BUILD.bazel b/platform/jewel/samples/ide-plugin/BUILD.bazel index cbe610e7dce0..29ed276d06cf 100644 --- a/platform/jewel/samples/ide-plugin/BUILD.bazel +++ b/platform/jewel/samples/ide-plugin/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_ide-plugin", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -24,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.samples.idePlugin", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_ide-plugin", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", diff --git a/platform/jewel/samples/showcase/BUILD.bazel b/platform/jewel/samples/showcase/BUILD.bazel index 4d644f1ba07a..c5fb6dcc883d 100644 --- a/platform/jewel/samples/showcase/BUILD.bazel +++ b/platform/jewel/samples/showcase/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_showcase", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -24,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.samples.showcase", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_showcase", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", diff --git a/platform/jewel/samples/standalone/BUILD.bazel b/platform/jewel/samples/standalone/BUILD.bazel index 3fb86e4e5846..a27389467ad1 100644 --- a/platform/jewel/samples/standalone/BUILD.bazel +++ b/platform/jewel/samples/standalone/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_standalone", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -24,7 +24,7 @@ jvm_library( module_name = "intellij.platform.jewel.samples.standalone", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_standalone", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", diff --git a/platform/jewel/ui-tests/BUILD.bazel b/platform/jewel/ui-tests/BUILD.bazel index 1be85aff64de..8f5fc0539521 100644 --- a/platform/jewel/ui-tests/BUILD.bazel +++ b/platform/jewel/ui-tests/BUILD.bazel @@ -1,10 +1,9 @@ ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_ui-tests", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -30,7 +29,7 @@ jvm_library( name = "ui-tests_test_lib", visibility = ["//visibility:public"], srcs = glob(["src/test/kotlin/**/*.kt", "src/test/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_ui-tests", deps = [ "@lib//:kotlinx-coroutines-core", "@lib//:jetbrains-annotations", @@ -47,9 +46,13 @@ jvm_library( runtime_deps = [":ui-tests_test_resources"], plugins = ["@lib//:compose-plugin"] ) +### auto-generated section `build intellij.platform.jewel.uiTests` end + +### auto-generated section `test intellij.platform.jewel.uiTests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ui-tests_test", runtime_deps = [":ui-tests_test_lib"] ) -### auto-generated section `build intellij.platform.jewel.uiTests` end \ No newline at end of file +### auto-generated section `test intellij.platform.jewel.uiTests` end \ No newline at end of file diff --git a/platform/jewel/ui/BUILD.bazel b/platform/jewel/ui/BUILD.bazel index e6e181e892d4..61ec06101f02 100644 --- a/platform/jewel/ui/BUILD.bazel +++ b/platform/jewel/ui/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.platform.jewel.ui` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_ui", context_receivers = True, opt_in = [ "androidx.compose.ui.ExperimentalComposeUiApi", @@ -31,7 +30,7 @@ jvm_library( module_name = "intellij.platform.jewel.ui", visibility = ["//visibility:public"], srcs = glob(["src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java", "generated/**/*.kt", "generated/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_ui", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", @@ -54,7 +53,7 @@ jvm_library( name = "ui_test_lib", visibility = ["//visibility:public"], srcs = glob(["src/test/kotlin/**/*.kt", "src/test/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_ui", associates = [":ui"], deps = [ "@lib//:kotlin-stdlib", @@ -74,9 +73,13 @@ jvm_library( ], plugins = ["@lib//:compose-plugin"] ) +### auto-generated section `build intellij.platform.jewel.ui` end + +### auto-generated section `test intellij.platform.jewel.ui` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ui_test", runtime_deps = [":ui_test_lib"] ) -### auto-generated section `build intellij.platform.jewel.ui` end \ No newline at end of file +### auto-generated section `test intellij.platform.jewel.ui` end \ No newline at end of file diff --git a/platform/kernel/backend/BUILD.bazel b/platform/kernel/backend/BUILD.bazel index f56f9e9baf19..72a21e549d2b 100644 --- a/platform/kernel/backend/BUILD.bazel +++ b/platform/kernel/backend/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_backend", opt_in = [ "kotlinx.coroutines.ExperimentalCoroutinesApi", "kotlin.ExperimentalStdlibApi", @@ -21,7 +21,7 @@ jvm_library( module_name = "intellij.platform.kernel.backend", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_backend", deps = [ "//platform/extensions", "//platform/util", diff --git a/platform/lang-impl/BUILD.bazel b/platform/lang-impl/BUILD.bazel index 4baca1a24595..2109c2368b89 100644 --- a/platform/lang-impl/BUILD.bazel +++ b/platform/lang-impl/BUILD.bazel @@ -138,9 +138,6 @@ jvm_library( ### auto-generated section `build intellij.platform.lang.impl` end ### auto-generated section `build intellij.platform.lang.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "lang-tests", visibility = ["//visibility:public"], @@ -229,9 +226,13 @@ jvm_library( "//platform/testFramework/junit5/projectStructure:projectStructure_test_lib", ] ) +### auto-generated section `build intellij.platform.lang.tests` end + +### auto-generated section `test intellij.platform.lang.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "lang-tests_test", runtime_deps = [":lang-tests_test_lib"] ) -### auto-generated section `build intellij.platform.lang.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.lang.tests` end \ No newline at end of file diff --git a/platform/lang-impl/testEntities/BUILD.bazel b/platform/lang-impl/testEntities/BUILD.bazel index a97a63a1ae39..a87f22534aa6 100644 --- a/platform/lang-impl/testEntities/BUILD.bazel +++ b/platform/lang-impl/testEntities/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.lang.testEntities` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "testEntities", @@ -20,9 +19,13 @@ jvm_library( "//platform/projectModel-impl", ] ) +### auto-generated section `build intellij.platform.lang.testEntities` end + +### auto-generated section `test intellij.platform.lang.testEntities` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "testEntities_test", runtime_deps = [":testEntities_test_lib"] ) -### auto-generated section `build intellij.platform.lang.testEntities` end \ No newline at end of file +### auto-generated section `test intellij.platform.lang.testEntities` end \ No newline at end of file diff --git a/platform/lvcs-impl/BUILD.bazel b/platform/lvcs-impl/BUILD.bazel index 41623c7c5b37..e36554a0e84c 100644 --- a/platform/lvcs-impl/BUILD.bazel +++ b/platform/lvcs-impl/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.lvcs.impl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "lvcs-impl_resources", @@ -83,9 +82,13 @@ jvm_library( ], runtime_deps = [":lvcs-impl_resources"] ) +### auto-generated section `build intellij.platform.lvcs.impl` end + +### auto-generated section `test intellij.platform.lvcs.impl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "lvcs-impl_test", runtime_deps = [":lvcs-impl_test_lib"] ) -### auto-generated section `build intellij.platform.lvcs.impl` end \ No newline at end of file +### auto-generated section `test intellij.platform.lvcs.impl` end \ No newline at end of file diff --git a/platform/markdown-utils/BUILD.bazel b/platform/markdown-utils/BUILD.bazel index b14578b9f3d7..e8ee93fea72f 100644 --- a/platform/markdown-utils/BUILD.bazel +++ b/platform/markdown-utils/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.markdown.utils` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "markdown-utils", @@ -33,9 +32,13 @@ jvm_library( "//platform/lang-impl", ] ) +### auto-generated section `build intellij.platform.markdown.utils` end + +### auto-generated section `test intellij.platform.markdown.utils` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "markdown-utils_test", runtime_deps = [":markdown-utils_test_lib"] ) -### auto-generated section `build intellij.platform.markdown.utils` end \ No newline at end of file +### auto-generated section `test intellij.platform.markdown.utils` end \ No newline at end of file diff --git a/platform/ml-impl/BUILD.bazel b/platform/ml-impl/BUILD.bazel index c0d920a0ee27..04657957d6ac 100644 --- a/platform/ml-impl/BUILD.bazel +++ b/platform/ml-impl/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.ml.impl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "ml-impl_resources", @@ -80,9 +79,13 @@ jvm_library( ":ml-impl_test_resources", ] ) +### auto-generated section `build intellij.platform.ml.impl` end + +### auto-generated section `test intellij.platform.ml.impl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ml-impl_test", runtime_deps = [":ml-impl_test_lib"] ) -### auto-generated section `build intellij.platform.ml.impl` end \ No newline at end of file +### auto-generated section `test intellij.platform.ml.impl` end \ No newline at end of file diff --git a/platform/object-serializer/BUILD.bazel b/platform/object-serializer/BUILD.bazel index eb08b2f55721..416fa56d514d 100644 --- a/platform/object-serializer/BUILD.bazel +++ b/platform/object-serializer/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.objectSerializer` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "object-serializer", @@ -50,16 +49,18 @@ jvm_library( "//platform/settings", ] ) +### auto-generated section `build intellij.platform.objectSerializer` end + +### auto-generated section `test intellij.platform.objectSerializer` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "object-serializer_test", runtime_deps = [":object-serializer_test_lib"] ) -### auto-generated section `build intellij.platform.objectSerializer` end +### auto-generated section `test intellij.platform.objectSerializer` end ### auto-generated section `build intellij.platform.objectSerializer.annotations` start -load("@rules_jvm//:jvm.bzl", "jvm_library") - jvm_library( name = "objectSerializer-annotations", module_name = "intellij.platform.objectSerializer.annotations", @@ -70,9 +71,6 @@ jvm_library( ### auto-generated section `build intellij.platform.objectSerializer.annotations` end ### auto-generated section `build intellij.platform.objectSerializer.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "objectSerializer-tests", visibility = ["//visibility:public"], @@ -98,9 +96,13 @@ jvm_library( "@lib//:fastutil-min", ] ) +### auto-generated section `build intellij.platform.objectSerializer.tests` end + +### auto-generated section `test intellij.platform.objectSerializer.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "objectSerializer-tests_test", runtime_deps = [":objectSerializer-tests_test_lib"] ) -### auto-generated section `build intellij.platform.objectSerializer.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.objectSerializer.tests` end \ No newline at end of file diff --git a/platform/platform-impl/BUILD.bazel b/platform/platform-impl/BUILD.bazel index 0fcafd06f5cd..b1a4a0242095 100644 --- a/platform/platform-impl/BUILD.bazel +++ b/platform/platform-impl/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.ide.impl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") load("@rules_kotlin//kotlin:jvm.bzl", "kt_javac_options") kt_javac_options( @@ -318,9 +317,13 @@ jvm_library( ], runtime_deps = [":ide-impl_resources"] ) +### auto-generated section `build intellij.platform.ide.impl` end + +### auto-generated section `test intellij.platform.ide.impl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ide-impl_test", runtime_deps = [":ide-impl_test_lib"] ) -### auto-generated section `build intellij.platform.ide.impl` end \ No newline at end of file +### auto-generated section `test intellij.platform.ide.impl` end \ No newline at end of file diff --git a/platform/platform-impl/concurrency/BUILD.bazel b/platform/platform-impl/concurrency/BUILD.bazel index 9730f49f5107..3228e323ec13 100644 --- a/platform/platform-impl/concurrency/BUILD.bazel +++ b/platform/platform-impl/concurrency/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.ide.concurrency` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "concurrency_resources", @@ -54,9 +53,13 @@ jvm_library( ], runtime_deps = [":concurrency_resources"] ) +### auto-generated section `build intellij.platform.ide.concurrency` end + +### auto-generated section `test intellij.platform.ide.concurrency` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "concurrency_test", runtime_deps = [":concurrency_test_lib"] ) -### auto-generated section `build intellij.platform.ide.concurrency` end \ No newline at end of file +### auto-generated section `test intellij.platform.ide.concurrency` end \ No newline at end of file diff --git a/platform/platform-tests/BUILD.bazel b/platform/platform-tests/BUILD.bazel index 3f41edc8352a..b2a0369c58fa 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "tests_test_resources", @@ -179,9 +178,13 @@ jvm_library( "//platform/xdebugger-impl:debugger-impl", ] ) +### auto-generated section `build intellij.platform.tests` end + +### auto-generated section `test intellij.platform.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.platform.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.tests` end \ No newline at end of file diff --git a/platform/platform-tests/benchmarks/BUILD.bazel b/platform/platform-tests/benchmarks/BUILD.bazel index 57c8914e7628..ce74680f7af6 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "benchmarks_test_lib", @@ -24,9 +23,13 @@ jvm_library( "//platform/util:util-tests_test_lib", ] ) +### auto-generated section `build intellij.platform.benchmarks` end + +### auto-generated section `test intellij.platform.benchmarks` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "benchmarks_test", runtime_deps = [":benchmarks_test_lib"] ) -### auto-generated section `build intellij.platform.benchmarks` end \ No newline at end of file +### auto-generated section `test intellij.platform.benchmarks` end \ No newline at end of file diff --git a/platform/platform-tests/durability/BUILD.bazel b/platform/platform-tests/durability/BUILD.bazel index 19b79b07ed3b..da46a8d2179e 100644 --- a/platform/platform-tests/durability/BUILD.bazel +++ b/platform/platform-tests/durability/BUILD.bazel @@ -1,10 +1,9 @@ ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_durability", opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -12,7 +11,7 @@ jvm_library( name = "durability_test_lib", visibility = ["//visibility:public"], srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_durability", deps = [ "//platform/util-ex", "@lib//:ktor-network-tls", @@ -27,9 +26,13 @@ jvm_library( "//platform/util/storages", ] ) +### auto-generated section `build intellij.platform.durability` end + +### auto-generated section `test intellij.platform.durability` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "durability_test", runtime_deps = [":durability_test_lib"] ) -### auto-generated section `build intellij.platform.durability` end \ No newline at end of file +### auto-generated section `test intellij.platform.durability` end \ No newline at end of file diff --git a/platform/polySymbols/BUILD.bazel b/platform/polySymbols/BUILD.bazel index 4450cfc66595..e4b773447c38 100644 --- a/platform/polySymbols/BUILD.bazel +++ b/platform/polySymbols/BUILD.bazel @@ -36,8 +36,6 @@ jvm_library( ### auto-generated section `build intellij.platform.polySymbols` end ### auto-generated section `build intellij.platform.polySymbols.testFramework` start -load("@rules_jvm//:jvm.bzl", "jvm_library") - jvm_library( name = "polySymbols-testFramework", module_name = "intellij.platform.polySymbols.testFramework", @@ -72,9 +70,6 @@ jvm_library( ### auto-generated section `build intellij.platform.polySymbols.testFramework` end ### auto-generated section `build intellij.platform.polySymbols.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") - jvm_resources( name = "polySymbols-tests_test_resources", files = glob(["testData/**/*"]), @@ -113,9 +108,13 @@ jvm_library( ], runtime_deps = [":polySymbols-tests_test_resources"] ) +### auto-generated section `build intellij.platform.polySymbols.tests` end + +### auto-generated section `test intellij.platform.polySymbols.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "polySymbols-tests_test", runtime_deps = [":polySymbols-tests_test_lib"] ) -### auto-generated section `build intellij.platform.polySymbols.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.polySymbols.tests` end \ No newline at end of file diff --git a/platform/remote-servers/target-integration-tests/BUILD.bazel b/platform/remote-servers/target-integration-tests/BUILD.bazel index d16d2b39171c..e88174aff011 100644 --- a/platform/remote-servers/target-integration-tests/BUILD.bazel +++ b/platform/remote-servers/target-integration-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.remoteServers.targetsIntegrationTests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "remoteServers-targetsIntegrationTests", @@ -39,9 +38,13 @@ jvm_library( "//platform/util/jdom", ] ) +### auto-generated section `build intellij.platform.remoteServers.targetsIntegrationTests` end + +### auto-generated section `test intellij.platform.remoteServers.targetsIntegrationTests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "remoteServers-targetsIntegrationTests_test", runtime_deps = [":remoteServers-targetsIntegrationTests_test_lib"] ) -### auto-generated section `build intellij.platform.remoteServers.targetsIntegrationTests` end \ No newline at end of file +### auto-generated section `test intellij.platform.remoteServers.targetsIntegrationTests` end \ No newline at end of file diff --git a/platform/remoteDev-util/BUILD.bazel b/platform/remoteDev-util/BUILD.bazel index d7d3241dc0d4..207fa2cd977f 100644 --- a/platform/remoteDev-util/BUILD.bazel +++ b/platform/remoteDev-util/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.remoteDev.util` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "remoteDev-util_resources", @@ -116,9 +115,13 @@ jvm_library( ], runtime_deps = [":remoteDev-util_resources"] ) +### auto-generated section `build intellij.remoteDev.util` end + +### auto-generated section `test intellij.remoteDev.util` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "remoteDev-util_test", runtime_deps = [":remoteDev-util_test_lib"] ) -### auto-generated section `build intellij.remoteDev.util` end \ No newline at end of file +### auto-generated section `test intellij.remoteDev.util` end \ No newline at end of file diff --git a/platform/runtime/product/BUILD.bazel b/platform/runtime/product/BUILD.bazel index d3b3b333bfb6..da70f0e3a764 100644 --- a/platform/runtime/product/BUILD.bazel +++ b/platform/runtime/product/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_product", jvm_target = 11, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -13,7 +13,7 @@ jvm_library( module_name = "intellij.platform.runtime.product", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_product", deps = [ "@lib//:jetbrains-annotations", "//platform/runtime/repository", diff --git a/platform/runtime/product/tests/BUILD.bazel b/platform/runtime/product/tests/BUILD.bazel index 3f2239da4521..b2d4f010155b 100644 --- a/platform/runtime/product/tests/BUILD.bazel +++ b/platform/runtime/product/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.runtime.product.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -20,9 +19,13 @@ jvm_library( "//platform/runtime/repository/tests:tests_test_lib", ] ) +### auto-generated section `build intellij.platform.runtime.product.tests` end + +### auto-generated section `test intellij.platform.runtime.product.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.platform.runtime.product.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.runtime.product.tests` end \ No newline at end of file diff --git a/platform/runtime/repository/tests/BUILD.bazel b/platform/runtime/repository/tests/BUILD.bazel index c5e91f7343e1..249929442925 100644 --- a/platform/runtime/repository/tests/BUILD.bazel +++ b/platform/runtime/repository/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.runtime.repository.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -20,9 +19,13 @@ jvm_library( "@lib//:junit5Pioneer", ] ) +### auto-generated section `build intellij.platform.runtime.repository.tests` end + +### auto-generated section `test intellij.platform.runtime.repository.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.platform.runtime.repository.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.runtime.repository.tests` end \ No newline at end of file diff --git a/platform/service-container/BUILD.bazel b/platform/service-container/BUILD.bazel index 1926596b459c..8f29332e769a 100644 --- a/platform/service-container/BUILD.bazel +++ b/platform/service-container/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.serviceContainer` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "service-container_resources", @@ -53,9 +52,13 @@ jvm_library( ], runtime_deps = [":service-container_resources"] ) +### auto-generated section `build intellij.platform.serviceContainer` end + +### auto-generated section `test intellij.platform.serviceContainer` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "service-container_test", runtime_deps = [":service-container_test_lib"] ) -### auto-generated section `build intellij.platform.serviceContainer` end \ No newline at end of file +### auto-generated section `test intellij.platform.serviceContainer` end \ No newline at end of file diff --git a/platform/settings-local/BUILD.bazel b/platform/settings-local/BUILD.bazel index 00b3391f962d..098ac47426d6 100644 --- a/platform/settings-local/BUILD.bazel +++ b/platform/settings-local/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.platform.settings.local` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_settings-local", opt_in = ["com.intellij.util.xmlb.SettingsInternalApi"] ) @@ -19,7 +18,7 @@ jvm_library( module_name = "intellij.platform.settings.local", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_settings-local", deps = [ "@lib//:kotlin-stdlib", "@lib//:jetbrains-annotations", @@ -52,7 +51,7 @@ jvm_library( name = "settings-local_test_lib", visibility = ["//visibility:public"], srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_settings-local", associates = [":settings-local"], deps = [ "@lib//:kotlin-stdlib", @@ -92,9 +91,13 @@ jvm_library( ], runtime_deps = [":settings-local_resources"] ) +### auto-generated section `build intellij.platform.settings.local` end + +### auto-generated section `test intellij.platform.settings.local` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "settings-local_test", runtime_deps = [":settings-local_test_lib"] ) -### auto-generated section `build intellij.platform.settings.local` end \ No newline at end of file +### auto-generated section `test intellij.platform.settings.local` end \ No newline at end of file diff --git a/platform/settings-sync-core/BUILD.bazel b/platform/settings-sync-core/BUILD.bazel index 2f3143443b7d..74a9de136913 100644 --- a/platform/settings-sync-core/BUILD.bazel +++ b/platform/settings-sync-core/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.settingsSync.core` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "settingsSync-core_resources", @@ -119,9 +118,13 @@ jvm_library( ], runtime_deps = [":settingsSync-core_resources"] ) +### auto-generated section `build intellij.settingsSync.core` end + +### auto-generated section `test intellij.settingsSync.core` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "settingsSync-core_test", runtime_deps = [":settingsSync-core_test_lib"] ) -### auto-generated section `build intellij.settingsSync.core` end \ No newline at end of file +### auto-generated section `test intellij.settingsSync.core` end \ No newline at end of file diff --git a/platform/smRunner/BUILD.bazel b/platform/smRunner/BUILD.bazel index 7bdbd7d3e2ef..dd03c42a8226 100644 --- a/platform/smRunner/BUILD.bazel +++ b/platform/smRunner/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.smRunner` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "smRunner_resources", @@ -81,9 +80,13 @@ jvm_library( ], runtime_deps = [":smRunner_resources"] ) +### auto-generated section `build intellij.platform.smRunner` end + +### auto-generated section `test intellij.platform.smRunner` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "smRunner_test", runtime_deps = [":smRunner_test_lib"] ) -### auto-generated section `build intellij.platform.smRunner` end \ No newline at end of file +### auto-generated section `test intellij.platform.smRunner` end \ No newline at end of file diff --git a/platform/sqlite/BUILD.bazel b/platform/sqlite/BUILD.bazel index 5559111725b1..11761fbcd5a4 100644 --- a/platform/sqlite/BUILD.bazel +++ b/platform/sqlite/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.sqlite` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "sqlite", @@ -29,9 +28,13 @@ jvm_library( "@lib//:kotlinx-coroutines-core", ] ) +### auto-generated section `build intellij.platform.sqlite` end + +### auto-generated section `test intellij.platform.sqlite` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "sqlite_test", runtime_deps = [":sqlite_test_lib"] ) -### auto-generated section `build intellij.platform.sqlite` end \ No newline at end of file +### auto-generated section `test intellij.platform.sqlite` end \ No newline at end of file diff --git a/platform/statistics/BUILD.bazel b/platform/statistics/BUILD.bazel index 5673eb367835..f2313d7a0f56 100644 --- a/platform/statistics/BUILD.bazel +++ b/platform/statistics/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.statistics` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "statistics_resources", @@ -96,9 +95,13 @@ jvm_library( ], runtime_deps = [":statistics_resources"] ) +### auto-generated section `build intellij.platform.statistics` end + +### auto-generated section `test intellij.platform.statistics` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "statistics_test", runtime_deps = [":statistics_test_lib"] ) -### auto-generated section `build intellij.platform.statistics` end \ No newline at end of file +### auto-generated section `test intellij.platform.statistics` end \ No newline at end of file diff --git a/platform/statistics/devkit/BUILD.bazel b/platform/statistics/devkit/BUILD.bazel index 1264cb1205c4..07583c4f1354 100644 --- a/platform/statistics/devkit/BUILD.bazel +++ b/platform/statistics/devkit/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.statistics.devkit` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "devkit_resources", @@ -72,9 +71,13 @@ jvm_library( ], runtime_deps = [":devkit_resources"] ) +### auto-generated section `build intellij.platform.statistics.devkit` end + +### auto-generated section `test intellij.platform.statistics.devkit` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "devkit_test", runtime_deps = [":devkit_test_lib"] ) -### auto-generated section `build intellij.platform.statistics.devkit` end \ No newline at end of file +### auto-generated section `test intellij.platform.statistics.devkit` end \ No newline at end of file diff --git a/platform/statistics/envTests/BUILD.bazel b/platform/statistics/envTests/BUILD.bazel index 14b4dfbe5d9a..52a3732b5e0d 100644 --- a/platform/statistics/envTests/BUILD.bazel +++ b/platform/statistics/envTests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.statistics.envTests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "envTests", @@ -30,9 +29,13 @@ jvm_library( "@lib//:jackson-databind", ] ) +### auto-generated section `build intellij.platform.statistics.envTests` end + +### auto-generated section `test intellij.platform.statistics.envTests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "envTests_test", runtime_deps = [":envTests_test_lib"] ) -### auto-generated section `build intellij.platform.statistics.envTests` end \ No newline at end of file +### auto-generated section `test intellij.platform.statistics.envTests` end \ No newline at end of file diff --git a/platform/structuralsearch/BUILD.bazel b/platform/structuralsearch/BUILD.bazel index bfa1a88cfdc3..e167a6ba3b1a 100644 --- a/platform/structuralsearch/BUILD.bazel +++ b/platform/structuralsearch/BUILD.bazel @@ -43,9 +43,6 @@ jvm_library( ### auto-generated section `build intellij.platform.structuralSearch` end ### auto-generated section `build intellij.platform.structuralSearch.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "structuralSearch-tests", visibility = ["//visibility:public"], @@ -74,9 +71,13 @@ jvm_library( "//platform/testRunner:testRunner_test_lib", ] ) +### auto-generated section `build intellij.platform.structuralSearch.tests` end + +### auto-generated section `test intellij.platform.structuralSearch.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "structuralSearch-tests_test", runtime_deps = [":structuralSearch-tests_test_lib"] ) -### auto-generated section `build intellij.platform.structuralSearch.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.structuralSearch.tests` end \ No newline at end of file diff --git a/platform/syntax/syntax-api/BUILD.bazel b/platform/syntax/syntax-api/BUILD.bazel index 5d80da24b4c0..894172309ae6 100644 --- a/platform/syntax/syntax-api/BUILD.bazel +++ b/platform/syntax/syntax-api/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.syntax` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library") jvm_provided_library( name = "multiplatformSupport_provided", @@ -36,9 +35,13 @@ jvm_library( "@lib//:kotlin-test", ] ) +### auto-generated section `build intellij.platform.syntax` end + +### auto-generated section `test intellij.platform.syntax` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "syntax_test", runtime_deps = [":syntax_test_lib"] ) -### auto-generated section `build intellij.platform.syntax` end \ No newline at end of file +### auto-generated section `test intellij.platform.syntax` end \ No newline at end of file diff --git a/platform/syntax/syntax-extensions/BUILD.bazel b/platform/syntax/syntax-extensions/BUILD.bazel index 312820b889d0..b51adcc1c0cf 100644 --- a/platform/syntax/syntax-extensions/BUILD.bazel +++ b/platform/syntax/syntax-extensions/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.syntax.extensions` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library") jvm_provided_library( name = "multiplatformSupport_provided", @@ -38,9 +37,13 @@ jvm_library( "//platform/syntax/syntax-api:syntax_test_lib", ] ) +### auto-generated section `build intellij.platform.syntax.extensions` end + +### auto-generated section `test intellij.platform.syntax.extensions` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "extensions_test", runtime_deps = [":extensions_test_lib"] ) -### auto-generated section `build intellij.platform.syntax.extensions` end \ No newline at end of file +### auto-generated section `test intellij.platform.syntax.extensions` end \ No newline at end of file diff --git a/platform/syntax/syntax-i18n/BUILD.bazel b/platform/syntax/syntax-i18n/BUILD.bazel index 8028b2e2f5c8..c8d6787ff730 100644 --- a/platform/syntax/syntax-i18n/BUILD.bazel +++ b/platform/syntax/syntax-i18n/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.syntax.i18n` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library") jvm_provided_library( name = "multiplatformSupport_provided", @@ -35,9 +34,13 @@ jvm_library( "@lib//:jetbrains-annotations", ] ) +### auto-generated section `build intellij.platform.syntax.i18n` end + +### auto-generated section `test intellij.platform.syntax.i18n` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "i18n_test", runtime_deps = [":i18n_test_lib"] ) -### auto-generated section `build intellij.platform.syntax.i18n` end \ No newline at end of file +### auto-generated section `test intellij.platform.syntax.i18n` end \ No newline at end of file diff --git a/platform/syntax/syntax-psi-tests/BUILD.bazel b/platform/syntax/syntax-psi-tests/BUILD.bazel index 72c56d7dd7a7..3221dd087ac6 100644 --- a/platform/syntax/syntax-psi-tests/BUILD.bazel +++ b/platform/syntax/syntax-psi-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.syntax.psi.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "psi-tests", @@ -34,9 +33,13 @@ jvm_library( "//platform/testFramework:testFramework_test_lib", ] ) +### auto-generated section `build intellij.platform.syntax.psi.tests` end + +### auto-generated section `test intellij.platform.syntax.psi.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "psi-tests_test", runtime_deps = [":psi-tests_test_lib"] ) -### auto-generated section `build intellij.platform.syntax.psi.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.syntax.psi.tests` end \ No newline at end of file diff --git a/platform/testFramework/BUILD.bazel b/platform/testFramework/BUILD.bazel index 9f0ea2b79be0..287477d329ae 100644 --- a/platform/testFramework/BUILD.bazel +++ b/platform/testFramework/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.testFramework` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources") jvm_resources( name = "testFramework_resources", @@ -197,9 +196,13 @@ jvm_library( ":testFramework_test_resources_1", ] ) +### auto-generated section `build intellij.platform.testFramework` end + +### auto-generated section `test intellij.platform.testFramework` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "testFramework_test", runtime_deps = [":testFramework_test_lib"] ) -### auto-generated section `build intellij.platform.testFramework` end \ No newline at end of file +### auto-generated section `test intellij.platform.testFramework` end \ No newline at end of file diff --git a/platform/testFramework/junit5.jimfs/BUILD.bazel b/platform/testFramework/junit5.jimfs/BUILD.bazel index ec603afebfa5..0dbfe27f87f7 100644 --- a/platform/testFramework/junit5.jimfs/BUILD.bazel +++ b/platform/testFramework/junit5.jimfs/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.testFramework.junit5.jimfs` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "junit5.jimfs", @@ -33,9 +32,13 @@ jvm_library( "//platform/util-ex", ] ) +### auto-generated section `build intellij.platform.testFramework.junit5.jimfs` end + +### auto-generated section `test intellij.platform.testFramework.junit5.jimfs` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "junit5.jimfs_test", runtime_deps = [":junit5.jimfs_test_lib"] ) -### auto-generated section `build intellij.platform.testFramework.junit5.jimfs` end \ No newline at end of file +### auto-generated section `test intellij.platform.testFramework.junit5.jimfs` end \ No newline at end of file diff --git a/platform/testFramework/junit5/BUILD.bazel b/platform/testFramework/junit5/BUILD.bazel index 3a2cdfd724c2..7125e30275c1 100644 --- a/platform/testFramework/junit5/BUILD.bazel +++ b/platform/testFramework/junit5/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.testFramework.junit5` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources") jvm_resources( name = "junit5_resources", @@ -99,9 +98,13 @@ jvm_library( ":junit5_test_resources", ] ) +### auto-generated section `build intellij.platform.testFramework.junit5` end + +### auto-generated section `test intellij.platform.testFramework.junit5` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "junit5_test", runtime_deps = [":junit5_test_lib"] ) -### auto-generated section `build intellij.platform.testFramework.junit5` end \ No newline at end of file +### auto-generated section `test intellij.platform.testFramework.junit5` end \ No newline at end of file diff --git a/platform/testFramework/junit5/eel/BUILD.bazel b/platform/testFramework/junit5/eel/BUILD.bazel index da266058ffa3..9a1772c53276 100644 --- a/platform/testFramework/junit5/eel/BUILD.bazel +++ b/platform/testFramework/junit5/eel/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.testFramework.junit5.eel` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "eel_test_resources", @@ -62,9 +61,13 @@ jvm_library( ], runtime_deps = [":eel_test_resources"] ) +### auto-generated section `build intellij.platform.testFramework.junit5.eel` end + +### auto-generated section `test intellij.platform.testFramework.junit5.eel` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "eel_test", runtime_deps = [":eel_test_lib"] ) -### auto-generated section `build intellij.platform.testFramework.junit5.eel` end \ No newline at end of file +### auto-generated section `test intellij.platform.testFramework.junit5.eel` end \ No newline at end of file diff --git a/platform/testFramework/junit5/projectStructure/BUILD.bazel b/platform/testFramework/junit5/projectStructure/BUILD.bazel index ff6b3b47c6a5..184875daae17 100644 --- a/platform/testFramework/junit5/projectStructure/BUILD.bazel +++ b/platform/testFramework/junit5/projectStructure/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.testFramework.junit5.projectStructure` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "projectStructure", @@ -43,9 +42,13 @@ jvm_library( "//platform/workspace/jps", ] ) +### auto-generated section `build intellij.platform.testFramework.junit5.projectStructure` end + +### auto-generated section `test intellij.platform.testFramework.junit5.projectStructure` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "projectStructure_test", runtime_deps = [":projectStructure_test_lib"] ) -### auto-generated section `build intellij.platform.testFramework.junit5.projectStructure` end \ No newline at end of file +### auto-generated section `test intellij.platform.testFramework.junit5.projectStructure` end \ No newline at end of file diff --git a/platform/testFramework/monorepo/BUILD.bazel b/platform/testFramework/monorepo/BUILD.bazel index b7079eebad9c..dfadc3a3381c 100644 --- a/platform/testFramework/monorepo/BUILD.bazel +++ b/platform/testFramework/monorepo/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.testFramework.monorepo` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "monorepo", @@ -35,9 +34,13 @@ jvm_library( "//java/java-runtime:rt", ] ) +### auto-generated section `build intellij.platform.testFramework.monorepo` end + +### auto-generated section `test intellij.platform.testFramework.monorepo` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "monorepo_test", runtime_deps = [":monorepo_test_lib"] ) -### auto-generated section `build intellij.platform.testFramework.monorepo` end \ No newline at end of file +### auto-generated section `test intellij.platform.testFramework.monorepo` end \ No newline at end of file diff --git a/platform/testRunner/BUILD.bazel b/platform/testRunner/BUILD.bazel index d40146059b03..ebcc3375b7ab 100644 --- a/platform/testRunner/BUILD.bazel +++ b/platform/testRunner/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.testRunner` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "testRunner_resources", @@ -66,9 +65,13 @@ jvm_library( ], runtime_deps = [":testRunner_resources"] ) +### auto-generated section `build intellij.platform.testRunner` end + +### auto-generated section `test intellij.platform.testRunner` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "testRunner_test", runtime_deps = [":testRunner_test_lib"] ) -### auto-generated section `build intellij.platform.testRunner` end \ No newline at end of file +### auto-generated section `test intellij.platform.testRunner` end \ No newline at end of file diff --git a/platform/threadDumpParser/BUILD.bazel b/platform/threadDumpParser/BUILD.bazel index 833ae2109da3..e4695825a3f4 100644 --- a/platform/threadDumpParser/BUILD.bazel +++ b/platform/threadDumpParser/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.threadDumpParser` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "threadDumpParser", @@ -34,9 +33,13 @@ jvm_library( "@lib//:junit4", ] ) +### auto-generated section `build intellij.platform.threadDumpParser` end + +### auto-generated section `test intellij.platform.threadDumpParser` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "threadDumpParser_test", runtime_deps = [":threadDumpParser_test_lib"] ) -### auto-generated section `build intellij.platform.threadDumpParser` end \ No newline at end of file +### auto-generated section `test intellij.platform.threadDumpParser` end \ No newline at end of file diff --git a/platform/util-rt/BUILD.bazel b/platform/util-rt/BUILD.bazel index b8e4f886ec6f..7499595ef6e7 100644 --- a/platform/util-rt/BUILD.bazel +++ b/platform/util-rt/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.util.rt` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "util-rt", @@ -22,9 +21,13 @@ jvm_library( "@lib//:junit4", ] ) +### auto-generated section `build intellij.platform.util.rt` end + +### auto-generated section `test intellij.platform.util.rt` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "util-rt_test", runtime_deps = [":util-rt_test_lib"] ) -### auto-generated section `build intellij.platform.util.rt` end \ No newline at end of file +### auto-generated section `test intellij.platform.util.rt` end \ No newline at end of file diff --git a/platform/util/BUILD.bazel b/platform/util/BUILD.bazel index 3e6132c51bc8..256c0ed4e01d 100644 --- a/platform/util/BUILD.bazel +++ b/platform/util/BUILD.bazel @@ -56,9 +56,6 @@ jvm_library( ### auto-generated section `build intellij.platform.util` end ### auto-generated section `build intellij.platform.util.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") - jvm_resources( name = "util-tests_test_resources", files = glob(["testData/**/*"]), @@ -131,15 +128,18 @@ jvm_library( ":util-tests_test_resources_1", ] ) +### auto-generated section `build intellij.platform.util.tests` end + +### auto-generated section `test intellij.platform.util.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "util-tests_test", runtime_deps = [":util-tests_test_lib"] ) -### auto-generated section `build intellij.platform.util.tests` end +### auto-generated section `test intellij.platform.util.tests` end ### auto-generated section `build intellij.platform.util.ui` start -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") load("@rules_kotlin//kotlin:jvm.bzl", "kt_javac_options") kt_javac_options( diff --git a/platform/util/concurrency/BUILD.bazel b/platform/util/concurrency/BUILD.bazel index f18b2c9196e6..f926c04c3fc2 100644 --- a/platform/util/concurrency/BUILD.bazel +++ b/platform/util/concurrency/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.concurrency` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "concurrency", @@ -35,9 +34,13 @@ jvm_library( "@lib//:junit5", ] ) +### auto-generated section `build intellij.platform.concurrency` end + +### auto-generated section `test intellij.platform.concurrency` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "concurrency_test", runtime_deps = [":concurrency_test_lib"] ) -### auto-generated section `build intellij.platform.concurrency` end \ No newline at end of file +### auto-generated section `test intellij.platform.concurrency` end \ No newline at end of file diff --git a/platform/util/coroutines/BUILD.bazel b/platform/util/coroutines/BUILD.bazel index c1e1a764c478..f7bfd5021556 100644 --- a/platform/util/coroutines/BUILD.bazel +++ b/platform/util/coroutines/BUILD.bazel @@ -17,9 +17,6 @@ jvm_library( ### auto-generated section `build intellij.platform.util.coroutines` end ### auto-generated section `build intellij.platform.util.coroutines.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "coroutines-tests", visibility = ["//visibility:public"], @@ -41,9 +38,13 @@ jvm_library( "//platform/util/concurrency:concurrency_test_lib", ] ) +### auto-generated section `build intellij.platform.util.coroutines.tests` end + +### auto-generated section `test intellij.platform.util.coroutines.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "coroutines-tests_test", runtime_deps = [":coroutines-tests_test_lib"] ) -### auto-generated section `build intellij.platform.util.coroutines.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.util.coroutines.tests` end \ No newline at end of file diff --git a/platform/util/immutable-key-value-store/benchmark/BUILD.bazel b/platform/util/immutable-key-value-store/benchmark/BUILD.bazel index 6dbe7758d979..7e68e6ba3a19 100644 --- a/platform/util/immutable-key-value-store/benchmark/BUILD.bazel +++ b/platform/util/immutable-key-value-store/benchmark/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.util.immutableKeyValueStore.benchmark` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "benchmark", @@ -22,9 +21,13 @@ jvm_library( "@lib//:hash4j", ] ) +### auto-generated section `build intellij.platform.util.immutableKeyValueStore.benchmark` end + +### auto-generated section `test intellij.platform.util.immutableKeyValueStore.benchmark` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "benchmark_test", runtime_deps = [":benchmark_test_lib"] ) -### auto-generated section `build intellij.platform.util.immutableKeyValueStore.benchmark` end \ No newline at end of file +### auto-generated section `test intellij.platform.util.immutableKeyValueStore.benchmark` end \ No newline at end of file diff --git a/platform/util/progress/BUILD.bazel b/platform/util/progress/BUILD.bazel index 0f6f8cfb94a6..d7d3b37237a3 100644 --- a/platform/util/progress/BUILD.bazel +++ b/platform/util/progress/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_progress", jvm_target = 8, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -13,7 +13,7 @@ jvm_library( module_name = "intellij.platform.util.progress", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_progress", deps = [ "@lib//:jetbrains-annotations", "@lib//:kotlin-stdlib", @@ -30,9 +30,6 @@ jvm_library( ### auto-generated section `build intellij.platform.util.progress` end ### auto-generated section `build intellij.platform.util.progress.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "progress-tests", visibility = ["//visibility:public"], @@ -55,9 +52,13 @@ jvm_library( "//platform/testFramework:testFramework_test_lib", ] ) +### auto-generated section `build intellij.platform.util.progress.tests` end + +### auto-generated section `test intellij.platform.util.progress.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "progress-tests_test", runtime_deps = [":progress-tests_test_lib"] ) -### auto-generated section `build intellij.platform.util.progress.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.util.progress.tests` end \ No newline at end of file diff --git a/platform/vcs-api/vcs-api-core/BUILD.bazel b/platform/vcs-api/vcs-api-core/BUILD.bazel index 30a6f207fe8b..02e5b6a1ee11 100644 --- a/platform/vcs-api/vcs-api-core/BUILD.bazel +++ b/platform/vcs-api/vcs-api-core/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.vcs.core` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "vcs-core_resources", @@ -44,9 +43,13 @@ jvm_library( ], runtime_deps = [":vcs-core_resources"] ) +### auto-generated section `build intellij.platform.vcs.core` end + +### auto-generated section `test intellij.platform.vcs.core` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "vcs-core_test", runtime_deps = [":vcs-core_test_lib"] ) -### auto-generated section `build intellij.platform.vcs.core` end \ No newline at end of file +### auto-generated section `test intellij.platform.vcs.core` end \ No newline at end of file diff --git a/platform/vcs-impl/BUILD.bazel b/platform/vcs-impl/BUILD.bazel index ab16bfc3f0bf..25e636cf398e 100644 --- a/platform/vcs-impl/BUILD.bazel +++ b/platform/vcs-impl/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.vcs.impl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "vcs-impl_resources", @@ -158,9 +157,13 @@ jvm_library( ], runtime_deps = [":vcs-impl_resources"] ) +### auto-generated section `build intellij.platform.vcs.impl` end + +### auto-generated section `test intellij.platform.vcs.impl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "vcs-impl_test", runtime_deps = [":vcs-impl_test_lib"] ) -### auto-generated section `build intellij.platform.vcs.impl` end \ No newline at end of file +### auto-generated section `test intellij.platform.vcs.impl` end \ No newline at end of file diff --git a/platform/vcs-log/graph/BUILD.bazel b/platform/vcs-log/graph/BUILD.bazel index 7505344e72c6..aaa0e790c5cf 100644 --- a/platform/vcs-log/graph/BUILD.bazel +++ b/platform/vcs-log/graph/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.vcs.log.graph.impl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "vcs-log-graph-impl", @@ -38,9 +37,13 @@ jvm_library( "@lib//:kotlin-test", ] ) +### auto-generated section `build intellij.platform.vcs.log.graph.impl` end + +### auto-generated section `test intellij.platform.vcs.log.graph.impl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "vcs-log-graph-impl_test", runtime_deps = [":vcs-log-graph-impl_test_lib"] ) -### auto-generated section `build intellij.platform.vcs.log.graph.impl` end \ No newline at end of file +### auto-generated section `test intellij.platform.vcs.log.graph.impl` end \ No newline at end of file diff --git a/platform/vcs-log/impl/BUILD.bazel b/platform/vcs-log/impl/BUILD.bazel index 5d6d52e53607..89b6eb1503b3 100644 --- a/platform/vcs-log/impl/BUILD.bazel +++ b/platform/vcs-log/impl/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.vcs.log.impl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "impl_resources", @@ -121,9 +120,13 @@ jvm_library( ], runtime_deps = [":impl_resources"] ) +### auto-generated section `build intellij.platform.vcs.log.impl` end + +### auto-generated section `test intellij.platform.vcs.log.impl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "impl_test", runtime_deps = [":impl_test_lib"] ) -### auto-generated section `build intellij.platform.vcs.log.impl` end \ No newline at end of file +### auto-generated section `test intellij.platform.vcs.log.impl` end \ No newline at end of file diff --git a/platform/vcs-tests/BUILD.bazel b/platform/vcs-tests/BUILD.bazel index 6a034da6ac05..82a0e0149b3f 100644 --- a/platform/vcs-tests/BUILD.bazel +++ b/platform/vcs-tests/BUILD.bazel @@ -27,9 +27,6 @@ jvm_library( ### auto-generated section `build intellij.platform.vcs.testFramework` end ### auto-generated section `build intellij.platform.vcs.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "vcs-tests", visibility = ["//visibility:public"], @@ -79,9 +76,13 @@ jvm_library( "//tools/intellij.tools.ide.metrics.benchmark:ide-metrics-benchmark_test_lib", ] ) +### auto-generated section `build intellij.platform.vcs.tests` end + +### auto-generated section `test intellij.platform.vcs.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "vcs-tests_test", runtime_deps = [":vcs-tests_test_lib"] ) -### auto-generated section `build intellij.platform.vcs.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.vcs.tests` end \ No newline at end of file diff --git a/platform/whatsNew/BUILD.bazel b/platform/whatsNew/BUILD.bazel index 683fca88b3a7..f864e5916af1 100644 --- a/platform/whatsNew/BUILD.bazel +++ b/platform/whatsNew/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.platform.whatsNew` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_whatsNew", opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -19,7 +18,7 @@ jvm_library( module_name = "intellij.platform.whatsNew", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_whatsNew", deps = [ "//platform/core-api:core", "//platform/util/concurrency", @@ -46,7 +45,7 @@ jvm_library( name = "whatsNew_test_lib", visibility = ["//visibility:public"], srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_whatsNew", associates = [":whatsNew"], deps = [ "//platform/core-api:core", @@ -75,9 +74,13 @@ jvm_library( ], runtime_deps = [":whatsNew_resources"] ) +### auto-generated section `build intellij.platform.whatsNew` end + +### auto-generated section `test intellij.platform.whatsNew` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "whatsNew_test", runtime_deps = [":whatsNew_test_lib"] ) -### auto-generated section `build intellij.platform.whatsNew` end \ No newline at end of file +### auto-generated section `test intellij.platform.whatsNew` end \ No newline at end of file diff --git a/platform/workspace/jps/BUILD.bazel b/platform/workspace/jps/BUILD.bazel index 1dcbeb0c2148..c533150168db 100644 --- a/platform/workspace/jps/BUILD.bazel +++ b/platform/workspace/jps/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_jps", jvm_target = 11, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -19,7 +19,7 @@ jvm_library( module_name = "intellij.platform.workspace.jps", visibility = ["//visibility:public"], srcs = glob(["gen/**/*.kt", "gen/**/*.java", "src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_jps", deps = [ "@lib//:kotlin-stdlib", "//platform/workspace/storage", diff --git a/platform/workspace/jps/tests/BUILD.bazel b/platform/workspace/jps/tests/BUILD.bazel index 62f32346f8dd..d49c8323964d 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "tests_test_resources", @@ -56,9 +55,13 @@ jvm_library( ], runtime_deps = [":tests_test_resources"] ) +### auto-generated section `build intellij.platform.workspace.jps.tests` end + +### auto-generated section `test intellij.platform.workspace.jps.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.platform.workspace.jps.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.workspace.jps.tests` end \ No newline at end of file diff --git a/platform/workspace/storage/BUILD.bazel b/platform/workspace/storage/BUILD.bazel index 2fbbe24c92ff..8ceeae69462a 100644 --- a/platform/workspace/storage/BUILD.bazel +++ b/platform/workspace/storage/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_storage", jvm_target = 11, opt_in = [ "com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi", @@ -22,7 +22,7 @@ jvm_library( module_name = "intellij.platform.workspace.storage", visibility = ["//visibility:public"], srcs = glob(["gen/**/*.kt", "gen/**/*.java", "src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_storage", deps = [ "@lib//:kotlin-stdlib", "@lib//:guava", diff --git a/platform/workspace/storage/testEntities/BUILD.bazel b/platform/workspace/storage/testEntities/BUILD.bazel index cc4cfaaf1df7..82686fbaaf05 100644 --- a/platform/workspace/storage/testEntities/BUILD.bazel +++ b/platform/workspace/storage/testEntities/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.workspace.storage.testEntities` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "testEntities", @@ -19,9 +18,13 @@ jvm_library( "@lib//:kotlin-reflect", ] ) +### auto-generated section `build intellij.platform.workspace.storage.testEntities` end + +### auto-generated section `test intellij.platform.workspace.storage.testEntities` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "testEntities_test", runtime_deps = [":testEntities_test_lib"] ) -### auto-generated section `build intellij.platform.workspace.storage.testEntities` end \ No newline at end of file +### auto-generated section `test intellij.platform.workspace.storage.testEntities` end \ No newline at end of file diff --git a/platform/workspace/storage/tests/BUILD.bazel b/platform/workspace/storage/tests/BUILD.bazel index 58eab8d174bf..507e59834a79 100644 --- a/platform/workspace/storage/tests/BUILD.bazel +++ b/platform/workspace/storage/tests/BUILD.bazel @@ -1,10 +1,9 @@ ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_tests", opt_in = [ "com.intellij.platform.workspace.storage.instrumentation.EntityStorageInstrumentationApi", "com.intellij.platform.workspace.storage.WorkspaceEntityInternalApi", @@ -27,7 +26,7 @@ jvm_library( name = "tests_test_lib", visibility = ["//visibility:public"], srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_tests", associates = ["//platform/workspace/storage"], deps = [ "//platform/core-api:core", @@ -46,9 +45,13 @@ jvm_library( ], runtime_deps = [":tests_test_resources"] ) +### auto-generated section `build intellij.platform.workspace.storage.tests` end + +### auto-generated section `test intellij.platform.workspace.storage.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.platform.workspace.storage.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.workspace.storage.tests` end \ No newline at end of file diff --git a/platform/xdebugger-impl/BUILD.bazel b/platform/xdebugger-impl/BUILD.bazel index 1077e80a0415..c1ff4b71481b 100644 --- a/platform/xdebugger-impl/BUILD.bazel +++ b/platform/xdebugger-impl/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.debugger.impl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "debugger-impl_resources", @@ -120,9 +119,13 @@ jvm_library( ], runtime_deps = [":debugger-impl_resources"] ) +### auto-generated section `build intellij.platform.debugger.impl` end + +### auto-generated section `test intellij.platform.debugger.impl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "debugger-impl_test", runtime_deps = [":debugger-impl_test_lib"] ) -### auto-generated section `build intellij.platform.debugger.impl` end \ No newline at end of file +### auto-generated section `test intellij.platform.debugger.impl` end \ No newline at end of file diff --git a/platform/xdebugger-impl/frontend/BUILD.bazel b/platform/xdebugger-impl/frontend/BUILD.bazel index 229d06462de1..bf8f6770c593 100644 --- a/platform/xdebugger-impl/frontend/BUILD.bazel +++ b/platform/xdebugger-impl/frontend/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.debugger.impl.frontend` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "frontend_resources", @@ -82,9 +81,13 @@ jvm_library( ], runtime_deps = [":frontend_resources"] ) +### auto-generated section `build intellij.platform.debugger.impl.frontend` end + +### auto-generated section `test intellij.platform.debugger.impl.frontend` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "frontend_test", runtime_deps = [":frontend_test_lib"] ) -### auto-generated section `build intellij.platform.debugger.impl.frontend` end \ No newline at end of file +### auto-generated section `test intellij.platform.debugger.impl.frontend` end \ No newline at end of file diff --git a/plugins/ByteCodeViewer/BUILD.bazel b/plugins/ByteCodeViewer/BUILD.bazel index cab11d526ece..c716d9abe2b7 100644 --- a/plugins/ByteCodeViewer/BUILD.bazel +++ b/plugins/ByteCodeViewer/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.byteCodeViewer` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "java-byteCodeViewer_resources", @@ -61,9 +60,13 @@ jvm_library( ], runtime_deps = [":java-byteCodeViewer_resources"] ) +### auto-generated section `build intellij.java.byteCodeViewer` end + +### auto-generated section `test intellij.java.byteCodeViewer` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "java-byteCodeViewer_test", runtime_deps = [":java-byteCodeViewer_test_lib"] ) -### auto-generated section `build intellij.java.byteCodeViewer` end \ No newline at end of file +### auto-generated section `test intellij.java.byteCodeViewer` end \ No newline at end of file diff --git a/plugins/IntelliLang/IntelliLang-tests/BUILD.bazel b/plugins/IntelliLang/IntelliLang-tests/BUILD.bazel index 1ea17d5e7731..30e9cfa1871a 100644 --- a/plugins/IntelliLang/IntelliLang-tests/BUILD.bazel +++ b/plugins/IntelliLang/IntelliLang-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.langInjection.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "langInjection-tests", @@ -37,9 +36,13 @@ jvm_library( "//platform/util/jdom", ] ) +### auto-generated section `build intellij.platform.langInjection.tests` end + +### auto-generated section `test intellij.platform.langInjection.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "langInjection-tests_test", runtime_deps = [":langInjection-tests_test_lib"] ) -### auto-generated section `build intellij.platform.langInjection.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.langInjection.tests` end \ No newline at end of file diff --git a/plugins/ant/BUILD.bazel b/plugins/ant/BUILD.bazel index 1fb3b99ae3dd..6f0f61abcb8b 100644 --- a/plugins/ant/BUILD.bazel +++ b/plugins/ant/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.ant` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "ant_resources", @@ -117,9 +116,13 @@ jvm_library( ], runtime_deps = [":ant_resources"] ) +### auto-generated section `build intellij.ant` end + +### auto-generated section `test intellij.ant` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ant_test", runtime_deps = [":ant_test_lib"] ) -### auto-generated section `build intellij.ant` end \ No newline at end of file +### auto-generated section `test intellij.ant` end \ No newline at end of file diff --git a/plugins/ant/jps-plugin/BUILD.bazel b/plugins/ant/jps-plugin/BUILD.bazel index 1db8d7910368..b976f92516a9 100644 --- a/plugins/ant/jps-plugin/BUILD.bazel +++ b/plugins/ant/jps-plugin/BUILD.bazel @@ -26,9 +26,6 @@ jvm_library( ### auto-generated section `build intellij.ant.jps` end ### auto-generated section `build intellij.ant.jps.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "jps-tests", visibility = ["//visibility:public"], @@ -50,9 +47,13 @@ jvm_library( "@lib//:kotlin-stdlib", ] ) +### auto-generated section `build intellij.ant.jps.tests` end + +### auto-generated section `test intellij.ant.jps.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "jps-tests_test", runtime_deps = [":jps-tests_test_lib"] ) -### auto-generated section `build intellij.ant.jps.tests` end \ No newline at end of file +### auto-generated section `test intellij.ant.jps.tests` end \ No newline at end of file diff --git a/plugins/commander/BUILD.bazel b/plugins/commander/BUILD.bazel index 0b03d16edef5..68da145c8540 100644 --- a/plugins/commander/BUILD.bazel +++ b/plugins/commander/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.commander` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "commander_resources", @@ -58,9 +57,13 @@ jvm_library( ], runtime_deps = [":commander_resources"] ) +### auto-generated section `build intellij.commander` end + +### auto-generated section `test intellij.commander` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "commander_test", runtime_deps = [":commander_test_lib"] ) -### auto-generated section `build intellij.commander` end \ No newline at end of file +### auto-generated section `test intellij.commander` 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 b599910cfbc1..f1fc29ce2044 100644 --- a/plugins/completion-ml-ranking-models/BUILD.bazel +++ b/plugins/completion-ml-ranking-models/BUILD.bazel @@ -41,9 +41,6 @@ jvm_library( ### auto-generated section `build intellij.completionMlRankingModels` end ### auto-generated section `build intellij.completionMlRankingModels.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "completionMlRankingModels-tests", visibility = ["//visibility:public"], @@ -62,9 +59,13 @@ jvm_library( "//platform/platform-impl/internal", ] ) +### auto-generated section `build intellij.completionMlRankingModels.tests` end + +### auto-generated section `test intellij.completionMlRankingModels.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "completionMlRankingModels-tests_test", runtime_deps = [":completionMlRankingModels-tests_test_lib"] ) -### auto-generated section `build intellij.completionMlRankingModels.tests` end \ No newline at end of file +### auto-generated section `test intellij.completionMlRankingModels.tests` end \ No newline at end of file diff --git a/plugins/completion-ml-ranking/BUILD.bazel b/plugins/completion-ml-ranking/BUILD.bazel index 954ef8ff64f1..0f7a3df25b10 100644 --- a/plugins/completion-ml-ranking/BUILD.bazel +++ b/plugins/completion-ml-ranking/BUILD.bazel @@ -48,9 +48,6 @@ jvm_library( ### auto-generated section `build intellij.completionMlRanking` end ### auto-generated section `build intellij.completionMlRanking.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "completionMlRanking-tests", visibility = ["//visibility:public"], @@ -78,9 +75,13 @@ jvm_library( "//platform/ml-api:ml", ] ) +### auto-generated section `build intellij.completionMlRanking.tests` end + +### auto-generated section `test intellij.completionMlRanking.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "completionMlRanking-tests_test", runtime_deps = [":completionMlRanking-tests_test_lib"] ) -### auto-generated section `build intellij.completionMlRanking.tests` end \ No newline at end of file +### auto-generated section `test intellij.completionMlRanking.tests` 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 df6315ff65e8..be1ce4142c23 100644 --- a/plugins/compose/intellij.compose.ide.plugin.k1/BUILD.bazel +++ b/plugins/compose/intellij.compose.ide.plugin.k1/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_ide-plugin-k1", context_receivers = True ) @@ -18,7 +18,7 @@ jvm_library( module_name = "intellij.compose.ide.plugin.k1", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_ide-plugin-k1", deps = [ "@lib//:kotlin-stdlib", "//plugins/compose/intellij.compose.ide.plugin.shared:ide-plugin-shared", @@ -45,9 +45,6 @@ jvm_library( ### auto-generated section `build intellij.compose.ide.plugin.k1` end ### auto-generated section `build intellij.compose.ide.plugin.k1.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "ide-plugin-k1-tests_test_lib", visibility = ["//visibility:public"], @@ -78,9 +75,13 @@ jvm_library( "//platform/external-system-impl:externalSystem-tests_test_lib", ] ) +### auto-generated section `build intellij.compose.ide.plugin.k1.tests` end + +### auto-generated section `test intellij.compose.ide.plugin.k1.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ide-plugin-k1-tests_test", runtime_deps = [":ide-plugin-k1-tests_test_lib"] ) -### auto-generated section `build intellij.compose.ide.plugin.k1.tests` end \ No newline at end of file +### auto-generated section `test intellij.compose.ide.plugin.k1.tests` end \ No newline at end of file diff --git a/plugins/compose/intellij.compose.ide.plugin.k2/BUILD.bazel b/plugins/compose/intellij.compose.ide.plugin.k2/BUILD.bazel index c65165380ed3..3cee09627fa2 100644 --- a/plugins/compose/intellij.compose.ide.plugin.k2/BUILD.bazel +++ b/plugins/compose/intellij.compose.ide.plugin.k2/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_ide-plugin-k2", context_receivers = True ) @@ -18,7 +18,7 @@ jvm_library( module_name = "intellij.compose.ide.plugin.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_ide-plugin-k2", deps = [ "@lib//:kotlin-stdlib", "//plugins/compose/intellij.compose.ide.plugin.shared:ide-plugin-shared", @@ -41,10 +41,6 @@ jvm_library( ### auto-generated section `build intellij.compose.ide.plugin.k2` end ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") - create_kotlinc_options( name = "custom_ide-plugin-k2-tests", context_receivers = True @@ -85,9 +81,13 @@ jvm_library( "//platform/external-system-impl:externalSystem-tests_test_lib", ] ) +### auto-generated section `build intellij.compose.ide.plugin.k2.tests` end + +### auto-generated section `test intellij.compose.ide.plugin.k2.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ide-plugin-k2-tests_test", runtime_deps = [":ide-plugin-k2-tests_test_lib"] ) -### auto-generated section `build intellij.compose.ide.plugin.k2.tests` end \ No newline at end of file +### auto-generated section `test intellij.compose.ide.plugin.k2.tests` end \ No newline at end of file diff --git a/plugins/compose/intellij.compose.ide.plugin.projectStructureTests/BUILD.bazel b/plugins/compose/intellij.compose.ide.plugin.projectStructureTests/BUILD.bazel index f0cc6f521cbf..8533b9cea04a 100644 --- a/plugins/compose/intellij.compose.ide.plugin.projectStructureTests/BUILD.bazel +++ b/plugins/compose/intellij.compose.ide.plugin.projectStructureTests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.compose.ide.plugin.projectStructureTests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "ide-plugin-projectStructureTests_test_lib", @@ -16,9 +15,13 @@ jvm_library( "//platform/testFramework:testFramework_test_lib", ] ) +### auto-generated section `build intellij.compose.ide.plugin.projectStructureTests` end + +### auto-generated section `test intellij.compose.ide.plugin.projectStructureTests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ide-plugin-projectStructureTests_test", runtime_deps = [":ide-plugin-projectStructureTests_test_lib"] ) -### auto-generated section `build intellij.compose.ide.plugin.projectStructureTests` end \ No newline at end of file +### auto-generated section `test intellij.compose.ide.plugin.projectStructureTests` end \ No newline at end of file diff --git a/plugins/compose/intellij.compose.ide.plugin.resources/BUILD.bazel b/plugins/compose/intellij.compose.ide.plugin.resources/BUILD.bazel index 19d24062c7b7..2da9a92b35c0 100644 --- a/plugins/compose/intellij.compose.ide.plugin.resources/BUILD.bazel +++ b/plugins/compose/intellij.compose.ide.plugin.resources/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.compose.ide.plugin.resources` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "ide-plugin-resources_resources", @@ -102,9 +101,13 @@ jvm_library( ], runtime_deps = [":ide-plugin-resources_resources"] ) +### auto-generated section `build intellij.compose.ide.plugin.resources` end + +### auto-generated section `test intellij.compose.ide.plugin.resources` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ide-plugin-resources_test", runtime_deps = [":ide-plugin-resources_test_lib"] ) -### auto-generated section `build intellij.compose.ide.plugin.resources` end \ No newline at end of file +### auto-generated section `test intellij.compose.ide.plugin.resources` end \ No newline at end of file diff --git a/plugins/compose/intellij.compose.ide.plugin.shared/BUILD.bazel b/plugins/compose/intellij.compose.ide.plugin.shared/BUILD.bazel index ed712376dfc5..872c2c879e69 100644 --- a/plugins/compose/intellij.compose.ide.plugin.shared/BUILD.bazel +++ b/plugins/compose/intellij.compose.ide.plugin.shared/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_ide-plugin-shared", context_receivers = True ) @@ -18,7 +18,7 @@ jvm_library( module_name = "intellij.compose.ide.plugin.shared", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_ide-plugin-shared", deps = [ "//plugins/compose:compose-ide-plugin", "//platform/analysis-api:analysis", @@ -47,9 +47,6 @@ jvm_library( ### auto-generated section `build intellij.compose.ide.plugin.shared` end ### auto-generated section `build intellij.compose.ide.plugin.shared.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "ide-plugin-shared-tests", visibility = ["//visibility:public"], @@ -92,9 +89,13 @@ jvm_library( "//plugins/gradle/tooling-extension-impl:toolingExtension-tests_test_lib", ] ) +### auto-generated section `build intellij.compose.ide.plugin.shared.tests` end + +### auto-generated section `test intellij.compose.ide.plugin.shared.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ide-plugin-shared-tests_test", runtime_deps = [":ide-plugin-shared-tests_test_lib"] ) -### auto-generated section `build intellij.compose.ide.plugin.shared.tests` end \ No newline at end of file +### auto-generated section `test intellij.compose.ide.plugin.shared.tests` end \ No newline at end of file diff --git a/plugins/configuration-script/BUILD.bazel b/plugins/configuration-script/BUILD.bazel index 604d383199db..f0c97a434419 100644 --- a/plugins/configuration-script/BUILD.bazel +++ b/plugins/configuration-script/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.configurationScript` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "configuration-script_resources", @@ -73,17 +72,18 @@ jvm_library( ], runtime_deps = [":configuration-script_resources"] ) +### auto-generated section `build intellij.configurationScript` end + +### auto-generated section `test intellij.configurationScript` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "configuration-script_test", runtime_deps = [":configuration-script_test_lib"] ) -### auto-generated section `build intellij.configurationScript` end +### auto-generated section `test intellij.configurationScript` end ### auto-generated section `build intellij.configurationScript.test.java` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "configurationScript-test-java", visibility = ["//visibility:public"], @@ -107,9 +107,13 @@ jvm_library( "//platform/lang-impl", ] ) +### auto-generated section `build intellij.configurationScript.test.java` end + +### auto-generated section `test intellij.configurationScript.test.java` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "configurationScript-test-java_test", runtime_deps = [":configurationScript-test-java_test_lib"] ) -### auto-generated section `build intellij.configurationScript.test.java` end \ No newline at end of file +### auto-generated section `test intellij.configurationScript.test.java` end \ No newline at end of file diff --git a/plugins/copyright/BUILD.bazel b/plugins/copyright/BUILD.bazel index c39be921f1df..8516aff43e3b 100644 --- a/plugins/copyright/BUILD.bazel +++ b/plugins/copyright/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.copyright` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "copyright_resources", @@ -74,9 +73,13 @@ jvm_library( ], runtime_deps = [":copyright_resources"] ) +### auto-generated section `build intellij.copyright` end + +### auto-generated section `test intellij.copyright` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "copyright_test", runtime_deps = [":copyright_test_lib"] ) -### auto-generated section `build intellij.copyright` end \ No newline at end of file +### auto-generated section `test intellij.copyright` end \ No newline at end of file diff --git a/plugins/coverage-common/BUILD.bazel b/plugins/coverage-common/BUILD.bazel index 966553900c3a..ce78dc9a03a1 100644 --- a/plugins/coverage-common/BUILD.bazel +++ b/plugins/coverage-common/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.coverage` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "coverage_resources", @@ -81,9 +80,13 @@ jvm_library( ], runtime_deps = [":coverage_resources"] ) +### auto-generated section `build intellij.platform.coverage` end + +### auto-generated section `test intellij.platform.coverage` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "coverage_test", runtime_deps = [":coverage_test_lib"] ) -### auto-generated section `build intellij.platform.coverage` end \ No newline at end of file +### auto-generated section `test intellij.platform.coverage` end \ No newline at end of file diff --git a/plugins/coverage/BUILD.bazel b/plugins/coverage/BUILD.bazel index 7e170d5aa8e4..c2ddf6e47a29 100644 --- a/plugins/coverage/BUILD.bazel +++ b/plugins/coverage/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.coverage` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "coverage_resources", @@ -104,9 +103,13 @@ jvm_library( ], runtime_deps = [":coverage_resources"] ) +### auto-generated section `build intellij.java.coverage` end + +### auto-generated section `test intellij.java.coverage` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "coverage_test", runtime_deps = [":coverage_test_lib"] ) -### auto-generated section `build intellij.java.coverage` end \ No newline at end of file +### auto-generated section `test intellij.java.coverage` end \ No newline at end of file diff --git a/plugins/dev/BUILD.bazel b/plugins/dev/BUILD.bazel index 60ad4d1759ca..149e3e5e8311 100644 --- a/plugins/dev/BUILD.bazel +++ b/plugins/dev/BUILD.bazel @@ -27,8 +27,6 @@ jvm_library( ### auto-generated section `build intellij.dev.noJava.plugin.main` end ### auto-generated section `build intellij.dev.plugin.main` start -load("@rules_jvm//:jvm.bzl", "jvm_library") - jvm_library( name = "dev-plugin-main", visibility = ["//visibility:public"], diff --git a/plugins/devkit/BUILD.bazel b/plugins/devkit/BUILD.bazel index 44a9a77c55ef..9a68688a2ef3 100644 --- a/plugins/devkit/BUILD.bazel +++ b/plugins/devkit/BUILD.bazel @@ -16,8 +16,6 @@ jvm_library( ### auto-generated section `build intellij.devkit` end ### auto-generated section `build intellij.devkit.plugin.main` start -load("@rules_jvm//:jvm.bzl", "jvm_library") - jvm_library( name = "devkit-plugin-main", visibility = ["//visibility:public"], @@ -50,8 +48,6 @@ jvm_library( ### auto-generated section `build intellij.devkit.plugin.main` end ### auto-generated section `build intellij.devkit.plugin.main.noKotlin` start -load("@rules_jvm//:jvm.bzl", "jvm_library") - jvm_library( name = "devkit-plugin-main-noKotlin", visibility = ["//visibility:public"], diff --git a/plugins/devkit/api-dump-lang/BUILD.bazel b/plugins/devkit/api-dump-lang/BUILD.bazel index 0f950f16d214..e68b14a7423d 100644 --- a/plugins/devkit/api-dump-lang/BUILD.bazel +++ b/plugins/devkit/api-dump-lang/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.devkit.apiDump.lang` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "apiDump-lang_resources", @@ -63,9 +62,13 @@ jvm_library( ], runtime_deps = [":apiDump-lang_resources"] ) +### auto-generated section `build intellij.devkit.apiDump.lang` end + +### auto-generated section `test intellij.devkit.apiDump.lang` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "apiDump-lang_test", runtime_deps = [":apiDump-lang_test_lib"] ) -### auto-generated section `build intellij.devkit.apiDump.lang` end \ No newline at end of file +### auto-generated section `test intellij.devkit.apiDump.lang` end \ No newline at end of file diff --git a/plugins/devkit/devkit-core/BUILD.bazel b/plugins/devkit/devkit-core/BUILD.bazel index 7b10c586253b..852c3f9e5173 100644 --- a/plugins/devkit/devkit-core/BUILD.bazel +++ b/plugins/devkit/devkit-core/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_core", opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -18,7 +18,7 @@ jvm_library( module_name = "intellij.devkit.core", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_core", deps = [ "@lib//:jetbrains-annotations", "//java/java-indexing-api:indexing", diff --git a/plugins/devkit/devkit-java-tests/BUILD.bazel b/plugins/devkit/devkit-java-tests/BUILD.bazel index 9c1b5b45c1a3..62232c500f75 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "java-tests_test_resources", @@ -74,9 +73,13 @@ jvm_library( "//plugins/devkit", ] ) +### auto-generated section `build intellij.devkit.java.tests` end + +### auto-generated section `test intellij.devkit.java.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "java-tests_test", runtime_deps = [":java-tests_test_lib"] ) -### auto-generated section `build intellij.devkit.java.tests` end \ No newline at end of file +### auto-generated section `test intellij.devkit.java.tests` end \ No newline at end of file diff --git a/plugins/devkit/devkit-kotlin-fir-tests/BUILD.bazel b/plugins/devkit/devkit-kotlin-fir-tests/BUILD.bazel index b99c13a72ce3..e05ce6e4ed82 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "kotlin-fir-tests_test_lib", @@ -40,9 +39,13 @@ jvm_library( "//plugins/devkit/intellij.kotlin.devkit/k2", ] ) +### auto-generated section `build intellij.devkit.kotlin.fir.tests` end + +### auto-generated section `test intellij.devkit.kotlin.fir.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-fir-tests_test", runtime_deps = [":kotlin-fir-tests_test_lib"] ) -### auto-generated section `build intellij.devkit.kotlin.fir.tests` end \ No newline at end of file +### auto-generated section `test intellij.devkit.kotlin.fir.tests` end \ No newline at end of file diff --git a/plugins/devkit/devkit-kotlin-tests/BUILD.bazel b/plugins/devkit/devkit-kotlin-tests/BUILD.bazel index 108502f23bd4..e6169f6b32e9 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "kotlin-tests_test_resources", @@ -58,9 +57,13 @@ jvm_library( "//plugins/devkit", ] ) +### auto-generated section `build intellij.devkit.kotlin.tests` end + +### auto-generated section `test intellij.devkit.kotlin.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-tests_test", runtime_deps = [":kotlin-tests_test_lib"] ) -### auto-generated section `build intellij.devkit.kotlin.tests` end \ No newline at end of file +### auto-generated section `test intellij.devkit.kotlin.tests` end \ No newline at end of file diff --git a/plugins/devkit/devkit-tests/BUILD.bazel b/plugins/devkit/devkit-tests/BUILD.bazel index 38313aeadc7e..5b6077f09b72 100644 --- a/plugins/devkit/devkit-tests/BUILD.bazel +++ b/plugins/devkit/devkit-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.devkit.testFramework` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "testFramework", @@ -38,9 +37,13 @@ jvm_library( "//spellchecker:spellchecker_test_lib", ] ) +### auto-generated section `build intellij.devkit.testFramework` end + +### auto-generated section `test intellij.devkit.testFramework` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "testFramework_test", runtime_deps = [":testFramework_test_lib"] ) -### auto-generated section `build intellij.devkit.testFramework` end \ No newline at end of file +### auto-generated section `test intellij.devkit.testFramework` end \ No newline at end of file diff --git a/plugins/devkit/intellij.devkit.debugger/BUILD.bazel b/plugins/devkit/intellij.devkit.debugger/BUILD.bazel index 6995616b9a2e..243e6e3add04 100644 --- a/plugins/devkit/intellij.devkit.debugger/BUILD.bazel +++ b/plugins/devkit/intellij.devkit.debugger/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.devkit.debugger` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "debugger_resources", @@ -57,9 +56,13 @@ jvm_library( ], runtime_deps = [":debugger_resources"] ) +### auto-generated section `build intellij.devkit.debugger` end + +### auto-generated section `test intellij.devkit.debugger` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "debugger_test", runtime_deps = [":debugger_test_lib"] ) -### auto-generated section `build intellij.devkit.debugger` end \ No newline at end of file +### auto-generated section `test intellij.devkit.debugger` end \ No newline at end of file diff --git a/plugins/devkit/intellij.devkit.git/BUILD.bazel b/plugins/devkit/intellij.devkit.git/BUILD.bazel index 06538aac7958..40340e5e2a52 100644 --- a/plugins/devkit/intellij.devkit.git/BUILD.bazel +++ b/plugins/devkit/intellij.devkit.git/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.devkit.git` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources") jvm_resources( name = "git_resources", @@ -75,9 +74,13 @@ jvm_library( ], runtime_deps = [":git_resources"] ) +### auto-generated section `build intellij.devkit.git` end + +### auto-generated section `test intellij.devkit.git` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "git_test", runtime_deps = [":git_test_lib"] ) -### auto-generated section `build intellij.devkit.git` end \ No newline at end of file +### auto-generated section `test intellij.devkit.git` end \ No newline at end of file diff --git a/plugins/devkit/intellij.devkit.gradle/BUILD.bazel b/plugins/devkit/intellij.devkit.gradle/BUILD.bazel index 1a13ed80c84a..97eaec13b07a 100644 --- a/plugins/devkit/intellij.devkit.gradle/BUILD.bazel +++ b/plugins/devkit/intellij.devkit.gradle/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.devkit.gradle` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "gradle_resources", @@ -77,9 +76,13 @@ jvm_library( ], runtime_deps = [":gradle_resources"] ) +### auto-generated section `build intellij.devkit.gradle` end + +### auto-generated section `test intellij.devkit.gradle` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "gradle_test", runtime_deps = [":gradle_test_lib"] ) -### auto-generated section `build intellij.devkit.gradle` end \ No newline at end of file +### auto-generated section `test intellij.devkit.gradle` end \ No newline at end of file diff --git a/plugins/devkit/intellij.devkit.i18n/BUILD.bazel b/plugins/devkit/intellij.devkit.i18n/BUILD.bazel index 3ddefabc644e..a9ba8591d328 100644 --- a/plugins/devkit/intellij.devkit.i18n/BUILD.bazel +++ b/plugins/devkit/intellij.devkit.i18n/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.devkit.i18n` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "i18n_resources", @@ -77,9 +76,13 @@ jvm_library( ":i18n_test_resources", ] ) +### auto-generated section `build intellij.devkit.i18n` end + +### auto-generated section `test intellij.devkit.i18n` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "i18n_test", runtime_deps = [":i18n_test_lib"] ) -### auto-generated section `build intellij.devkit.i18n` end \ No newline at end of file +### auto-generated section `test intellij.devkit.i18n` end \ No newline at end of file diff --git a/plugins/devkit/intellij.devkit.themes/BUILD.bazel b/plugins/devkit/intellij.devkit.themes/BUILD.bazel index 72f963a46002..b8b97c483576 100644 --- a/plugins/devkit/intellij.devkit.themes/BUILD.bazel +++ b/plugins/devkit/intellij.devkit.themes/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.devkit.themes` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "themes_resources", @@ -69,9 +68,13 @@ jvm_library( ], runtime_deps = [":themes_resources"] ) +### auto-generated section `build intellij.devkit.themes` end + +### auto-generated section `test intellij.devkit.themes` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "themes_test", runtime_deps = [":themes_test_lib"] ) -### auto-generated section `build intellij.devkit.themes` end \ No newline at end of file +### auto-generated section `test intellij.devkit.themes` end \ No newline at end of file diff --git a/plugins/devkit/intellij.devkit.workspaceModel/BUILD.bazel b/plugins/devkit/intellij.devkit.workspaceModel/BUILD.bazel index 44a0493a555d..c443667b3e1d 100644 --- a/plugins/devkit/intellij.devkit.workspaceModel/BUILD.bazel +++ b/plugins/devkit/intellij.devkit.workspaceModel/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_workspaceModel", opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", "org.jetbrains.kotlin.analysis.api.KaIdeApi", @@ -23,7 +23,7 @@ jvm_library( module_name = "intellij.devkit.workspaceModel", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_workspaceModel", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common-provided", diff --git a/plugins/devkit/intellij.devkit.workspaceModel/k1/BUILD.bazel b/plugins/devkit/intellij.devkit.workspaceModel/k1/BUILD.bazel index bb0a7083ad50..47060f5ed334 100644 --- a/plugins/devkit/intellij.devkit.workspaceModel/k1/BUILD.bazel +++ b/plugins/devkit/intellij.devkit.workspaceModel/k1/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.devkit.workspaceModel.k1` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_k1", opt_in = [ "org.jetbrains.kotlin.analysis.api.KaIdeApi", "org.jetbrains.kotlin.analysis.api.KaNonPublicApi", @@ -24,7 +23,7 @@ jvm_library( module_name = "intellij.devkit.workspaceModel.k1", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k1", deps = [ "//platform/workspace/storage", "//plugins/devkit/intellij.devkit.workspaceModel:workspaceModel", @@ -47,7 +46,7 @@ jvm_library( name = "k1_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k1", associates = [":k1"], deps = [ "//platform/workspace/storage", @@ -76,9 +75,13 @@ jvm_library( ], runtime_deps = [":k1_resources"] ) +### auto-generated section `build intellij.devkit.workspaceModel.k1` end + +### auto-generated section `test intellij.devkit.workspaceModel.k1` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "k1_test", runtime_deps = [":k1_test_lib"] ) -### auto-generated section `build intellij.devkit.workspaceModel.k1` end \ No newline at end of file +### auto-generated section `test intellij.devkit.workspaceModel.k1` end \ No newline at end of file diff --git a/plugins/devkit/intellij.devkit.workspaceModel/k2/BUILD.bazel b/plugins/devkit/intellij.devkit.workspaceModel/k2/BUILD.bazel index dfe42d279866..85a33edb3b36 100644 --- a/plugins/devkit/intellij.devkit.workspaceModel/k2/BUILD.bazel +++ b/plugins/devkit/intellij.devkit.workspaceModel/k2/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.devkit.workspaceModel.k2` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_k2", opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", "org.jetbrains.kotlin.analysis.api.KaIdeApi", @@ -24,7 +23,7 @@ jvm_library( module_name = "intellij.devkit.workspaceModel.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k2", deps = [ "//plugins/devkit/intellij.devkit.workspaceModel:workspaceModel", "//platform/core-api:core", @@ -48,7 +47,7 @@ jvm_library( name = "k2_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k2", associates = [":k2"], deps = [ "//plugins/devkit/intellij.devkit.workspaceModel:workspaceModel", @@ -78,9 +77,13 @@ jvm_library( ], runtime_deps = [":k2_resources"] ) +### auto-generated section `build intellij.devkit.workspaceModel.k2` end + +### auto-generated section `test intellij.devkit.workspaceModel.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "k2_test", runtime_deps = [":k2_test_lib"] ) -### auto-generated section `build intellij.devkit.workspaceModel.k2` end \ No newline at end of file +### auto-generated section `test intellij.devkit.workspaceModel.k2` 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 deaee01d7e85..ddd0dae9d457 100644 --- a/plugins/devkit/intellij.devkit.workspaceModel/tests/BUILD.bazel +++ b/plugins/devkit/intellij.devkit.workspaceModel/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.devkit.workspaceModel.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -50,9 +49,13 @@ jvm_library( ], runtime_deps = ["//plugins/devkit"] ) +### auto-generated section `build intellij.devkit.workspaceModel.tests` end + +### auto-generated section `test intellij.devkit.workspaceModel.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.devkit.workspaceModel.tests` end \ No newline at end of file +### auto-generated section `test intellij.devkit.workspaceModel.tests` end \ No newline at end of file diff --git a/plugins/devkit/intellij.kotlin.devkit/BUILD.bazel b/plugins/devkit/intellij.kotlin.devkit/BUILD.bazel index ed009f202038..48f35aaa9df3 100644 --- a/plugins/devkit/intellij.kotlin.devkit/BUILD.bazel +++ b/plugins/devkit/intellij.kotlin.devkit/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-devkit", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -22,7 +22,7 @@ jvm_library( module_name = "intellij.kotlin.devkit", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-devkit", deps = [ "@lib//:kotlin-stdlib", "//platform/indexing-api:indexing", diff --git a/plugins/devkit/intellij.kotlin.devkit/k1/BUILD.bazel b/plugins/devkit/intellij.kotlin.devkit/k1/BUILD.bazel index e056672afbdf..ac5bfb5633a2 100644 --- a/plugins/devkit/intellij.kotlin.devkit/k1/BUILD.bazel +++ b/plugins/devkit/intellij.kotlin.devkit/k1/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.kotlin.devkit.k1` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "k1_resources", @@ -65,9 +64,13 @@ jvm_library( ], runtime_deps = [":k1_resources"] ) +### auto-generated section `build intellij.kotlin.devkit.k1` end + +### auto-generated section `test intellij.kotlin.devkit.k1` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "k1_test", runtime_deps = [":k1_test_lib"] ) -### auto-generated section `build intellij.kotlin.devkit.k1` end \ No newline at end of file +### auto-generated section `test intellij.kotlin.devkit.k1` end \ No newline at end of file diff --git a/plugins/devkit/intellij.kotlin.devkit/k2/BUILD.bazel b/plugins/devkit/intellij.kotlin.devkit/k2/BUILD.bazel index 5432874c146c..d19b73422005 100644 --- a/plugins/devkit/intellij.kotlin.devkit/k2/BUILD.bazel +++ b/plugins/devkit/intellij.kotlin.devkit/k2/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_k2", opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", "org.jetbrains.kotlin.analysis.api.KaIdeApi", @@ -23,7 +23,7 @@ jvm_library( module_name = "intellij.kotlin.devkit.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common-provided", diff --git a/plugins/devkit/jps-plugin/BUILD.bazel b/plugins/devkit/jps-plugin/BUILD.bazel index 9844a49bd22a..7fa4de10e85f 100644 --- a/plugins/devkit/jps-plugin/BUILD.bazel +++ b/plugins/devkit/jps-plugin/BUILD.bazel @@ -29,9 +29,6 @@ jvm_library( ### auto-generated section `build intellij.devkit.jps` end ### auto-generated section `build intellij.devkit.jps.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "jps-tests", visibility = ["//visibility:public"], @@ -57,9 +54,13 @@ jvm_library( "//java/compiler/instrumentation-util", ] ) +### auto-generated section `build intellij.devkit.jps.tests` end + +### auto-generated section `test intellij.devkit.jps.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "jps-tests_test", runtime_deps = [":jps-tests_test_lib"] ) -### auto-generated section `build intellij.devkit.jps.tests` end \ No newline at end of file +### auto-generated section `test intellij.devkit.jps.tests` end \ No newline at end of file diff --git a/plugins/devkit/runtimeModuleRepository/jps/BUILD.bazel b/plugins/devkit/runtimeModuleRepository/jps/BUILD.bazel index a47a85deba3d..b44a0fab7816 100644 --- a/plugins/devkit/runtimeModuleRepository/jps/BUILD.bazel +++ b/plugins/devkit/runtimeModuleRepository/jps/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.devkit.runtimeModuleRepository.jps` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_jps", jvm_target = 11, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -20,7 +19,7 @@ jvm_library( module_name = "intellij.devkit.runtimeModuleRepository.jps", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_jps", deps = [ "//jps/model-api:model", "//platform/util", @@ -37,7 +36,7 @@ jvm_library( name = "jps_test_lib", visibility = ["//visibility:public"], srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_jps", associates = [":jps"], deps = [ "//jps/model-api:model", @@ -53,9 +52,13 @@ jvm_library( ], runtime_deps = [":jps_resources"] ) +### auto-generated section `build intellij.devkit.runtimeModuleRepository.jps` end + +### auto-generated section `test intellij.devkit.runtimeModuleRepository.jps` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "jps_test", runtime_deps = [":jps_test_lib"] ) -### auto-generated section `build intellij.devkit.runtimeModuleRepository.jps` end \ No newline at end of file +### auto-generated section `test intellij.devkit.runtimeModuleRepository.jps` end \ No newline at end of file diff --git a/plugins/eclipse/BUILD.bazel b/plugins/eclipse/BUILD.bazel index 41933b0fdc9b..6f4f2f5c4460 100644 --- a/plugins/eclipse/BUILD.bazel +++ b/plugins/eclipse/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.eclipse` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "eclipse_resources", @@ -92,9 +91,13 @@ jvm_library( ], runtime_deps = [":eclipse_resources"] ) +### auto-generated section `build intellij.eclipse` end + +### auto-generated section `test intellij.eclipse` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "eclipse_test", runtime_deps = [":eclipse_test_lib"] ) -### auto-generated section `build intellij.eclipse` end \ No newline at end of file +### auto-generated section `test intellij.eclipse` end \ No newline at end of file diff --git a/plugins/editorconfig/BUILD.bazel b/plugins/editorconfig/BUILD.bazel index 6fffb1438848..fbcf5cb9faf5 100644 --- a/plugins/editorconfig/BUILD.bazel +++ b/plugins/editorconfig/BUILD.bazel @@ -16,8 +16,6 @@ jvm_library( ### auto-generated section `build intellij.editorconfig.plugin` end ### auto-generated section `build intellij.editorconfig.plugin.main` start -load("@rules_jvm//:jvm.bzl", "jvm_library") - jvm_library( name = "editorconfig-plugin-main", visibility = ["//visibility:public"], diff --git a/plugins/editorconfig/backend/BUILD.bazel b/plugins/editorconfig/backend/BUILD.bazel index fe9ba0e897b2..c745afeb3e86 100644 --- a/plugins/editorconfig/backend/BUILD.bazel +++ b/plugins/editorconfig/backend/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.editorconfig.backend` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "backend_resources", @@ -106,9 +105,13 @@ jvm_library( ":backend_resources_1", ] ) +### auto-generated section `build intellij.editorconfig.backend` end + +### auto-generated section `test intellij.editorconfig.backend` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "backend_test", runtime_deps = [":backend_test_lib"] ) -### auto-generated section `build intellij.editorconfig.backend` end \ No newline at end of file +### auto-generated section `test intellij.editorconfig.backend` end \ No newline at end of file diff --git a/plugins/evaluation-plugin/BUILD.bazel b/plugins/evaluation-plugin/BUILD.bazel index e8f84d2fe476..ea9f987c1f39 100644 --- a/plugins/evaluation-plugin/BUILD.bazel +++ b/plugins/evaluation-plugin/BUILD.bazel @@ -48,9 +48,6 @@ jvm_library( ### auto-generated section `build intellij.evaluationPlugin` end ### auto-generated section `build intellij.evaluationPlugin.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "evaluationPlugin-tests_test_lib", visibility = ["//visibility:public"], @@ -72,9 +69,13 @@ jvm_library( "@lib//:mockito-kotlin", ] ) +### auto-generated section `build intellij.evaluationPlugin.tests` end + +### auto-generated section `test intellij.evaluationPlugin.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "evaluationPlugin-tests_test", runtime_deps = [":evaluationPlugin-tests_test_lib"] ) -### auto-generated section `build intellij.evaluationPlugin.tests` end \ No newline at end of file +### auto-generated section `test intellij.evaluationPlugin.tests` end \ No newline at end of file diff --git a/plugins/evaluation-plugin/languages/java/BUILD.bazel b/plugins/evaluation-plugin/languages/java/BUILD.bazel index ae8b242846a5..ac4b775a1775 100644 --- a/plugins/evaluation-plugin/languages/java/BUILD.bazel +++ b/plugins/evaluation-plugin/languages/java/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.evaluationPlugin.languages.java` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "java_resources", @@ -66,9 +65,13 @@ jvm_library( ], runtime_deps = [":java_resources"] ) +### auto-generated section `build intellij.evaluationPlugin.languages.java` end + +### auto-generated section `test intellij.evaluationPlugin.languages.java` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "java_test", runtime_deps = [":java_test_lib"] ) -### auto-generated section `build intellij.evaluationPlugin.languages.java` end \ No newline at end of file +### auto-generated section `test intellij.evaluationPlugin.languages.java` end \ No newline at end of file diff --git a/plugins/filePrediction/BUILD.bazel b/plugins/filePrediction/BUILD.bazel index 397058888495..0e6d971cce1e 100644 --- a/plugins/filePrediction/BUILD.bazel +++ b/plugins/filePrediction/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.filePrediction` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "filePrediction_resources", @@ -86,9 +85,13 @@ jvm_library( ":filePrediction_test_resources", ] ) +### auto-generated section `build intellij.filePrediction` end + +### auto-generated section `test intellij.filePrediction` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "filePrediction_test", runtime_deps = [":filePrediction_test_lib"] ) -### auto-generated section `build intellij.filePrediction` end \ No newline at end of file +### auto-generated section `test intellij.filePrediction` end \ No newline at end of file diff --git a/plugins/findUsagesMl/BUILD.bazel b/plugins/findUsagesMl/BUILD.bazel index b156a407e969..1c6954c90311 100644 --- a/plugins/findUsagesMl/BUILD.bazel +++ b/plugins/findUsagesMl/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.findUsagesMl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "findUsagesMl_resources", @@ -53,9 +52,13 @@ jvm_library( ], runtime_deps = [":findUsagesMl_resources"] ) +### auto-generated section `build intellij.findUsagesMl` end + +### auto-generated section `test intellij.findUsagesMl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "findUsagesMl_test", runtime_deps = [":findUsagesMl_test_lib"] ) -### auto-generated section `build intellij.findUsagesMl` end \ No newline at end of file +### auto-generated section `test intellij.findUsagesMl` end \ No newline at end of file diff --git a/plugins/git-features-trainer/BUILD.bazel b/plugins/git-features-trainer/BUILD.bazel index c5cd8b5f77a9..69c381eb69ae 100644 --- a/plugins/git-features-trainer/BUILD.bazel +++ b/plugins/git-features-trainer/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.vcs.git.featuresTrainer` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "vcs-git-featuresTrainer_resources", @@ -74,9 +73,13 @@ jvm_library( ], runtime_deps = [":vcs-git-featuresTrainer_resources"] ) +### auto-generated section `build intellij.vcs.git.featuresTrainer` end + +### auto-generated section `test intellij.vcs.git.featuresTrainer` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "vcs-git-featuresTrainer_test", runtime_deps = [":vcs-git-featuresTrainer_test_lib"] ) -### auto-generated section `build intellij.vcs.git.featuresTrainer` end \ No newline at end of file +### auto-generated section `test intellij.vcs.git.featuresTrainer` end \ No newline at end of file diff --git a/plugins/git4idea/BUILD.bazel b/plugins/git4idea/BUILD.bazel index 82ce4e79c0ee..993918f803cd 100644 --- a/plugins/git4idea/BUILD.bazel +++ b/plugins/git4idea/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.vcs.git` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_vcs-git", opt_in = ["kotlin.RequiresOptIn"] ) @@ -31,7 +30,7 @@ jvm_library( module_name = "intellij.vcs.git", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_vcs-git", deps = [ "//platform/analysis-api:analysis", "//platform/code-style-api:codeStyle", @@ -118,7 +117,7 @@ jvm_library( name = "vcs-git_test_lib", visibility = ["//visibility:public"], srcs = glob(["tests/**/*.kt", "tests/**/*.java", "tests/**/*.form"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_vcs-git", associates = [":vcs-git"], deps = [ "//platform/analysis-api:analysis", @@ -226,9 +225,13 @@ jvm_library( ":vcs-git_test_resources", ] ) +### auto-generated section `build intellij.vcs.git` end + +### auto-generated section `test intellij.vcs.git` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "vcs-git_test", runtime_deps = [":vcs-git_test_lib"] ) -### auto-generated section `build intellij.vcs.git` end \ No newline at end of file +### auto-generated section `test intellij.vcs.git` end \ No newline at end of file diff --git a/plugins/git4idea/intellij.vcs.git.coverage/BUILD.bazel b/plugins/git4idea/intellij.vcs.git.coverage/BUILD.bazel index f036cd50d74b..bbbaa6c61aa4 100644 --- a/plugins/git4idea/intellij.vcs.git.coverage/BUILD.bazel +++ b/plugins/git4idea/intellij.vcs.git.coverage/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.vcs.git.coverage` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "vcs-git-coverage_resources", @@ -57,9 +56,13 @@ jvm_library( ], runtime_deps = [":vcs-git-coverage_resources"] ) +### auto-generated section `build intellij.vcs.git.coverage` end + +### auto-generated section `test intellij.vcs.git.coverage` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "vcs-git-coverage_test", runtime_deps = [":vcs-git-coverage_test_lib"] ) -### auto-generated section `build intellij.vcs.git.coverage` end \ No newline at end of file +### auto-generated section `test intellij.vcs.git.coverage` end \ No newline at end of file diff --git a/plugins/github/github-core/BUILD.bazel b/plugins/github/github-core/BUILD.bazel index ecc7cf620436..9b51bbd7007d 100644 --- a/plugins/github/github-core/BUILD.bazel +++ b/plugins/github/github-core/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.vcs.github` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "vcs-github_resources", @@ -173,9 +172,13 @@ jvm_library( ":vcs-github_test_resources", ] ) +### auto-generated section `build intellij.vcs.github` end + +### auto-generated section `test intellij.vcs.github` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "vcs-github_test", runtime_deps = [":vcs-github_test_lib"] ) -### auto-generated section `build intellij.vcs.github` end \ No newline at end of file +### auto-generated section `test intellij.vcs.github` end \ No newline at end of file diff --git a/plugins/gitlab/gitlab-core/BUILD.bazel b/plugins/gitlab/gitlab-core/BUILD.bazel index 60547d89738c..80dcc880454b 100644 --- a/plugins/gitlab/gitlab-core/BUILD.bazel +++ b/plugins/gitlab/gitlab-core/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.vcs.gitlab` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "vcs-gitlab_resources", @@ -141,9 +140,13 @@ jvm_library( ":vcs-gitlab_test_resources", ] ) +### auto-generated section `build intellij.vcs.gitlab` end + +### auto-generated section `test intellij.vcs.gitlab` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "vcs-gitlab_test", runtime_deps = [":vcs-gitlab_test_lib"] ) -### auto-generated section `build intellij.vcs.gitlab` end \ No newline at end of file +### auto-generated section `test intellij.vcs.gitlab` end \ No newline at end of file diff --git a/plugins/gitlab/gitlab-yaml/BUILD.bazel b/plugins/gitlab/gitlab-yaml/BUILD.bazel index 89e67aa3aa6e..6ff3e64472df 100644 --- a/plugins/gitlab/gitlab-yaml/BUILD.bazel +++ b/plugins/gitlab/gitlab-yaml/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.vcs.gitlab.yaml` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "vcs-gitlab-yaml_resources", @@ -47,9 +46,13 @@ jvm_library( ], runtime_deps = [":vcs-gitlab-yaml_resources"] ) +### auto-generated section `build intellij.vcs.gitlab.yaml` end + +### auto-generated section `test intellij.vcs.gitlab.yaml` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "vcs-gitlab-yaml_test", runtime_deps = [":vcs-gitlab-yaml_test_lib"] ) -### auto-generated section `build intellij.vcs.gitlab.yaml` end \ No newline at end of file +### auto-generated section `test intellij.vcs.gitlab.yaml` end \ No newline at end of file diff --git a/plugins/gradle-maven/BUILD.bazel b/plugins/gradle-maven/BUILD.bazel index 1b9cc297d747..60e32688d0ae 100644 --- a/plugins/gradle-maven/BUILD.bazel +++ b/plugins/gradle-maven/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.gradle.java.maven` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "gradle-java-maven_resources", @@ -53,9 +52,13 @@ jvm_library( ], runtime_deps = [":gradle-java-maven_resources"] ) +### auto-generated section `build intellij.gradle.java.maven` end + +### auto-generated section `test intellij.gradle.java.maven` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "gradle-java-maven_test", runtime_deps = [":gradle-java-maven_test_lib"] ) -### auto-generated section `build intellij.gradle.java.maven` end \ No newline at end of file +### auto-generated section `test intellij.gradle.java.maven` end \ No newline at end of file diff --git a/plugins/gradle/BUILD.bazel b/plugins/gradle/BUILD.bazel index 51d21433887f..4d6f69a09676 100644 --- a/plugins/gradle/BUILD.bazel +++ b/plugins/gradle/BUILD.bazel @@ -87,8 +87,6 @@ jvm_library( ### auto-generated section `build intellij.gradle` end ### auto-generated section `build intellij.gradle.common` start -load("@rules_jvm//:jvm.bzl", "jvm_library") - jvm_library( name = "gradle-common", visibility = ["//visibility:public"], @@ -99,9 +97,6 @@ jvm_library( ### auto-generated section `build intellij.gradle.common` end ### auto-generated section `build intellij.gradle.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") - jvm_resources( name = "gradle-tests_test_resources", files = glob(["testData/**/*"]), @@ -180,9 +175,13 @@ jvm_library( "//platform/execution.dashboard", ] ) +### auto-generated section `build intellij.gradle.tests` end + +### auto-generated section `test intellij.gradle.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "gradle-tests_test", runtime_deps = [":gradle-tests_test_lib"] ) -### auto-generated section `build intellij.gradle.tests` end \ No newline at end of file +### auto-generated section `test intellij.gradle.tests` end \ No newline at end of file diff --git a/plugins/gradle/gradle-declarative-sync/BUILD.bazel b/plugins/gradle/gradle-declarative-sync/BUILD.bazel index dd9bae4e100b..e5e08c97502a 100644 --- a/plugins/gradle/gradle-declarative-sync/BUILD.bazel +++ b/plugins/gradle/gradle-declarative-sync/BUILD.bazel @@ -33,9 +33,6 @@ jvm_library( ### auto-generated section `build intellij.gradle.declarativeSync` end ### auto-generated section `build intellij.gradle.declarativeSync.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "declarativeSync-tests_test_lib", visibility = ["//visibility:public"], @@ -64,9 +61,13 @@ jvm_library( "//platform/workspace/jps", ] ) +### auto-generated section `build intellij.gradle.declarativeSync.tests` end + +### auto-generated section `test intellij.gradle.declarativeSync.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "declarativeSync-tests_test", runtime_deps = [":declarativeSync-tests_test_lib"] ) -### auto-generated section `build intellij.gradle.declarativeSync.tests` end \ No newline at end of file +### auto-generated section `test intellij.gradle.declarativeSync.tests` end \ No newline at end of file diff --git a/plugins/gradle/java/BUILD.bazel b/plugins/gradle/java/BUILD.bazel index 5736aa45e0d7..ac4f2cd708f9 100644 --- a/plugins/gradle/java/BUILD.bazel +++ b/plugins/gradle/java/BUILD.bazel @@ -85,9 +85,6 @@ jvm_library( ### auto-generated section `build intellij.gradle.java` end ### auto-generated section `build intellij.gradle.java.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") - jvm_resources( name = "java-tests_test_resources", files = glob(["testData/**/*"]), @@ -168,9 +165,13 @@ jvm_library( ], runtime_deps = [":java-tests_test_resources"] ) +### auto-generated section `build intellij.gradle.java.tests` end + +### auto-generated section `test intellij.gradle.java.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "java-tests_test", runtime_deps = [":java-tests_test_lib"] ) -### auto-generated section `build intellij.gradle.java.tests` end \ No newline at end of file +### auto-generated section `test intellij.gradle.java.tests` end \ No newline at end of file diff --git a/plugins/gradle/jps-plugin/BUILD.bazel b/plugins/gradle/jps-plugin/BUILD.bazel index b1e8446bbab3..80195c25f5f8 100644 --- a/plugins/gradle/jps-plugin/BUILD.bazel +++ b/plugins/gradle/jps-plugin/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.gradle.jps` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "jps_resources", @@ -57,9 +56,13 @@ jvm_library( ], runtime_deps = [":jps_resources"] ) +### auto-generated section `build intellij.gradle.jps` end + +### auto-generated section `test intellij.gradle.jps` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "jps_test", runtime_deps = [":jps_test_lib"] ) -### auto-generated section `build intellij.gradle.jps` end \ No newline at end of file +### auto-generated section `test intellij.gradle.jps` end \ No newline at end of file diff --git a/plugins/gradle/native/tooling/BUILD.bazel b/plugins/gradle/native/tooling/BUILD.bazel index 3a49408f9be6..00e19944a9a4 100644 --- a/plugins/gradle/native/tooling/BUILD.bazel +++ b/plugins/gradle/native/tooling/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_tooling", jvm_target = 8, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -19,7 +19,7 @@ jvm_library( module_name = "intellij.gradle.native.tooling", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_tooling", deps = [ "@lib//:jetbrains-annotations", "//plugins/gradle/tooling-extension-api:toolingExtension", @@ -33,9 +33,6 @@ jvm_library( ### auto-generated section `build intellij.gradle.native.tooling` end ### auto-generated section `build intellij.gradle.native.tooling.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "gradle-native-tooling-tests_test_lib", visibility = ["//visibility:public"], @@ -50,9 +47,13 @@ jvm_library( "//plugins/gradle/tooling-extension-api:toolingExtension", ] ) +### auto-generated section `build intellij.gradle.native.tooling.tests` end + +### auto-generated section `test intellij.gradle.native.tooling.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "gradle-native-tooling-tests_test", runtime_deps = [":gradle-native-tooling-tests_test_lib"] ) -### auto-generated section `build intellij.gradle.native.tooling.tests` end \ No newline at end of file +### auto-generated section `test intellij.gradle.native.tooling.tests` end \ No newline at end of file diff --git a/plugins/gradle/tooling-extension-impl/BUILD.bazel b/plugins/gradle/tooling-extension-impl/BUILD.bazel index c902a1ac8165..1967dbd4fb27 100644 --- a/plugins/gradle/tooling-extension-impl/BUILD.bazel +++ b/plugins/gradle/tooling-extension-impl/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_toolingExtension-impl", jvm_target = 8, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -19,7 +19,7 @@ jvm_library( module_name = "intellij.gradle.toolingExtension.impl", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_toolingExtension-impl", deps = [ "@lib//:jetbrains-annotations", "//platform/external-system-rt:externalSystem-rt", @@ -48,9 +48,6 @@ jvm_library( ### auto-generated section `build intellij.gradle.toolingExtension.impl` end ### auto-generated section `build intellij.gradle.toolingExtension.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") - jvm_resources( name = "toolingExtension-tests_test_resources", files = glob(["testResources/**/*"]), @@ -91,9 +88,13 @@ jvm_library( ], runtime_deps = [":toolingExtension-tests_test_resources"] ) +### auto-generated section `build intellij.gradle.toolingExtension.tests` end + +### auto-generated section `test intellij.gradle.toolingExtension.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "toolingExtension-tests_test", runtime_deps = [":toolingExtension-tests_test_lib"] ) -### auto-generated section `build intellij.gradle.toolingExtension.tests` end \ No newline at end of file +### auto-generated section `test intellij.gradle.toolingExtension.tests` end \ No newline at end of file diff --git a/plugins/grazie/src/test/BUILD.bazel b/plugins/grazie/src/test/BUILD.bazel index 5689fba6479c..b16648fd5b19 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "grazie-tests_test_resources", @@ -64,9 +63,13 @@ jvm_library( ], runtime_deps = [":grazie-tests_test_resources"] ) +### auto-generated section `build intellij.grazie.tests` end + +### auto-generated section `test intellij.grazie.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "grazie-tests_test", runtime_deps = [":grazie-tests_test_lib"] ) -### auto-generated section `build intellij.grazie.tests` end \ No newline at end of file +### auto-generated section `test intellij.grazie.tests` end \ No newline at end of file diff --git a/plugins/groovy/BUILD.bazel b/plugins/groovy/BUILD.bazel index e8c89fb02bc0..aea6dfcccafd 100644 --- a/plugins/groovy/BUILD.bazel +++ b/plugins/groovy/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.groovy` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources") jvm_resources( name = "groovy_resources", @@ -181,9 +180,13 @@ jvm_library( ], runtime_deps = [":groovy_resources"] ) +### auto-generated section `build intellij.groovy` end + +### auto-generated section `test intellij.groovy` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "groovy_test", runtime_deps = [":groovy_test_lib"] ) -### auto-generated section `build intellij.groovy` end \ No newline at end of file +### auto-generated section `test intellij.groovy` end \ No newline at end of file diff --git a/plugins/groovy/groovy-uast-tests/BUILD.bazel b/plugins/groovy/groovy-uast-tests/BUILD.bazel index 767caa5cf190..5b0cafa0b1aa 100644 --- a/plugins/groovy/groovy-uast-tests/BUILD.bazel +++ b/plugins/groovy/groovy-uast-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.groovy.uast.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "uast-tests", @@ -23,9 +22,13 @@ jvm_library( "//java/testFramework", ] ) +### auto-generated section `build intellij.groovy.uast.tests` end + +### auto-generated section `test intellij.groovy.uast.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "uast-tests_test", runtime_deps = [":uast-tests_test_lib"] ) -### auto-generated section `build intellij.groovy.uast.tests` end \ No newline at end of file +### auto-generated section `test intellij.groovy.uast.tests` end \ No newline at end of file diff --git a/plugins/groovy/jps-plugin/BUILD.bazel b/plugins/groovy/jps-plugin/BUILD.bazel index caaccc3d18ec..bb3296d4c39a 100644 --- a/plugins/groovy/jps-plugin/BUILD.bazel +++ b/plugins/groovy/jps-plugin/BUILD.bazel @@ -34,9 +34,6 @@ jvm_library( ### auto-generated section `build intellij.groovy.jps` end ### auto-generated section `build intellij.groovy.jps.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "jps-tests", visibility = ["//visibility:public"], @@ -55,9 +52,13 @@ jvm_library( "//platform/testFramework:testFramework_test_lib", ] ) +### auto-generated section `build intellij.groovy.jps.tests` end + +### auto-generated section `test intellij.groovy.jps.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "jps-tests_test", runtime_deps = [":jps-tests_test_lib"] ) -### auto-generated section `build intellij.groovy.jps.tests` end \ No newline at end of file +### auto-generated section `test intellij.groovy.jps.tests` end \ No newline at end of file diff --git a/plugins/groovy/structuralsearch-groovy/BUILD.bazel b/plugins/groovy/structuralsearch-groovy/BUILD.bazel index 85a919019ec9..4d12893b8701 100644 --- a/plugins/groovy/structuralsearch-groovy/BUILD.bazel +++ b/plugins/groovy/structuralsearch-groovy/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.groovy.structuralSearch` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "structuralSearch_resources", @@ -50,9 +49,13 @@ jvm_library( ], runtime_deps = [":structuralSearch_resources"] ) +### auto-generated section `build intellij.groovy.structuralSearch` end + +### auto-generated section `test intellij.groovy.structuralSearch` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "structuralSearch_test", runtime_deps = [":structuralSearch_test_lib"] ) -### auto-generated section `build intellij.groovy.structuralSearch` end \ No newline at end of file +### auto-generated section `test intellij.groovy.structuralSearch` end \ No newline at end of file diff --git a/plugins/hg4idea/BUILD.bazel b/plugins/hg4idea/BUILD.bazel index 854cf89e1235..b4c461b763c9 100644 --- a/plugins/hg4idea/BUILD.bazel +++ b/plugins/hg4idea/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.vcs.hg` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "vcs-hg_resources", @@ -82,9 +81,13 @@ jvm_library( ], runtime_deps = [":vcs-hg_resources"] ) +### auto-generated section `build intellij.vcs.hg` end + +### auto-generated section `test intellij.vcs.hg` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "vcs-hg_test", runtime_deps = [":vcs-hg_test_lib"] ) -### auto-generated section `build intellij.vcs.hg` end \ No newline at end of file +### auto-generated section `test intellij.vcs.hg` end \ No newline at end of file diff --git a/plugins/htmltools/BUILD.bazel b/plugins/htmltools/BUILD.bazel index b28e261f5b41..20e36d13289b 100644 --- a/plugins/htmltools/BUILD.bazel +++ b/plugins/htmltools/BUILD.bazel @@ -33,9 +33,6 @@ jvm_library( ### auto-generated section `build intellij.html.tools` end ### auto-generated section `build intellij.html.tools.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "html-tools-tests", visibility = ["//visibility:public"], @@ -69,9 +66,13 @@ jvm_library( "//platform/refactoring", ] ) +### auto-generated section `build intellij.html.tools.tests` end + +### auto-generated section `test intellij.html.tools.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "html-tools-tests_test", runtime_deps = [":html-tools-tests_test_lib"] ) -### auto-generated section `build intellij.html.tools.tests` end \ No newline at end of file +### auto-generated section `test intellij.html.tools.tests` end \ No newline at end of file diff --git a/plugins/ide-features-trainer/BUILD.bazel b/plugins/ide-features-trainer/BUILD.bazel index e5d56151cd82..e396cc645317 100644 --- a/plugins/ide-features-trainer/BUILD.bazel +++ b/plugins/ide-features-trainer/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.featuresTrainer` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "featuresTrainer_resources", @@ -108,9 +107,13 @@ jvm_library( ], runtime_deps = [":featuresTrainer_resources"] ) +### auto-generated section `build intellij.featuresTrainer` end + +### auto-generated section `test intellij.featuresTrainer` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "featuresTrainer_test", runtime_deps = [":featuresTrainer_test_lib"] ) -### auto-generated section `build intellij.featuresTrainer` end \ No newline at end of file +### auto-generated section `test intellij.featuresTrainer` end \ No newline at end of file diff --git a/plugins/ide-startup/importSettings/BUILD.bazel b/plugins/ide-startup/importSettings/BUILD.bazel index de08ebdbd005..9377ee5dacee 100644 --- a/plugins/ide-startup/importSettings/BUILD.bazel +++ b/plugins/ide-startup/importSettings/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.ide.startup.importSettings` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "importSettings_resources", @@ -99,9 +98,13 @@ jvm_library( ], runtime_deps = [":importSettings_resources"] ) +### auto-generated section `build intellij.ide.startup.importSettings` end + +### auto-generated section `test intellij.ide.startup.importSettings` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "importSettings_test", runtime_deps = [":importSettings_test_lib"] ) -### auto-generated section `build intellij.ide.startup.importSettings` end \ No newline at end of file +### auto-generated section `test intellij.ide.startup.importSettings` end \ No newline at end of file diff --git a/plugins/java-decompiler/engine/BUILD.bazel b/plugins/java-decompiler/engine/BUILD.bazel index 7a1002bf17b3..5ef1071430c8 100644 --- a/plugins/java-decompiler/engine/BUILD.bazel +++ b/plugins/java-decompiler/engine/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.decompiler.engine` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "engine_resources", @@ -29,9 +28,13 @@ jvm_library( ], runtime_deps = [":engine_resources"] ) +### auto-generated section `build intellij.java.decompiler.engine` end + +### auto-generated section `test intellij.java.decompiler.engine` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "engine_test", runtime_deps = [":engine_test_lib"] ) -### auto-generated section `build intellij.java.decompiler.engine` end \ No newline at end of file +### auto-generated section `test intellij.java.decompiler.engine` end \ No newline at end of file diff --git a/plugins/java-decompiler/plugin/BUILD.bazel b/plugins/java-decompiler/plugin/BUILD.bazel index 5417d8120594..18d410ffc2cf 100644 --- a/plugins/java-decompiler/plugin/BUILD.bazel +++ b/plugins/java-decompiler/plugin/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.decompiler` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "java-decompiler_resources", @@ -65,9 +64,13 @@ jvm_library( ], runtime_deps = [":java-decompiler_resources"] ) +### auto-generated section `build intellij.java.decompiler` end + +### auto-generated section `test intellij.java.decompiler` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "java-decompiler_test", runtime_deps = [":java-decompiler_test_lib"] ) -### auto-generated section `build intellij.java.decompiler` end \ No newline at end of file +### auto-generated section `test intellij.java.decompiler` end \ No newline at end of file diff --git a/plugins/java-i18n/BUILD.bazel b/plugins/java-i18n/BUILD.bazel index c0f464bde54e..526c3de37b30 100644 --- a/plugins/java-i18n/BUILD.bazel +++ b/plugins/java-i18n/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.i18n` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "java-i18n_resources", @@ -106,9 +105,13 @@ jvm_library( ], runtime_deps = [":java-i18n_resources"] ) +### auto-generated section `build intellij.java.i18n` end + +### auto-generated section `test intellij.java.i18n` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "java-i18n_test", runtime_deps = [":java-i18n_test_lib"] ) -### auto-generated section `build intellij.java.i18n` end \ No newline at end of file +### auto-generated section `test intellij.java.i18n` end \ No newline at end of file diff --git a/plugins/javaFX/BUILD.bazel b/plugins/javaFX/BUILD.bazel index 0244b955431a..0b234e72531a 100644 --- a/plugins/javaFX/BUILD.bazel +++ b/plugins/javaFX/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.javaFX` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "javaFX_resources", @@ -106,16 +105,18 @@ jvm_library( ], runtime_deps = [":javaFX_resources"] ) +### auto-generated section `build intellij.javaFX` end + +### auto-generated section `test intellij.javaFX` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "javaFX_test", runtime_deps = [":javaFX_test_lib"] ) -### auto-generated section `build intellij.javaFX` end +### auto-generated section `test intellij.javaFX` end ### auto-generated section `build intellij.javaFX.properties` start -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") - jvm_resources( name = "javaFX-properties_resources", files = glob(["properties/resources/**/*"]), diff --git a/plugins/javaFX/community/BUILD.bazel b/plugins/javaFX/community/BUILD.bazel index 2bd1d6c3a81d..058d27eb0cfa 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "community_resources", @@ -50,9 +49,13 @@ jvm_library( ], runtime_deps = [":community_resources"] ) +### auto-generated section `build intellij.javaFX.community` end + +### auto-generated section `test intellij.javaFX.community` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "community_test", runtime_deps = [":community_test_lib"] ) -### auto-generated section `build intellij.javaFX.community` end \ No newline at end of file +### auto-generated section `test intellij.javaFX.community` end \ No newline at end of file diff --git a/plugins/jsonpath/BUILD.bazel b/plugins/jsonpath/BUILD.bazel index b4202cdab661..f1b98e6492d6 100644 --- a/plugins/jsonpath/BUILD.bazel +++ b/plugins/jsonpath/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.jsonpath` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "jsonpath_resources", @@ -62,9 +61,13 @@ jvm_library( ], runtime_deps = [":jsonpath_resources"] ) +### auto-generated section `build intellij.jsonpath` end + +### auto-generated section `test intellij.jsonpath` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "jsonpath_test", runtime_deps = [":jsonpath_test_lib"] ) -### auto-generated section `build intellij.jsonpath` end \ No newline at end of file +### auto-generated section `test intellij.jsonpath` end \ No newline at end of file diff --git a/plugins/junit/groovy-tests/BUILD.bazel b/plugins/junit/groovy-tests/BUILD.bazel index a045b0f42ee5..e91ec9b006cc 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "groovy-tests_test_lib", @@ -19,9 +18,13 @@ jvm_library( "//plugins/junit/testFramework", ] ) +### auto-generated section `build intellij.junit.groovy.tests` end + +### auto-generated section `test intellij.junit.groovy.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "groovy-tests_test", runtime_deps = [":groovy-tests_test_lib"] ) -### auto-generated section `build intellij.junit.groovy.tests` end \ No newline at end of file +### auto-generated section `test intellij.junit.groovy.tests` end \ No newline at end of file diff --git a/plugins/junit/java-tests/BUILD.bazel b/plugins/junit/java-tests/BUILD.bazel index dc8a0dd7eace..cb5b46b05016 100644 --- a/plugins/junit/java-tests/BUILD.bazel +++ b/plugins/junit/java-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.junit.java.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "java-tests", @@ -44,9 +43,13 @@ jvm_library( "//java/java-impl-refactorings:impl-refactorings", ] ) +### auto-generated section `build intellij.junit.java.tests` end + +### auto-generated section `test intellij.junit.java.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "java-tests_test", runtime_deps = [":java-tests_test_lib"] ) -### auto-generated section `build intellij.junit.java.tests` end \ No newline at end of file +### auto-generated section `test intellij.junit.java.tests` end \ No newline at end of file diff --git a/plugins/junit/kotlin-tests-k1/BUILD.bazel b/plugins/junit/kotlin-tests-k1/BUILD.bazel index 224beb2d89f9..eff84f328617 100644 --- a/plugins/junit/kotlin-tests-k1/BUILD.bazel +++ b/plugins/junit/kotlin-tests-k1/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.junit.kotlin.tests.k1` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "kotlin-tests-k1", @@ -24,9 +23,13 @@ jvm_library( ], runtime_deps = ["//plugins/kotlin/plugin/k1"] ) +### auto-generated section `build intellij.junit.kotlin.tests.k1` end + +### auto-generated section `test intellij.junit.kotlin.tests.k1` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-tests-k1_test", runtime_deps = [":kotlin-tests-k1_test_lib"] ) -### auto-generated section `build intellij.junit.kotlin.tests.k1` end \ No newline at end of file +### auto-generated section `test intellij.junit.kotlin.tests.k1` end \ No newline at end of file diff --git a/plugins/junit/kotlin-tests-k2/BUILD.bazel b/plugins/junit/kotlin-tests-k2/BUILD.bazel index 1d65383d2856..96e89c1cb29e 100644 --- a/plugins/junit/kotlin-tests-k2/BUILD.bazel +++ b/plugins/junit/kotlin-tests-k2/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.junit.kotlin.tests.k2` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "kotlin-tests-k2", @@ -24,9 +23,13 @@ jvm_library( ], runtime_deps = ["//plugins/kotlin/plugin/k2"] ) +### auto-generated section `build intellij.junit.kotlin.tests.k2` end + +### auto-generated section `test intellij.junit.kotlin.tests.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-tests-k2_test", runtime_deps = [":kotlin-tests-k2_test_lib"] ) -### auto-generated section `build intellij.junit.kotlin.tests.k2` end \ No newline at end of file +### auto-generated section `test intellij.junit.kotlin.tests.k2` end \ No newline at end of file diff --git a/plugins/junit/kotlin-tests-shared/BUILD.bazel b/plugins/junit/kotlin-tests-shared/BUILD.bazel index abd85a0e3340..0bff53f68c49 100644 --- a/plugins/junit/kotlin-tests-shared/BUILD.bazel +++ b/plugins/junit/kotlin-tests-shared/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.junit.kotlin.tests.shared` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "kotlin-tests-shared", @@ -31,9 +30,13 @@ jvm_library( "//plugins/junit/java-tests:java-tests_test_lib", ] ) +### auto-generated section `build intellij.junit.kotlin.tests.shared` end + +### auto-generated section `test intellij.junit.kotlin.tests.shared` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-tests-shared_test", runtime_deps = [":kotlin-tests-shared_test_lib"] ) -### auto-generated section `build intellij.junit.kotlin.tests.shared` end \ No newline at end of file +### auto-generated section `test intellij.junit.kotlin.tests.shared` end \ No newline at end of file diff --git a/plugins/junit5_rt_tests/BUILD.bazel b/plugins/junit5_rt_tests/BUILD.bazel index 6eb38edc35c2..17a4f6f908cd 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "junit-v5-rt-tests", @@ -44,9 +43,13 @@ jvm_library( "//platform/testFramework/junit5:junit5_test_lib", ] ) +### auto-generated section `build intellij.junit.v5.rt.tests` end + +### auto-generated section `test intellij.junit.v5.rt.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "junit-v5-rt-tests_test", runtime_deps = [":junit-v5-rt-tests_test_lib"] ) -### auto-generated section `build intellij.junit.v5.rt.tests` end \ No newline at end of file +### auto-generated section `test intellij.junit.v5.rt.tests` end \ No newline at end of file diff --git a/plugins/kotlin/base/analysis-api-platform/BUILD.bazel b/plugins/kotlin/base/analysis-api-platform/BUILD.bazel index 0b21ffc3f7ef..d95470dedec6 100644 --- a/plugins/kotlin/base/analysis-api-platform/BUILD.bazel +++ b/plugins/kotlin/base/analysis-api-platform/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_analysis-api-platform", opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", "org.jetbrains.kotlin.analysis.api.KaExperimentalApi", @@ -22,7 +22,7 @@ jvm_library( module_name = "kotlin.base.analysis-api-platform", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_analysis-api-platform", deps = [ "@lib//:kotlin-stdlib", "@lib//:caffeine", 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 c5773f9a64c8..c680729e6914 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,10 +1,9 @@ ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-base-analysis-analysis-api-k2-tests", context_receivers = True ) @@ -18,7 +17,7 @@ jvm_library( name = "kotlin-base-analysis-analysis-api-k2-tests_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-base-analysis-analysis-api-k2-tests", deps = [ "@lib//:kotlin-stdlib", "//platform/core-api:core", @@ -42,9 +41,13 @@ jvm_library( "@lib//:kotlinc-kotlin-compiler-common", ] ) +### auto-generated section `build kotlin.base.analysis.analysis-api.k2.tests` end + +### auto-generated section `test kotlin.base.analysis.analysis-api.k2.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-base-analysis-analysis-api-k2-tests_test", runtime_deps = [":kotlin-base-analysis-analysis-api-k2-tests_test_lib"] ) -### auto-generated section `build kotlin.base.analysis.analysis-api.k2.tests` end \ No newline at end of file +### auto-generated section `test kotlin.base.analysis.analysis-api.k2.tests` end \ No newline at end of file diff --git a/plugins/kotlin/base/analysis-api/analysis-api-utils/BUILD.bazel b/plugins/kotlin/base/analysis-api/analysis-api-utils/BUILD.bazel index 689be6eb779b..de02269b2410 100644 --- a/plugins/kotlin/base/analysis-api/analysis-api-utils/BUILD.bazel +++ b/plugins/kotlin/base/analysis-api/analysis-api-utils/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-base-analysis-api-utils", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction", @@ -16,7 +16,7 @@ jvm_library( module_name = "kotlin.base.analysis-api.utils", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-base-analysis-api-utils", deps = [ "@lib//:kotlin-stdlib", "//java/java-indexing-api:indexing", diff --git a/plugins/kotlin/base/analysis/BUILD.bazel b/plugins/kotlin/base/analysis/BUILD.bazel index e17966ef9d40..d3a3eabbb883 100644 --- a/plugins/kotlin/base/analysis/BUILD.bazel +++ b/plugins/kotlin/base/analysis/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_analysis", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -22,7 +22,7 @@ jvm_library( module_name = "kotlin.base.analysis", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_analysis", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/base/analysis/tests/BUILD.bazel b/plugins/kotlin/base/analysis/tests/BUILD.bazel index 64de057205b4..601d63ad3df4 100644 --- a/plugins/kotlin/base/analysis/tests/BUILD.bazel +++ b/plugins/kotlin/base/analysis/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.base.analysis.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -36,9 +35,13 @@ jvm_library( "@lib//:junit4", ] ) +### auto-generated section `build kotlin.base.analysis.tests` end + +### auto-generated section `test kotlin.base.analysis.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.base.analysis.tests` end \ No newline at end of file +### auto-generated section `test kotlin.base.analysis.tests` end \ No newline at end of file diff --git a/plugins/kotlin/base/code-insight/BUILD.bazel b/plugins/kotlin/base/code-insight/BUILD.bazel index d0dcc6eae37a..9d200d0f5dc7 100644 --- a/plugins/kotlin/base/code-insight/BUILD.bazel +++ b/plugins/kotlin/base/code-insight/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.base.code-insight` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_code-insight", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -24,7 +23,7 @@ jvm_library( module_name = "kotlin.base.code-insight", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_code-insight", deps = [ "@lib//:jetbrains-annotations", "@lib//:kotlin-stdlib", @@ -70,7 +69,7 @@ jvm_library( name = "code-insight_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_code-insight", associates = [":code-insight"], deps = [ "@lib//:jetbrains-annotations", @@ -121,9 +120,13 @@ jvm_library( ], runtime_deps = [":code-insight_resources"] ) +### auto-generated section `build kotlin.base.code-insight` end + +### auto-generated section `test kotlin.base.code-insight` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "code-insight_test", runtime_deps = [":code-insight_test_lib"] ) -### auto-generated section `build kotlin.base.code-insight` end \ No newline at end of file +### auto-generated section `test kotlin.base.code-insight` end \ No newline at end of file diff --git a/plugins/kotlin/base/facet/tests/BUILD.bazel b/plugins/kotlin/base/facet/tests/BUILD.bazel index f72edc877c1d..1f4c69f3c6a0 100644 --- a/plugins/kotlin/base/facet/tests/BUILD.bazel +++ b/plugins/kotlin/base/facet/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.base.facet.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -51,9 +50,13 @@ jvm_library( ], runtime_deps = ["//plugins/kotlin/compiler-plugins/kotlinx-serialization/common"] ) +### auto-generated section `build kotlin.base.facet.tests` end + +### auto-generated section `test kotlin.base.facet.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.base.facet.tests` end \ No newline at end of file +### auto-generated section `test kotlin.base.facet.tests` end \ No newline at end of file diff --git a/plugins/kotlin/base/fe10/analysis-api-platform/BUILD.bazel b/plugins/kotlin/base/fe10/analysis-api-platform/BUILD.bazel index 9be243e39e7c..e1233a933294 100644 --- a/plugins/kotlin/base/fe10/analysis-api-platform/BUILD.bazel +++ b/plugins/kotlin/base/fe10/analysis-api-platform/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_analysis-api-platform", opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", "org.jetbrains.kotlin.analysis.api.KaExperimentalApi", @@ -23,7 +23,7 @@ jvm_library( module_name = "kotlin.base.fe10.analysis-api-platform", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_analysis-api-platform", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/base/fe10/analysis/BUILD.bazel b/plugins/kotlin/base/fe10/analysis/BUILD.bazel index dbbd506c7c4b..412caef783f7 100644 --- a/plugins/kotlin/base/fe10/analysis/BUILD.bazel +++ b/plugins/kotlin/base/fe10/analysis/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_analysis", opt_in = [ "org.jetbrains.kotlin.idea.base.util.K1ModeProjectStructureApi", "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -15,7 +15,7 @@ jvm_library( module_name = "kotlin.base.fe10.analysis", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_analysis", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/base/fe10/code-insight/BUILD.bazel b/plugins/kotlin/base/fe10/code-insight/BUILD.bazel index 03cd295176f9..e28b7787fb44 100644 --- a/plugins/kotlin/base/fe10/code-insight/BUILD.bazel +++ b/plugins/kotlin/base/fe10/code-insight/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_code-insight", opt_in = [ "org.jetbrains.kotlin.analysis.api.KaIdeApi", "org.jetbrains.kotlin.analysis.api.KaNonPublicApi", @@ -22,7 +22,7 @@ jvm_library( module_name = "kotlin.base.fe10.code-insight", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_code-insight", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/base/fe10/obsolete-compat/BUILD.bazel b/plugins/kotlin/base/fe10/obsolete-compat/BUILD.bazel index 2ade48555d2b..f2806af7b24c 100644 --- a/plugins/kotlin/base/fe10/obsolete-compat/BUILD.bazel +++ b/plugins/kotlin/base/fe10/obsolete-compat/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_obsolete-compat", opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", "org.jetbrains.kotlin.analysis.api.KaIdeApi", @@ -17,7 +17,7 @@ jvm_library( module_name = "kotlin.base.fe10.obsolete-compat", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_obsolete-compat", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/base/fe10/project-structure/BUILD.bazel b/plugins/kotlin/base/fe10/project-structure/BUILD.bazel index b3920379a812..219713190758 100644 --- a/plugins/kotlin/base/fe10/project-structure/BUILD.bazel +++ b/plugins/kotlin/base/fe10/project-structure/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_project-structure", context_receivers = True, opt_in = ["org.jetbrains.kotlin.idea.base.util.K1ModeProjectStructureApi"] ) @@ -19,7 +19,7 @@ jvm_library( module_name = "kotlin.base.fe10.project-structure", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_project-structure", deps = [ "@lib//:kotlin-stdlib", "//platform/core-api:core", diff --git a/plugins/kotlin/base/fir/analysis-api-platform/BUILD.bazel b/plugins/kotlin/base/fir/analysis-api-platform/BUILD.bazel index c71945b753ac..5270a2e1a221 100644 --- a/plugins/kotlin/base/fir/analysis-api-platform/BUILD.bazel +++ b/plugins/kotlin/base/fir/analysis-api-platform/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.base.fir.analysis-api-platform` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_analysis-api-platform", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction", @@ -23,7 +22,7 @@ jvm_library( module_name = "kotlin.base.fir.analysis-api-platform", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_analysis-api-platform", deps = [ "//platform/analysis-api:analysis", "//platform/core-api:core", @@ -63,7 +62,7 @@ jvm_library( name = "analysis-api-platform_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_analysis-api-platform", associates = [":analysis-api-platform"], deps = [ "//platform/analysis-api:analysis", @@ -121,9 +120,13 @@ jvm_library( ], runtime_deps = [":analysis-api-platform_resources"] ) +### auto-generated section `build kotlin.base.fir.analysis-api-platform` end + +### auto-generated section `test kotlin.base.fir.analysis-api-platform` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "analysis-api-platform_test", runtime_deps = [":analysis-api-platform_test_lib"] ) -### auto-generated section `build kotlin.base.fir.analysis-api-platform` end \ No newline at end of file +### auto-generated section `test kotlin.base.fir.analysis-api-platform` end \ No newline at end of file diff --git a/plugins/kotlin/base/fir/code-insight/BUILD.bazel b/plugins/kotlin/base/fir/code-insight/BUILD.bazel index 191ac7ae23e6..545ebb8187d3 100644 --- a/plugins/kotlin/base/fir/code-insight/BUILD.bazel +++ b/plugins/kotlin/base/fir/code-insight/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_code-insight", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -24,7 +24,7 @@ jvm_library( module_name = "kotlin.base.fir.code-insight", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_code-insight", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/base/fir/project-structure/BUILD.bazel b/plugins/kotlin/base/fir/project-structure/BUILD.bazel index 2e3bab93777c..e75a82c69711 100644 --- a/plugins/kotlin/base/fir/project-structure/BUILD.bazel +++ b/plugins/kotlin/base/fir/project-structure/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.base.fir.project-structure` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_project-structure", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.analysis.api.KaPlatformInterface", @@ -24,7 +23,7 @@ jvm_library( module_name = "kotlin.base.fir.project-structure", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_project-structure", deps = [ "@lib//:kotlin-stdlib", "//platform/lang-core", @@ -54,7 +53,7 @@ jvm_library( name = "project-structure_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_project-structure", associates = [":project-structure"], deps = [ "@lib//:kotlin-stdlib", @@ -105,9 +104,13 @@ jvm_library( ], runtime_deps = [":project-structure_resources"] ) +### auto-generated section `build kotlin.base.fir.project-structure` end + +### auto-generated section `test kotlin.base.fir.project-structure` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "project-structure_test", runtime_deps = [":project-structure_test_lib"] ) -### auto-generated section `build kotlin.base.fir.project-structure` end \ No newline at end of file +### auto-generated section `test kotlin.base.fir.project-structure` end \ No newline at end of file diff --git a/plugins/kotlin/base/fir/scripting/BUILD.bazel b/plugins/kotlin/base/fir/scripting/BUILD.bazel index 07205ce2ebb0..2d4e8961eabc 100644 --- a/plugins/kotlin/base/fir/scripting/BUILD.bazel +++ b/plugins/kotlin/base/fir/scripting/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_scripting", opt_in = [ "org.jetbrains.kotlin.analysis.api.KaExperimentalApi", "org.jetbrains.kotlin.analysis.api.KaPlatformInterface", @@ -21,7 +21,7 @@ jvm_library( module_name = "kotlin.base.fir.scripting", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_scripting", deps = [ "@lib//:kotlin-stdlib", "//platform/projectModel-api:projectModel", diff --git a/plugins/kotlin/base/indices/tests/BUILD.bazel b/plugins/kotlin/base/indices/tests/BUILD.bazel index c21ed28c97ca..f3a8ff49b4de 100644 --- a/plugins/kotlin/base/indices/tests/BUILD.bazel +++ b/plugins/kotlin/base/indices/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.base.indices.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -28,9 +27,13 @@ jvm_library( "//plugins/kotlin/base/indices", ] ) +### auto-generated section `build kotlin.base.indices.tests` end + +### auto-generated section `test kotlin.base.indices.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.base.indices.tests` end \ No newline at end of file +### auto-generated section `test kotlin.base.indices.tests` end \ No newline at end of file diff --git a/plugins/kotlin/base/kotlin.base.serialization/BUILD.bazel b/plugins/kotlin/base/kotlin.base.serialization/BUILD.bazel index a063c79d9123..3faef4001213 100644 --- a/plugins/kotlin/base/kotlin.base.serialization/BUILD.bazel +++ b/plugins/kotlin/base/kotlin.base.serialization/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-base-serialization", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction", @@ -16,7 +16,7 @@ jvm_library( module_name = "kotlin.base.serialization", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-base-serialization", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-serialization-core", diff --git a/plugins/kotlin/base/plugin/BUILD.bazel b/plugins/kotlin/base/plugin/BUILD.bazel index b638371d8634..53378709f5a8 100644 --- a/plugins/kotlin/base/plugin/BUILD.bazel +++ b/plugins/kotlin/base/plugin/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.base.plugin` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "plugin_resources", @@ -102,9 +101,13 @@ jvm_library( ":plugin_test_resources", ] ) +### auto-generated section `build kotlin.base.plugin` end + +### auto-generated section `test kotlin.base.plugin` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "plugin_test", runtime_deps = [":plugin_test_lib"] ) -### auto-generated section `build kotlin.base.plugin` end \ No newline at end of file +### auto-generated section `test kotlin.base.plugin` end \ No newline at end of file diff --git a/plugins/kotlin/base/project-structure/BUILD.bazel b/plugins/kotlin/base/project-structure/BUILD.bazel index e6a6c13df98c..3219fce3f5c5 100644 --- a/plugins/kotlin/base/project-structure/BUILD.bazel +++ b/plugins/kotlin/base/project-structure/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.base.project-structure` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_project-structure", opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", "org.jetbrains.kotlin.analysis.api.KaPlatformInterface", @@ -24,7 +23,7 @@ jvm_library( module_name = "kotlin.base.project-structure", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_project-structure", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", @@ -72,7 +71,7 @@ jvm_library( name = "project-structure_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_project-structure", associates = [":project-structure"], deps = [ "@lib//:kotlin-stdlib", @@ -119,9 +118,13 @@ jvm_library( ], runtime_deps = [":project-structure_resources"] ) +### auto-generated section `build kotlin.base.project-structure` end + +### auto-generated section `test kotlin.base.project-structure` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "project-structure_test", runtime_deps = [":project-structure_test_lib"] ) -### auto-generated section `build kotlin.base.project-structure` end \ No newline at end of file +### auto-generated section `test kotlin.base.project-structure` end \ No newline at end of file diff --git a/plugins/kotlin/base/resources/BUILD.bazel b/plugins/kotlin/base/resources/BUILD.bazel index b8a7c8c5a30c..d6ec2b3602d6 100644 --- a/plugins/kotlin/base/resources/BUILD.bazel +++ b/plugins/kotlin/base/resources/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-base-resources", context_receivers = True, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -25,7 +25,7 @@ jvm_library( module_name = "kotlin.base.resources", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-base-resources", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/base/scripting.k1/BUILD.bazel b/plugins/kotlin/base/scripting.k1/BUILD.bazel index 28057c58b965..a8b6083e3680 100644 --- a/plugins/kotlin/base/scripting.k1/BUILD.bazel +++ b/plugins/kotlin/base/scripting.k1/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.base.scripting.k1` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "scripting.k1_resources", @@ -131,9 +130,13 @@ jvm_library( ], runtime_deps = [":scripting.k1_resources"] ) +### auto-generated section `build kotlin.base.scripting.k1` end + +### auto-generated section `test kotlin.base.scripting.k1` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "scripting.k1_test", runtime_deps = [":scripting.k1_test_lib"] ) -### auto-generated section `build kotlin.base.scripting.k1` end \ No newline at end of file +### auto-generated section `test kotlin.base.scripting.k1` end \ No newline at end of file diff --git a/plugins/kotlin/base/scripting/BUILD.bazel b/plugins/kotlin/base/scripting/BUILD.bazel index adc6e744f478..298dcd2f2dd8 100644 --- a/plugins/kotlin/base/scripting/BUILD.bazel +++ b/plugins/kotlin/base/scripting/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.base.scripting` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_scripting", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -23,7 +22,7 @@ jvm_library( module_name = "kotlin.base.scripting", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_scripting", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", @@ -81,7 +80,7 @@ jvm_library( name = "scripting_test_lib", visibility = ["//visibility:public"], srcs = glob(["testGen/**/*.kt", "testGen/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_scripting", associates = [":scripting"], deps = [ "@lib//:kotlin-stdlib", @@ -140,9 +139,13 @@ jvm_library( ], runtime_deps = [":scripting_resources"] ) +### auto-generated section `build kotlin.base.scripting` end + +### auto-generated section `test kotlin.base.scripting` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "scripting_test", runtime_deps = [":scripting_test_lib"] ) -### auto-generated section `build kotlin.base.scripting` end \ No newline at end of file +### auto-generated section `test kotlin.base.scripting` end \ No newline at end of file diff --git a/plugins/kotlin/base/test/BUILD.bazel b/plugins/kotlin/base/test/BUILD.bazel index 1d15115312fa..a95544380978 100644 --- a/plugins/kotlin/base/test/BUILD.bazel +++ b/plugins/kotlin/base/test/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.base.test` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "test", @@ -34,9 +33,13 @@ jvm_library( "@lib//:slf4j-api", ] ) +### auto-generated section `build kotlin.base.test` end + +### auto-generated section `test kotlin.base.test` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "test_test", runtime_deps = [":test_test_lib"] ) -### auto-generated section `build kotlin.base.test` end \ No newline at end of file +### auto-generated section `test kotlin.base.test` end \ No newline at end of file diff --git a/plugins/kotlin/base/util/BUILD.bazel b/plugins/kotlin/base/util/BUILD.bazel index 638dab825dcb..7be4cae1c5fc 100644 --- a/plugins/kotlin/base/util/BUILD.bazel +++ b/plugins/kotlin/base/util/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.base.util` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "util", @@ -68,9 +67,13 @@ jvm_library( "//plugins/kotlin/base/resources:kotlin-base-resources", ] ) +### auto-generated section `build kotlin.base.util` end + +### auto-generated section `test kotlin.base.util` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "util_test", runtime_deps = [":util_test_lib"] ) -### auto-generated section `build kotlin.base.util` end \ No newline at end of file +### auto-generated section `test kotlin.base.util` end \ No newline at end of file diff --git a/plugins/kotlin/code-insight/api/BUILD.bazel b/plugins/kotlin/code-insight/api/BUILD.bazel index 11bb69941879..e061a1b358ee 100644 --- a/plugins/kotlin/code-insight/api/BUILD.bazel +++ b/plugins/kotlin/code-insight/api/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_api", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -16,7 +16,7 @@ jvm_library( module_name = "kotlin.code-insight.api", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_api", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlin-reflect", diff --git a/plugins/kotlin/code-insight/fixes-k2/BUILD.bazel b/plugins/kotlin/code-insight/fixes-k2/BUILD.bazel index 69080ebbfb9d..6b23485d6dd8 100644 --- a/plugins/kotlin/code-insight/fixes-k2/BUILD.bazel +++ b/plugins/kotlin/code-insight/fixes-k2/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-code-insight-fixes-k2", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -23,7 +23,7 @@ jvm_library( module_name = "kotlin.code-insight.fixes.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-fixes-k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/code-insight/fixes-k2/tests/BUILD.bazel b/plugins/kotlin/code-insight/fixes-k2/tests/BUILD.bazel index 560248ec5178..7fcb8f8520c2 100644 --- a/plugins/kotlin/code-insight/fixes-k2/tests/BUILD.bazel +++ b/plugins/kotlin/code-insight/fixes-k2/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.code-insight.fixes.k2.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -34,9 +33,13 @@ jvm_library( "//plugins/kotlin/fir/tests:tests_test_lib", ] ) +### auto-generated section `build kotlin.code-insight.fixes.k2.tests` end + +### auto-generated section `test kotlin.code-insight.fixes.k2.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.code-insight.fixes.k2.tests` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.fixes.k2.tests` end \ No newline at end of file diff --git a/plugins/kotlin/code-insight/impl-base/BUILD.bazel b/plugins/kotlin/code-insight/impl-base/BUILD.bazel index e233f02fab23..9934edf69052 100644 --- a/plugins/kotlin/code-insight/impl-base/BUILD.bazel +++ b/plugins/kotlin/code-insight/impl-base/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_impl-base", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -23,7 +23,7 @@ jvm_library( module_name = "kotlin.code-insight.impl-base", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_impl-base", deps = [ "@lib//:jetbrains-annotations", "@lib//:kotlin-stdlib", diff --git a/plugins/kotlin/code-insight/inspections-k2/BUILD.bazel b/plugins/kotlin/code-insight/inspections-k2/BUILD.bazel index fd63be08a95a..360a5098b9bf 100644 --- a/plugins/kotlin/code-insight/inspections-k2/BUILD.bazel +++ b/plugins/kotlin/code-insight/inspections-k2/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-code-insight-inspections-k2", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction", @@ -23,7 +23,7 @@ jvm_library( module_name = "kotlin.code-insight.inspections.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-inspections-k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlin-reflect", diff --git a/plugins/kotlin/code-insight/inspections-k2/tests/BUILD.bazel b/plugins/kotlin/code-insight/inspections-k2/tests/BUILD.bazel index 299a8f524247..2273f9bfe1ca 100644 --- a/plugins/kotlin/code-insight/inspections-k2/tests/BUILD.bazel +++ b/plugins/kotlin/code-insight/inspections-k2/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.code-insight.inspections.k2.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -62,9 +61,13 @@ jvm_library( "//plugins/kotlin/base/scripting.k2", ] ) +### auto-generated section `build kotlin.code-insight.inspections.k2.tests` end + +### auto-generated section `test kotlin.code-insight.inspections.k2.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.code-insight.inspections.k2.tests` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.inspections.k2.tests` end \ No newline at end of file diff --git a/plugins/kotlin/code-insight/inspections-shared/BUILD.bazel b/plugins/kotlin/code-insight/inspections-shared/BUILD.bazel index 8572d8ec5514..220d9cf9034f 100644 --- a/plugins/kotlin/code-insight/inspections-shared/BUILD.bazel +++ b/plugins/kotlin/code-insight/inspections-shared/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-code-insight-inspections-shared", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -23,7 +23,7 @@ jvm_library( module_name = "kotlin.code-insight.inspections.shared", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-inspections-shared", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlin-reflect", 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 9d71c18b948f..edb8103baf30 100644 --- a/plugins/kotlin/code-insight/inspections-shared/tests/k1/BUILD.bazel +++ b/plugins/kotlin/code-insight/inspections-shared/tests/k1/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.code-insight.inspections-shared.tests.k1` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "k1", @@ -51,9 +50,13 @@ jvm_library( "//plugins/kotlin/code-insight/inspections-k1:kotlin-code-insight-inspections-k1", ] ) +### auto-generated section `build kotlin.code-insight.inspections-shared.tests.k1` end + +### auto-generated section `test kotlin.code-insight.inspections-shared.tests.k1` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "k1_test", runtime_deps = [":k1_test_lib"] ) -### auto-generated section `build kotlin.code-insight.inspections-shared.tests.k1` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.inspections-shared.tests.k1` end \ No newline at end of file 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 a065e4ce5da9..7e87b59529f2 100644 --- a/plugins/kotlin/code-insight/inspections-shared/tests/k2/BUILD.bazel +++ b/plugins/kotlin/code-insight/inspections-shared/tests/k2/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.code-insight.inspections-shared.tests.k2` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "k2", @@ -52,9 +51,13 @@ jvm_library( "//plugins/kotlin/code-insight/fixes-k2:kotlin-code-insight-fixes-k2", ] ) +### auto-generated section `build kotlin.code-insight.inspections-shared.tests.k2` end + +### auto-generated section `test kotlin.code-insight.inspections-shared.tests.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "k2_test", runtime_deps = [":k2_test_lib"] ) -### auto-generated section `build kotlin.code-insight.inspections-shared.tests.k2` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.inspections-shared.tests.k2` end \ No newline at end of file diff --git a/plugins/kotlin/code-insight/intentions-k2/BUILD.bazel b/plugins/kotlin/code-insight/intentions-k2/BUILD.bazel index f46141a7a24f..59a69f3024fe 100644 --- a/plugins/kotlin/code-insight/intentions-k2/BUILD.bazel +++ b/plugins/kotlin/code-insight/intentions-k2/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-code-insight-intentions-k2", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction", @@ -23,7 +23,7 @@ jvm_library( module_name = "kotlin.code-insight.intentions.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-intentions-k2", deps = [ "@lib//:kotlin-stdlib", "//java/java-indexing-api:indexing", diff --git a/plugins/kotlin/code-insight/intentions-k2/tests/BUILD.bazel b/plugins/kotlin/code-insight/intentions-k2/tests/BUILD.bazel index 27c41fdc6860..185c747db21e 100644 --- a/plugins/kotlin/code-insight/intentions-k2/tests/BUILD.bazel +++ b/plugins/kotlin/code-insight/intentions-k2/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.code-insight.intentions.k2.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -46,9 +45,13 @@ jvm_library( "//plugins/kotlin/base/analysis", ] ) +### auto-generated section `build kotlin.code-insight.intentions.k2.tests` end + +### auto-generated section `test kotlin.code-insight.intentions.k2.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.code-insight.intentions.k2.tests` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.intentions.k2.tests` end \ No newline at end of file diff --git a/plugins/kotlin/code-insight/intentions-shared/BUILD.bazel b/plugins/kotlin/code-insight/intentions-shared/BUILD.bazel index 94ec3462eb86..1b966530953f 100644 --- a/plugins/kotlin/code-insight/intentions-shared/BUILD.bazel +++ b/plugins/kotlin/code-insight/intentions-shared/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-code-insight-intentions-shared", context_receivers = True, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -19,7 +19,7 @@ jvm_library( module_name = "kotlin.code-insight.intentions.shared", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-intentions-shared", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlin-reflect", 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 217586636137..f08450abebe6 100644 --- a/plugins/kotlin/code-insight/intentions-shared/tests/k1/BUILD.bazel +++ b/plugins/kotlin/code-insight/intentions-shared/tests/k1/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.code-insight.intentions-shared.tests.k1` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "k1", @@ -44,9 +43,13 @@ jvm_library( "//plugins/kotlin/base/plugin:plugin_test_lib", ] ) +### auto-generated section `build kotlin.code-insight.intentions-shared.tests.k1` end + +### auto-generated section `test kotlin.code-insight.intentions-shared.tests.k1` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "k1_test", runtime_deps = [":k1_test_lib"] ) -### auto-generated section `build kotlin.code-insight.intentions-shared.tests.k1` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.intentions-shared.tests.k1` end \ No newline at end of file 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 1317947245b2..5d937533f838 100644 --- a/plugins/kotlin/code-insight/intentions-shared/tests/k2/BUILD.bazel +++ b/plugins/kotlin/code-insight/intentions-shared/tests/k2/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.code-insight.intentions-shared.tests.k2` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "k2", @@ -45,9 +44,13 @@ jvm_library( "//plugins/kotlin/base/plugin:plugin_test_lib", ] ) +### auto-generated section `build kotlin.code-insight.intentions-shared.tests.k2` end + +### auto-generated section `test kotlin.code-insight.intentions-shared.tests.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "k2_test", runtime_deps = [":k2_test_lib"] ) -### auto-generated section `build kotlin.code-insight.intentions-shared.tests.k2` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.intentions-shared.tests.k2` end \ No newline at end of file diff --git a/plugins/kotlin/code-insight/kotlin.code-insight.k1/BUILD.bazel b/plugins/kotlin/code-insight/kotlin.code-insight.k1/BUILD.bazel index 5dc8e2b51ab0..3a09de956920 100644 --- a/plugins/kotlin/code-insight/kotlin.code-insight.k1/BUILD.bazel +++ b/plugins/kotlin/code-insight/kotlin.code-insight.k1/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.code-insight.k1` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "kotlin-code-insight-k1_resources", @@ -60,9 +59,13 @@ jvm_library( ], runtime_deps = [":kotlin-code-insight-k1_resources"] ) +### auto-generated section `build kotlin.code-insight.k1` end + +### auto-generated section `test kotlin.code-insight.k1` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-code-insight-k1_test", runtime_deps = [":kotlin-code-insight-k1_test_lib"] ) -### auto-generated section `build kotlin.code-insight.k1` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.k1` end \ No newline at end of file diff --git a/plugins/kotlin/code-insight/kotlin.code-insight.k2/BUILD.bazel b/plugins/kotlin/code-insight/kotlin.code-insight.k2/BUILD.bazel index 3d955b721fb0..603e75dea55d 100644 --- a/plugins/kotlin/code-insight/kotlin.code-insight.k2/BUILD.bazel +++ b/plugins/kotlin/code-insight/kotlin.code-insight.k2/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.code-insight.k2` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-code-insight-k2", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction", @@ -23,7 +22,7 @@ jvm_library( module_name = "kotlin.code-insight.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", @@ -89,7 +88,7 @@ jvm_library( name = "kotlin-code-insight-k2_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-k2", associates = [":kotlin-code-insight-k2"], deps = [ "@lib//:kotlin-stdlib", @@ -168,9 +167,13 @@ jvm_library( ], runtime_deps = [":kotlin-code-insight-k2_resources"] ) +### auto-generated section `build kotlin.code-insight.k2` end + +### auto-generated section `test kotlin.code-insight.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-code-insight-k2_test", runtime_deps = [":kotlin-code-insight-k2_test_lib"] ) -### auto-generated section `build kotlin.code-insight.k2` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.k2` end \ No newline at end of file diff --git a/plugins/kotlin/code-insight/line-markers/BUILD.bazel b/plugins/kotlin/code-insight/line-markers/BUILD.bazel index 3a356b2a117e..b00bca2a2916 100644 --- a/plugins/kotlin/code-insight/line-markers/BUILD.bazel +++ b/plugins/kotlin/code-insight/line-markers/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.code-insight.line-markers.k2` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-code-insight-line-markers-k2", context_receivers = True, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -20,7 +19,7 @@ jvm_library( module_name = "kotlin.code-insight.line-markers.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-line-markers-k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", @@ -55,7 +54,7 @@ jvm_library( name = "kotlin-code-insight-line-markers-k2_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-line-markers-k2", associates = [":kotlin-code-insight-line-markers-k2"], deps = [ "@lib//:kotlin-stdlib", @@ -105,9 +104,13 @@ jvm_library( ], runtime_deps = [":kotlin-code-insight-line-markers-k2_resources"] ) +### auto-generated section `build kotlin.code-insight.line-markers.k2` end + +### auto-generated section `test kotlin.code-insight.line-markers.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-code-insight-line-markers-k2_test", runtime_deps = [":kotlin-code-insight-line-markers-k2_test_lib"] ) -### auto-generated section `build kotlin.code-insight.line-markers.k2` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.line-markers.k2` end \ No newline at end of file diff --git a/plugins/kotlin/code-insight/live-templates-k1/BUILD.bazel b/plugins/kotlin/code-insight/live-templates-k1/BUILD.bazel index 2823af2bb675..ab96d68412f3 100644 --- a/plugins/kotlin/code-insight/live-templates-k1/BUILD.bazel +++ b/plugins/kotlin/code-insight/live-templates-k1/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.code-insight.live-templates.k1` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "kotlin-code-insight-live-templates-k1_resources", @@ -70,9 +69,13 @@ jvm_library( ], runtime_deps = [":kotlin-code-insight-live-templates-k1_resources"] ) +### auto-generated section `build kotlin.code-insight.live-templates.k1` end + +### auto-generated section `test kotlin.code-insight.live-templates.k1` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-code-insight-live-templates-k1_test", runtime_deps = [":kotlin-code-insight-live-templates-k1_test_lib"] ) -### auto-generated section `build kotlin.code-insight.live-templates.k1` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.live-templates.k1` end \ No newline at end of file diff --git a/plugins/kotlin/code-insight/live-templates-k2/BUILD.bazel b/plugins/kotlin/code-insight/live-templates-k2/BUILD.bazel index 93913d54c961..b97cb4ec4f5e 100644 --- a/plugins/kotlin/code-insight/live-templates-k2/BUILD.bazel +++ b/plugins/kotlin/code-insight/live-templates-k2/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.code-insight.live-templates.k2` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-code-insight-live-templates-k2", context_receivers = True, opt_in = ["org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction"] ) @@ -20,7 +19,7 @@ jvm_library( module_name = "kotlin.code-insight.live-templates.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-live-templates-k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", @@ -43,7 +42,7 @@ jvm_library( name = "kotlin-code-insight-live-templates-k2_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-live-templates-k2", associates = [":kotlin-code-insight-live-templates-k2"], deps = [ "@lib//:kotlin-stdlib", @@ -74,9 +73,13 @@ jvm_library( ], runtime_deps = [":kotlin-code-insight-live-templates-k2_resources"] ) +### auto-generated section `build kotlin.code-insight.live-templates.k2` end + +### auto-generated section `test kotlin.code-insight.live-templates.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-code-insight-live-templates-k2_test", runtime_deps = [":kotlin-code-insight-live-templates-k2_test_lib"] ) -### auto-generated section `build kotlin.code-insight.live-templates.k2` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.live-templates.k2` end \ No newline at end of file diff --git a/plugins/kotlin/code-insight/live-templates-shared/BUILD.bazel b/plugins/kotlin/code-insight/live-templates-shared/BUILD.bazel index 7a6a298ef03b..9274a63de1d5 100644 --- a/plugins/kotlin/code-insight/live-templates-shared/BUILD.bazel +++ b/plugins/kotlin/code-insight/live-templates-shared/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.code-insight.live-templates.shared` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-code-insight-live-templates-shared", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -23,7 +22,7 @@ jvm_library( module_name = "kotlin.code-insight.live-templates.shared", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-live-templates-shared", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", @@ -49,7 +48,7 @@ jvm_library( name = "kotlin-code-insight-live-templates-shared_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-live-templates-shared", associates = [":kotlin-code-insight-live-templates-shared"], deps = [ "@lib//:kotlin-stdlib", @@ -81,9 +80,13 @@ jvm_library( ], runtime_deps = [":kotlin-code-insight-live-templates-shared_resources"] ) +### auto-generated section `build kotlin.code-insight.live-templates.shared` end + +### auto-generated section `test kotlin.code-insight.live-templates.shared` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-code-insight-live-templates-shared_test", runtime_deps = [":kotlin-code-insight-live-templates-shared_test_lib"] ) -### auto-generated section `build kotlin.code-insight.live-templates.shared` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.live-templates.shared` end \ No newline at end of file diff --git a/plugins/kotlin/code-insight/override-implement-k2/BUILD.bazel b/plugins/kotlin/code-insight/override-implement-k2/BUILD.bazel index 0f94d8fa3a55..b500867ad6c5 100644 --- a/plugins/kotlin/code-insight/override-implement-k2/BUILD.bazel +++ b/plugins/kotlin/code-insight/override-implement-k2/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-code-insight-override-implement-k2", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction", @@ -16,7 +16,7 @@ jvm_library( module_name = "kotlin.code-insight.override-implement.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-override-implement-k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/code-insight/postfix-templates/BUILD.bazel b/plugins/kotlin/code-insight/postfix-templates/BUILD.bazel index 2d3039449b12..f639ee9a1b5e 100644 --- a/plugins/kotlin/code-insight/postfix-templates/BUILD.bazel +++ b/plugins/kotlin/code-insight/postfix-templates/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.code-insight.postfix-templates.k2` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-code-insight-postfix-templates-k2", context_receivers = True, opt_in = ["org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction"] ) @@ -20,7 +19,7 @@ jvm_library( module_name = "kotlin.code-insight.postfix-templates.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-postfix-templates-k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", @@ -50,7 +49,7 @@ jvm_library( name = "kotlin-code-insight-postfix-templates-k2_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-postfix-templates-k2", associates = [":kotlin-code-insight-postfix-templates-k2"], deps = [ "@lib//:kotlin-stdlib", @@ -89,9 +88,13 @@ jvm_library( ], runtime_deps = [":kotlin-code-insight-postfix-templates-k2_resources"] ) +### auto-generated section `build kotlin.code-insight.postfix-templates.k2` end + +### auto-generated section `test kotlin.code-insight.postfix-templates.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-code-insight-postfix-templates-k2_test", runtime_deps = [":kotlin-code-insight-postfix-templates-k2_test_lib"] ) -### auto-generated section `build kotlin.code-insight.postfix-templates.k2` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.postfix-templates.k2` end \ No newline at end of file diff --git a/plugins/kotlin/code-insight/structural-search-k2/BUILD.bazel b/plugins/kotlin/code-insight/structural-search-k2/BUILD.bazel index 3855ce5a7c57..1b764263a391 100644 --- a/plugins/kotlin/code-insight/structural-search-k2/BUILD.bazel +++ b/plugins/kotlin/code-insight/structural-search-k2/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-code-insight-structural-search-k2", context_receivers = True, opt_in = ["org.jetbrains.kotlin.analysis.api.KaIdeApi"] ) @@ -19,7 +19,7 @@ jvm_library( module_name = "kotlin.code-insight.structural-search.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-code-insight-structural-search-k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", 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 e4973473ff61..2d7ac09172a8 100644 --- a/plugins/kotlin/code-insight/structural-search-k2/tests/BUILD.bazel +++ b/plugins/kotlin/code-insight/structural-search-k2/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.code-insight.structural-search.k2.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -38,9 +37,13 @@ jvm_library( "//plugins/kotlin/base/plugin:plugin_test_lib", ] ) +### auto-generated section `build kotlin.code-insight.structural-search.k2.tests` end + +### auto-generated section `test kotlin.code-insight.structural-search.k2.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.code-insight.structural-search.k2.tests` end \ No newline at end of file +### auto-generated section `test kotlin.code-insight.structural-search.k2.tests` end \ No newline at end of file diff --git a/plugins/kotlin/code-insight/utils/BUILD.bazel b/plugins/kotlin/code-insight/utils/BUILD.bazel index ef6910a7582c..69e32633b2ce 100644 --- a/plugins/kotlin/code-insight/utils/BUILD.bazel +++ b/plugins/kotlin/code-insight/utils/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_utils", context_receivers = True, opt_in = ["org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction"] ) @@ -13,7 +13,7 @@ jvm_library( module_name = "kotlin.code-insight.utils", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_utils", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlin-reflect", diff --git a/plugins/kotlin/compiler-plugins/allopen/tests-k1/BUILD.bazel b/plugins/kotlin/compiler-plugins/allopen/tests-k1/BUILD.bazel index 43bc538a2a88..3aab9f46acb8 100644 --- a/plugins/kotlin/compiler-plugins/allopen/tests-k1/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/allopen/tests-k1/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.compiler-plugins.allopen.tests.k1` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "kotlin-compiler-plugins-allopen-tests-k1", @@ -44,9 +43,13 @@ jvm_library( "//plugins/kotlin/uast/uast-kotlin", ] ) +### auto-generated section `build kotlin.compiler-plugins.allopen.tests.k1` end + +### auto-generated section `test kotlin.compiler-plugins.allopen.tests.k1` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-compiler-plugins-allopen-tests-k1_test", runtime_deps = [":kotlin-compiler-plugins-allopen-tests-k1_test_lib"] ) -### auto-generated section `build kotlin.compiler-plugins.allopen.tests.k1` end \ No newline at end of file +### auto-generated section `test kotlin.compiler-plugins.allopen.tests.k1` end \ No newline at end of file diff --git a/plugins/kotlin/compiler-plugins/assignment/common-k1/BUILD.bazel b/plugins/kotlin/compiler-plugins/assignment/common-k1/BUILD.bazel index 9bb2d68c86ea..dfdb9c90c421 100644 --- a/plugins/kotlin/compiler-plugins/assignment/common-k1/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/assignment/common-k1/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-compiler-plugins-assignment-common-k1", opt_in = ["org.jetbrains.kotlin.idea.base.util.K1ModeProjectStructureApi"] ) @@ -18,7 +18,7 @@ jvm_library( module_name = "kotlin.compiler-plugins.assignment.common.k1", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-compiler-plugins-assignment-common-k1", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/compiler-plugins/assignment/common/BUILD.bazel b/plugins/kotlin/compiler-plugins/assignment/common/BUILD.bazel index 3a18f4cca484..6fff2e2d267b 100644 --- a/plugins/kotlin/compiler-plugins/assignment/common/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/assignment/common/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-compiler-plugins-assignment-common-k2", context_receivers = True ) @@ -18,7 +18,7 @@ jvm_library( module_name = "kotlin.compiler-plugins.assignment.common.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-compiler-plugins-assignment-common-k2", deps = [ "//platform/core-api:core", "@lib//:kotlin-stdlib", 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 d9d3ea354fd6..1449e16b12f3 100644 --- a/plugins/kotlin/compiler-plugins/compiler-plugin-support/tests/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/compiler-plugin-support/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.compiler-plugins.compiler-plugin-support.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -26,9 +25,13 @@ jvm_library( "//plugins/kotlin/compiler-plugins/compiler-plugin-support/common", ] ) +### auto-generated section `build kotlin.compiler-plugins.compiler-plugin-support.tests` end + +### auto-generated section `test kotlin.compiler-plugins.compiler-plugin-support.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.compiler-plugins.compiler-plugin-support.tests` end \ No newline at end of file +### auto-generated section `test kotlin.compiler-plugins.compiler-plugin-support.tests` end \ No newline at end of file diff --git a/plugins/kotlin/compiler-plugins/kotlinx-serialization/k2/BUILD.bazel b/plugins/kotlin/compiler-plugins/kotlinx-serialization/k2/BUILD.bazel index 8a6643cbeee8..943bbdc7db49 100644 --- a/plugins/kotlin/compiler-plugins/kotlinx-serialization/k2/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/kotlinx-serialization/k2/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_k2", context_receivers = True ) @@ -18,7 +18,7 @@ jvm_library( module_name = "kotlin.compiler-plugins.kotlinx-serialization.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k2", deps = [ "//plugins/kotlin/code-insight/api", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/BUILD.bazel b/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/BUILD.bazel index 3532d73796f1..2b2baece8947 100644 --- a/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/kotlinx-serialization/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.compiler-plugins.kotlinx-serialization.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -38,9 +37,13 @@ jvm_library( "//plugins/kotlin/idea/tests:tests_test_lib", ] ) +### auto-generated section `build kotlin.compiler-plugins.kotlinx-serialization.tests` end + +### auto-generated section `test kotlin.compiler-plugins.kotlinx-serialization.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.compiler-plugins.kotlinx-serialization.tests` end \ No newline at end of file +### auto-generated section `test kotlin.compiler-plugins.kotlinx-serialization.tests` end \ No newline at end of file diff --git a/plugins/kotlin/compiler-plugins/noarg/tests/BUILD.bazel b/plugins/kotlin/compiler-plugins/noarg/tests/BUILD.bazel index 6255e9598454..17da1decc370 100644 --- a/plugins/kotlin/compiler-plugins/noarg/tests/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/noarg/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.compiler-plugins.noarg.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -44,9 +43,13 @@ jvm_library( "//plugins/kotlin/uast/uast-kotlin", ] ) +### auto-generated section `build kotlin.compiler-plugins.noarg.tests` end + +### auto-generated section `test kotlin.compiler-plugins.noarg.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.compiler-plugins.noarg.tests` end \ No newline at end of file +### auto-generated section `test kotlin.compiler-plugins.noarg.tests` end \ No newline at end of file diff --git a/plugins/kotlin/compiler-plugins/parcelize/common/BUILD.bazel b/plugins/kotlin/compiler-plugins/parcelize/common/BUILD.bazel index aedc1622d090..6280e82d28f3 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/common/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/parcelize/common/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_common", context_receivers = True ) @@ -18,7 +18,7 @@ jvm_library( module_name = "kotlin.compiler-plugins.parcelize.common", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_common", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/compiler-plugins/parcelize/k1/BUILD.bazel b/plugins/kotlin/compiler-plugins/parcelize/k1/BUILD.bazel index 92e07faa0046..9d7050aa1824 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/k1/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/parcelize/k1/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_k1", context_receivers = True, opt_in = ["org.jetbrains.kotlin.idea.base.util.K1ModeProjectStructureApi"] ) @@ -19,7 +19,7 @@ jvm_library( module_name = "kotlin.compiler-plugins.parcelize.k1", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k1", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/compiler-plugins/parcelize/k2/BUILD.bazel b/plugins/kotlin/compiler-plugins/parcelize/k2/BUILD.bazel index 13c5a87851ed..d2dc9779ebb5 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/k2/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/parcelize/k2/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_k2", context_receivers = True ) @@ -18,7 +18,7 @@ jvm_library( module_name = "kotlin.compiler-plugins.parcelize.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/BUILD.bazel b/plugins/kotlin/compiler-plugins/parcelize/tests/BUILD.bazel index 184f87978229..544d18904356 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.compiler-plugins.parcelize.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -21,9 +20,13 @@ jvm_library( "//plugins/kotlin/test-framework:test-framework_test_lib", ] ) +### auto-generated section `build kotlin.compiler-plugins.parcelize.tests` end + +### auto-generated section `test kotlin.compiler-plugins.parcelize.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.compiler-plugins.parcelize.tests` end \ No newline at end of file +### auto-generated section `test kotlin.compiler-plugins.parcelize.tests` end \ No newline at end of file diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/k1/BUILD.bazel b/plugins/kotlin/compiler-plugins/parcelize/tests/k1/BUILD.bazel index 06181bd2479b..82115f751d1c 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/k1/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/k1/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.compiler-plugins.parcelize.tests.k1` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "k1", @@ -28,9 +27,13 @@ jvm_library( "//plugins/kotlin/base/plugin:plugin_test_lib", ] ) +### auto-generated section `build kotlin.compiler-plugins.parcelize.tests.k1` end + +### auto-generated section `test kotlin.compiler-plugins.parcelize.tests.k1` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "k1_test", runtime_deps = [":k1_test_lib"] ) -### auto-generated section `build kotlin.compiler-plugins.parcelize.tests.k1` end \ No newline at end of file +### auto-generated section `test kotlin.compiler-plugins.parcelize.tests.k1` end \ No newline at end of file diff --git a/plugins/kotlin/compiler-plugins/parcelize/tests/k2/BUILD.bazel b/plugins/kotlin/compiler-plugins/parcelize/tests/k2/BUILD.bazel index 019b6597bf0f..54173b2c7d3e 100644 --- a/plugins/kotlin/compiler-plugins/parcelize/tests/k2/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/parcelize/tests/k2/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.compiler-plugins.parcelize.tests.k2` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "k2", @@ -34,9 +33,13 @@ jvm_library( "//plugins/kotlin/base/plugin:plugin_test_lib", ] ) +### auto-generated section `build kotlin.compiler-plugins.parcelize.tests.k2` end + +### auto-generated section `test kotlin.compiler-plugins.parcelize.tests.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "k2_test", runtime_deps = [":k2_test_lib"] ) -### auto-generated section `build kotlin.compiler-plugins.parcelize.tests.k2` end \ No newline at end of file +### auto-generated section `test kotlin.compiler-plugins.parcelize.tests.k2` end \ No newline at end of file diff --git a/plugins/kotlin/compiler-plugins/sam-with-receiver/common/BUILD.bazel b/plugins/kotlin/compiler-plugins/sam-with-receiver/common/BUILD.bazel index a6954a39bd1f..fe1275f5850b 100644 --- a/plugins/kotlin/compiler-plugins/sam-with-receiver/common/BUILD.bazel +++ b/plugins/kotlin/compiler-plugins/sam-with-receiver/common/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_common", opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", "org.jetbrains.kotlin.analysis.api.KaIdeApi", @@ -17,7 +17,7 @@ jvm_library( module_name = "kotlin.compiler-plugins.sam-with-receiver.common", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_common", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/compiler-reference-index/tests.k2/BUILD.bazel b/plugins/kotlin/compiler-reference-index/tests.k2/BUILD.bazel index bcd7c8bb95f6..4876b3b7a6cf 100644 --- a/plugins/kotlin/compiler-reference-index/tests.k2/BUILD.bazel +++ b/plugins/kotlin/compiler-reference-index/tests.k2/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.compiler-reference-index.tests.k2` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests.k2", @@ -33,9 +32,13 @@ jvm_library( "//plugins/kotlin/base/plugin:plugin_test_lib", ] ) +### auto-generated section `build kotlin.compiler-reference-index.tests.k2` end + +### auto-generated section `test kotlin.compiler-reference-index.tests.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests.k2_test", runtime_deps = [":tests.k2_test_lib"] ) -### auto-generated section `build kotlin.compiler-reference-index.tests.k2` end \ No newline at end of file +### auto-generated section `test kotlin.compiler-reference-index.tests.k2` end \ No newline at end of file diff --git a/plugins/kotlin/compiler-reference-index/tests/BUILD.bazel b/plugins/kotlin/compiler-reference-index/tests/BUILD.bazel index 65493cf9ed86..9dcb63fd0871 100644 --- a/plugins/kotlin/compiler-reference-index/tests/BUILD.bazel +++ b/plugins/kotlin/compiler-reference-index/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.compiler-reference-index.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -53,9 +52,13 @@ jvm_library( "//platform/util", ] ) +### auto-generated section `build kotlin.compiler-reference-index.tests` end + +### auto-generated section `test kotlin.compiler-reference-index.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.compiler-reference-index.tests` end \ No newline at end of file +### auto-generated section `test kotlin.compiler-reference-index.tests` end \ No newline at end of file diff --git a/plugins/kotlin/completion/api/BUILD.bazel b/plugins/kotlin/completion/api/BUILD.bazel index 1c354351f4bc..76ca3deca594 100644 --- a/plugins/kotlin/completion/api/BUILD.bazel +++ b/plugins/kotlin/completion/api/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_api", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction", @@ -16,7 +16,7 @@ jvm_library( module_name = "kotlin.completion.api", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_api", deps = [ "@lib//:kotlin-stdlib", "//plugins/kotlin/base/frontend-agnostic", diff --git a/plugins/kotlin/completion/impl-k1/BUILD.bazel b/plugins/kotlin/completion/impl-k1/BUILD.bazel index 78ed6d38e10a..09477fb0423d 100644 --- a/plugins/kotlin/completion/impl-k1/BUILD.bazel +++ b/plugins/kotlin/completion/impl-k1/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-completion-impl-k1", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -16,7 +16,7 @@ jvm_library( module_name = "kotlin.completion.impl.k1", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-completion-impl-k1", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-analysis-api", diff --git a/plugins/kotlin/completion/impl-k2/BUILD.bazel b/plugins/kotlin/completion/impl-k2/BUILD.bazel index 7e0b325f61ef..f5def0f2fd7b 100644 --- a/plugins/kotlin/completion/impl-k2/BUILD.bazel +++ b/plugins/kotlin/completion/impl-k2/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-completion-impl-k2", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction", @@ -22,7 +22,7 @@ jvm_library( module_name = "kotlin.completion.impl.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-completion-impl-k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:jetbrains-annotations", diff --git a/plugins/kotlin/completion/impl-shared/BUILD.bazel b/plugins/kotlin/completion/impl-shared/BUILD.bazel index 224f08971a84..7ea55dea1d21 100644 --- a/plugins/kotlin/completion/impl-shared/BUILD.bazel +++ b/plugins/kotlin/completion/impl-shared/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-completion-impl-shared", context_receivers = True, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -13,7 +13,7 @@ jvm_library( module_name = "kotlin.completion.impl.shared", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-completion-impl-shared", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/completion/tests-k1/BUILD.bazel b/plugins/kotlin/completion/tests-k1/BUILD.bazel index ae6210491ebf..2679d6075dfa 100644 --- a/plugins/kotlin/completion/tests-k1/BUILD.bazel +++ b/plugins/kotlin/completion/tests-k1/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.completion.tests.k1` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "kotlin-completion-tests-k1", @@ -54,9 +53,13 @@ jvm_library( ], runtime_deps = ["//plugins/kotlin/plugin/k1"] ) +### auto-generated section `build kotlin.completion.tests.k1` end + +### auto-generated section `test kotlin.completion.tests.k1` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-completion-tests-k1_test", runtime_deps = [":kotlin-completion-tests-k1_test_lib"] ) -### auto-generated section `build kotlin.completion.tests.k1` end \ No newline at end of file +### auto-generated section `test kotlin.completion.tests.k1` end \ No newline at end of file diff --git a/plugins/kotlin/completion/tests-shared/BUILD.bazel b/plugins/kotlin/completion/tests-shared/BUILD.bazel index f0f717237760..1b2aca9f4705 100644 --- a/plugins/kotlin/completion/tests-shared/BUILD.bazel +++ b/plugins/kotlin/completion/tests-shared/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.completion.tests.shared` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "kotlin-completion-tests-shared", @@ -44,9 +43,13 @@ jvm_library( "//platform/service-container:service-container_test_lib", ] ) +### auto-generated section `build kotlin.completion.tests.shared` end + +### auto-generated section `test kotlin.completion.tests.shared` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-completion-tests-shared_test", runtime_deps = [":kotlin-completion-tests-shared_test_lib"] ) -### auto-generated section `build kotlin.completion.tests.shared` end \ No newline at end of file +### auto-generated section `test kotlin.completion.tests.shared` end \ No newline at end of file diff --git a/plugins/kotlin/copyright/fir-tests/BUILD.bazel b/plugins/kotlin/copyright/fir-tests/BUILD.bazel index 44b60b2597e0..6f1f8d9f7632 100644 --- a/plugins/kotlin/copyright/fir-tests/BUILD.bazel +++ b/plugins/kotlin/copyright/fir-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.copyright.fir.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "kotlin-copyright-fir-tests", @@ -30,9 +29,13 @@ jvm_library( "@lib//:kotlinc-kotlin-compiler-tests", ] ) +### auto-generated section `build kotlin.copyright.fir.tests` end + +### auto-generated section `test kotlin.copyright.fir.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-copyright-fir-tests_test", runtime_deps = [":kotlin-copyright-fir-tests_test_lib"] ) -### auto-generated section `build kotlin.copyright.fir.tests` end \ No newline at end of file +### auto-generated section `test kotlin.copyright.fir.tests` end \ No newline at end of file diff --git a/plugins/kotlin/copyright/tests/BUILD.bazel b/plugins/kotlin/copyright/tests/BUILD.bazel index 1d280478e654..89688200153f 100644 --- a/plugins/kotlin/copyright/tests/BUILD.bazel +++ b/plugins/kotlin/copyright/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.copyright.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -37,9 +36,13 @@ jvm_library( "//java/java-analysis-api:analysis", ] ) +### auto-generated section `build kotlin.copyright.tests` end + +### auto-generated section `test kotlin.copyright.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.copyright.tests` end \ No newline at end of file +### auto-generated section `test kotlin.copyright.tests` end \ No newline at end of file diff --git a/plugins/kotlin/core/tests/BUILD.bazel b/plugins/kotlin/core/tests/BUILD.bazel index c15032faa1c8..b3730946845b 100644 --- a/plugins/kotlin/core/tests/BUILD.bazel +++ b/plugins/kotlin/core/tests/BUILD.bazel @@ -1,10 +1,9 @@ ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_tests", opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", "org.jetbrains.kotlin.analysis.api.KaIdeApi", @@ -23,7 +22,7 @@ jvm_library( name = "tests_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_tests", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinx-coroutines-core", @@ -64,9 +63,13 @@ jvm_library( "//java/manifest:manifest_test_lib", ] ) +### auto-generated section `build kotlin.core.tests` end + +### auto-generated section `test kotlin.core.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.core.tests` end \ No newline at end of file +### auto-generated section `test kotlin.core.tests` end \ No newline at end of file diff --git a/plugins/kotlin/coverage/tests/BUILD.bazel b/plugins/kotlin/coverage/tests/BUILD.bazel index 75538f8ad83d..695f62fc7d41 100644 --- a/plugins/kotlin/coverage/tests/BUILD.bazel +++ b/plugins/kotlin/coverage/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.coverage.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -46,9 +45,13 @@ jvm_library( "//platform/indexing-api:indexing", ] ) +### auto-generated section `build kotlin.coverage.tests` end + +### auto-generated section `test kotlin.coverage.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.coverage.tests` end \ No newline at end of file +### auto-generated section `test kotlin.coverage.tests` end \ No newline at end of file diff --git a/plugins/kotlin/features-trainer/tests/BUILD.bazel b/plugins/kotlin/features-trainer/tests/BUILD.bazel index 22fd0bf378ba..7b8cd1645609 100644 --- a/plugins/kotlin/features-trainer/tests/BUILD.bazel +++ b/plugins/kotlin/features-trainer/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.features-trainer.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -31,9 +30,13 @@ jvm_library( "//plugins/kotlin/features-trainer", ] ) +### auto-generated section `build kotlin.features-trainer.tests` end + +### auto-generated section `test kotlin.features-trainer.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.features-trainer.tests` end \ No newline at end of file +### auto-generated section `test kotlin.features-trainer.tests` end \ No newline at end of file diff --git a/plugins/kotlin/fir/BUILD.bazel b/plugins/kotlin/fir/BUILD.bazel index c56903b7d0a1..508fb8ed9a27 100644 --- a/plugins/kotlin/fir/BUILD.bazel +++ b/plugins/kotlin/fir/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_fir", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -16,7 +16,7 @@ jvm_library( module_name = "kotlin.fir", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_fir", deps = [ "//platform/analysis-api:analysis", "//platform/code-style-api:codeStyle", diff --git a/plugins/kotlin/fir/tests/BUILD.bazel b/plugins/kotlin/fir/tests/BUILD.bazel index 706d61a4f90e..3c425ec90a65 100644 --- a/plugins/kotlin/fir/tests/BUILD.bazel +++ b/plugins/kotlin/fir/tests/BUILD.bazel @@ -1,10 +1,9 @@ ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_tests", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -23,7 +22,7 @@ jvm_library( name = "tests_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_tests", deps = [ "@lib//:kotlinc-analysis-api", "//java/java-indexing-api:indexing", @@ -96,9 +95,13 @@ jvm_library( "//plugins/kotlin/completion/impl-k2:kotlin-completion-impl-k2", ] ) +### auto-generated section `build kotlin.fir.tests` end + +### auto-generated section `test kotlin.fir.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.fir.tests` end \ No newline at end of file +### auto-generated section `test kotlin.fir.tests` end \ No newline at end of file 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 a5be7681c7ad..fec6680ea1e2 100644 --- a/plugins/kotlin/gradle/code-insight-groovy/tests.k2/BUILD.bazel +++ b/plugins/kotlin/gradle/code-insight-groovy/tests.k2/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.gradle.code-insight-groovy.tests.k2` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests.k2", @@ -29,9 +28,13 @@ jvm_library( "//plugins/kotlin/gradle/code-insight-groovy", ] ) +### auto-generated section `build kotlin.gradle.code-insight-groovy.tests.k2` end + +### auto-generated section `test kotlin.gradle.code-insight-groovy.tests.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests.k2_test", runtime_deps = [":tests.k2_test_lib"] ) -### auto-generated section `build kotlin.gradle.code-insight-groovy.tests.k2` end \ No newline at end of file +### auto-generated section `test kotlin.gradle.code-insight-groovy.tests.k2` end \ No newline at end of file diff --git a/plugins/kotlin/gradle/gradle-java/BUILD.bazel b/plugins/kotlin/gradle/gradle-java/BUILD.bazel index bd20567fb0bf..465ef529127b 100644 --- a/plugins/kotlin/gradle/gradle-java/BUILD.bazel +++ b/plugins/kotlin/gradle/gradle-java/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.gradle.gradle-java` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_gradle-java", opt_in = [ "org.jetbrains.kotlin.gradle.ExperimentalGradleToolingApi", "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -22,7 +21,7 @@ jvm_library( module_name = "kotlin.gradle.gradle-java", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_gradle-java", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", @@ -96,7 +95,7 @@ jvm_library( name = "gradle-java_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_gradle-java", associates = [":gradle-java"], deps = [ "@lib//:kotlin-stdlib", @@ -176,9 +175,13 @@ jvm_library( ], runtime_deps = [":gradle-java_resources"] ) +### auto-generated section `build kotlin.gradle.gradle-java` end + +### auto-generated section `test kotlin.gradle.gradle-java` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "gradle-java_test", runtime_deps = [":gradle-java_test_lib"] ) -### auto-generated section `build kotlin.gradle.gradle-java` end \ No newline at end of file +### auto-generated section `test kotlin.gradle.gradle-java` end \ No newline at end of file diff --git a/plugins/kotlin/gradle/gradle-java/k1/BUILD.bazel b/plugins/kotlin/gradle/gradle-java/k1/BUILD.bazel index cffe30d86328..ac79cd16e8d4 100644 --- a/plugins/kotlin/gradle/gradle-java/k1/BUILD.bazel +++ b/plugins/kotlin/gradle/gradle-java/k1/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.gradle.gradle-java.k1` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "k1_resources", @@ -151,9 +150,13 @@ jvm_library( ], runtime_deps = [":k1_resources"] ) +### auto-generated section `build kotlin.gradle.gradle-java.k1` end + +### auto-generated section `test kotlin.gradle.gradle-java.k1` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "k1_test", runtime_deps = [":k1_test_lib"] ) -### auto-generated section `build kotlin.gradle.gradle-java.k1` end \ No newline at end of file +### auto-generated section `test kotlin.gradle.gradle-java.k1` end \ No newline at end of file diff --git a/plugins/kotlin/gradle/gradle-java/k2/BUILD.bazel b/plugins/kotlin/gradle/gradle-java/k2/BUILD.bazel index f12ea68c07f1..b60cb9108481 100644 --- a/plugins/kotlin/gradle/gradle-java/k2/BUILD.bazel +++ b/plugins/kotlin/gradle/gradle-java/k2/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.gradle.gradle-java.k2` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "k2_resources", @@ -69,9 +68,13 @@ jvm_library( ], runtime_deps = [":k2_resources"] ) +### auto-generated section `build kotlin.gradle.gradle-java.k2` end + +### auto-generated section `test kotlin.gradle.gradle-java.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "k2_test", runtime_deps = [":k2_test_lib"] ) -### auto-generated section `build kotlin.gradle.gradle-java.k2` end \ No newline at end of file +### auto-generated section `test kotlin.gradle.gradle-java.k2` end \ No newline at end of file diff --git a/plugins/kotlin/gradle/gradle-java/tests.shared/BUILD.bazel b/plugins/kotlin/gradle/gradle-java/tests.shared/BUILD.bazel index 80b0f3a1374c..5b0ff37cbe60 100644 --- a/plugins/kotlin/gradle/gradle-java/tests.shared/BUILD.bazel +++ b/plugins/kotlin/gradle/gradle-java/tests.shared/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.gradle.gradle-java.tests.shared` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests.shared", @@ -101,9 +100,13 @@ jvm_library( "//plugins/kotlin/base/scripting.k1:scripting.k1_test_lib", ] ) +### auto-generated section `build kotlin.gradle.gradle-java.tests.shared` end + +### auto-generated section `test kotlin.gradle.gradle-java.tests.shared` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests.shared_test", runtime_deps = [":tests.shared_test_lib"] ) -### auto-generated section `build kotlin.gradle.gradle-java.tests.shared` end \ No newline at end of file +### auto-generated section `test kotlin.gradle.gradle-java.tests.shared` end \ No newline at end of file diff --git a/plugins/kotlin/gradle/gradle-tooling/impl/BUILD.bazel b/plugins/kotlin/gradle/gradle-tooling/impl/BUILD.bazel index 1de02ed6bf63..cc0930dd27f5 100644 --- a/plugins/kotlin/gradle/gradle-tooling/impl/BUILD.bazel +++ b/plugins/kotlin/gradle/gradle-tooling/impl/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.gradle.gradle-tooling.impl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "jvm_resources") jvm_resources( name = "impl_resources", @@ -59,9 +58,13 @@ jvm_library( ], runtime_deps = [":impl_resources"] ) +### auto-generated section `build kotlin.gradle.gradle-tooling.impl` end + +### auto-generated section `test kotlin.gradle.gradle-tooling.impl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "impl_test", runtime_deps = [":impl_test_lib"] ) -### auto-generated section `build kotlin.gradle.gradle-tooling.impl` end \ No newline at end of file +### auto-generated section `test kotlin.gradle.gradle-tooling.impl` end \ No newline at end of file diff --git a/plugins/kotlin/gradle/gradle-tooling/tests/BUILD.bazel b/plugins/kotlin/gradle/gradle-tooling/tests/BUILD.bazel index c157a3a0422e..a3d41f06a3e2 100644 --- a/plugins/kotlin/gradle/gradle-tooling/tests/BUILD.bazel +++ b/plugins/kotlin/gradle/gradle-tooling/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.gradle.gradle-tooling.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -31,9 +30,13 @@ jvm_library( "@lib//:kotlin-tooling-core", ] ) +### auto-generated section `build kotlin.gradle.gradle-tooling.tests` end + +### auto-generated section `test kotlin.gradle.gradle-tooling.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.gradle.gradle-tooling.tests` end \ No newline at end of file +### auto-generated section `test kotlin.gradle.gradle-tooling.tests` end \ No newline at end of file diff --git a/plugins/kotlin/gradle/gradle/BUILD.bazel b/plugins/kotlin/gradle/gradle/BUILD.bazel index dc5f49391d3a..70e874ce0153 100644 --- a/plugins/kotlin/gradle/gradle/BUILD.bazel +++ b/plugins/kotlin/gradle/gradle/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_gradle", opt_in = ["org.jetbrains.kotlin.gradle.ExperimentalGradleToolingApi"] ) @@ -24,7 +24,7 @@ jvm_library( module_name = "kotlin.gradle.gradle", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_gradle", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlin-reflect", diff --git a/plugins/kotlin/gradle/gradle/tests/BUILD.bazel b/plugins/kotlin/gradle/gradle/tests/BUILD.bazel index 9abf41284be6..40fccf238ca3 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "tests_test_resources", @@ -86,9 +85,13 @@ jvm_library( ], runtime_deps = [":tests_test_resources"] ) +### auto-generated section `build kotlin.gradle.gradle.tests` end + +### auto-generated section `test kotlin.gradle.gradle.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.gradle.gradle.tests` end \ No newline at end of file +### auto-generated section `test kotlin.gradle.gradle.tests` end \ No newline at end of file diff --git a/plugins/kotlin/gradle/multiplatform-tests-k2/BUILD.bazel b/plugins/kotlin/gradle/multiplatform-tests-k2/BUILD.bazel index 2c5e1d2e2cc1..56330050e8eb 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "kotlin-gradle-multiplatform-tests-k2_test_lib", @@ -45,9 +44,13 @@ jvm_library( "@lib//:kotlinc-analysis-api", ] ) +### auto-generated section `build intellij.kotlin.gradle.multiplatform-tests.k2` end + +### auto-generated section `test intellij.kotlin.gradle.multiplatform-tests.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-gradle-multiplatform-tests-k2_test", runtime_deps = [":kotlin-gradle-multiplatform-tests-k2_test_lib"] ) -### auto-generated section `build intellij.kotlin.gradle.multiplatform-tests.k2` end \ No newline at end of file +### auto-generated section `test intellij.kotlin.gradle.multiplatform-tests.k2` end \ No newline at end of file diff --git a/plugins/kotlin/gradle/multiplatform-tests/BUILD.bazel b/plugins/kotlin/gradle/multiplatform-tests/BUILD.bazel index 8f721aae1619..5af4d2008ff5 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "multiplatform-tests_test_lib", @@ -46,9 +45,13 @@ jvm_library( "//plugins/kotlin/gradle/gradle-java/tests.shared:tests.shared_test_lib", ] ) +### auto-generated section `build intellij.kotlin.gradle.multiplatformTests` end + +### auto-generated section `test intellij.kotlin.gradle.multiplatformTests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "multiplatform-tests_test", runtime_deps = [":multiplatform-tests_test_lib"] ) -### auto-generated section `build intellij.kotlin.gradle.multiplatformTests` end \ No newline at end of file +### auto-generated section `test intellij.kotlin.gradle.multiplatformTests` end \ No newline at end of file diff --git a/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.k2/BUILD.bazel b/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.k2/BUILD.bazel index b8edbd6d7cde..4a7582b47425 100644 --- a/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.k2/BUILD.bazel +++ b/plugins/kotlin/gradle/scripting/kotlin.gradle.scripting.k2/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.gradle.scripting.k2` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-gradle-scripting-k2", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction", @@ -29,7 +28,7 @@ jvm_library( module_name = "kotlin.gradle.scripting.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-gradle-scripting-k2", deps = [ "@lib//:kotlin-stdlib", "//platform/projectModel-api:projectModel", @@ -76,7 +75,7 @@ jvm_library( name = "kotlin-gradle-scripting-k2_test_lib", visibility = ["//visibility:public"], srcs = glob(["tests/**/*.kt", "tests/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-gradle-scripting-k2", associates = [":kotlin-gradle-scripting-k2"], deps = [ "@lib//:kotlin-stdlib", @@ -136,9 +135,13 @@ jvm_library( ":kotlin-gradle-scripting-k2_resources_1", ] ) +### auto-generated section `build kotlin.gradle.scripting.k2` end + +### auto-generated section `test kotlin.gradle.scripting.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-gradle-scripting-k2_test", runtime_deps = [":kotlin-gradle-scripting-k2_test_lib"] ) -### auto-generated section `build kotlin.gradle.scripting.k2` end \ No newline at end of file +### auto-generated section `test kotlin.gradle.scripting.k2` end \ No newline at end of file diff --git a/plugins/kotlin/highlighting/highlighting-k1/BUILD.bazel b/plugins/kotlin/highlighting/highlighting-k1/BUILD.bazel index 586cecfba4b5..bd9d20ca1e01 100644 --- a/plugins/kotlin/highlighting/highlighting-k1/BUILD.bazel +++ b/plugins/kotlin/highlighting/highlighting-k1/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-highlighting-k1", opt_in = [ "org.jetbrains.kotlin.idea.base.util.K1ModeProjectStructureApi", "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -21,7 +21,7 @@ jvm_library( module_name = "kotlin.highlighting.k1", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-highlighting-k1", deps = [ "//platform/analysis-api:analysis", "//platform/core-api:core", diff --git a/plugins/kotlin/highlighting/highlighting-k2/BUILD.bazel b/plugins/kotlin/highlighting/highlighting-k2/BUILD.bazel index 54059e9722bc..cccfce80abe9 100644 --- a/plugins/kotlin/highlighting/highlighting-k2/BUILD.bazel +++ b/plugins/kotlin/highlighting/highlighting-k2/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.highlighting.k2` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-highlighting-k2", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.analysis.api.KaIdeApi", @@ -23,7 +22,7 @@ jvm_library( module_name = "kotlin.highlighting.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-highlighting-k2", deps = [ "//java/java-indexing-api:indexing", "//platform/indexing-api:indexing", @@ -70,7 +69,7 @@ jvm_library( name = "kotlin-highlighting-k2_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-highlighting-k2", associates = [":kotlin-highlighting-k2"], deps = [ "//java/java-indexing-api:indexing", @@ -134,9 +133,13 @@ jvm_library( ], runtime_deps = [":kotlin-highlighting-k2_resources"] ) +### auto-generated section `build kotlin.highlighting.k2` end + +### auto-generated section `test kotlin.highlighting.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-highlighting-k2_test", runtime_deps = [":kotlin-highlighting-k2_test_lib"] ) -### auto-generated section `build kotlin.highlighting.k2` end \ No newline at end of file +### auto-generated section `test kotlin.highlighting.k2` end \ No newline at end of file diff --git a/plugins/kotlin/highlighting/highlighting-shared/tests/BUILD.bazel b/plugins/kotlin/highlighting/highlighting-shared/tests/BUILD.bazel index 55a2624df905..eee0161fde8b 100644 --- a/plugins/kotlin/highlighting/highlighting-shared/tests/BUILD.bazel +++ b/plugins/kotlin/highlighting/highlighting-shared/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.highlighting.shared.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -27,9 +26,13 @@ jvm_library( "//platform/diff-impl", ] ) +### auto-generated section `build kotlin.highlighting.shared.tests` end + +### auto-generated section `test kotlin.highlighting.shared.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.highlighting.shared.tests` end \ No newline at end of file +### auto-generated section `test kotlin.highlighting.shared.tests` end \ No newline at end of file diff --git a/plugins/kotlin/i18n/tests/BUILD.bazel b/plugins/kotlin/i18n/tests/BUILD.bazel index 310c20620c68..8ca100ab83f9 100644 --- a/plugins/kotlin/i18n/tests/BUILD.bazel +++ b/plugins/kotlin/i18n/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.i18n.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -30,9 +29,13 @@ jvm_library( "//plugins/kotlin/code-insight/api", ] ) +### auto-generated section `build kotlin.i18n.tests` end + +### auto-generated section `test kotlin.i18n.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.i18n.tests` end \ No newline at end of file +### auto-generated section `test kotlin.i18n.tests` end \ No newline at end of file diff --git a/plugins/kotlin/idea/BUILD.bazel b/plugins/kotlin/idea/BUILD.bazel index 1275f4205aa2..23fb2370f371 100644 --- a/plugins/kotlin/idea/BUILD.bazel +++ b/plugins/kotlin/idea/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_idea", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -35,7 +35,7 @@ jvm_library( module_name = "kotlin.idea", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_idea", deps = [ "@lib//:kotlinc-kotlin-compiler-common", "@lib//:kotlinc-kotlin-compiler-fe10", diff --git a/plugins/kotlin/idea/tests/BUILD.bazel b/plugins/kotlin/idea/tests/BUILD.bazel index 5d48e9bacc7b..9dd401617a7a 100644 --- a/plugins/kotlin/idea/tests/BUILD.bazel +++ b/plugins/kotlin/idea/tests/BUILD.bazel @@ -1,10 +1,9 @@ ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_tests", opt_in = [ "org.jetbrains.kotlin.idea.base.util.K1ModeProjectStructureApi", "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -21,7 +20,7 @@ jvm_library( name = "tests_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_tests", deps = [ "@lib//:kotlin-stdlib", "//java/java-indexing-api:indexing", @@ -207,9 +206,13 @@ jvm_library( "//plugins/kotlin/compiler-plugins/parcelize/gradle", ] ) +### auto-generated section `build kotlin.idea.tests` end + +### auto-generated section `test kotlin.idea.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.idea.tests` end \ No newline at end of file +### auto-generated section `test kotlin.idea.tests` end \ No newline at end of file diff --git a/plugins/kotlin/injection/base/BUILD.bazel b/plugins/kotlin/injection/base/BUILD.bazel index f7904a633dd5..8777191cc893 100644 --- a/plugins/kotlin/injection/base/BUILD.bazel +++ b/plugins/kotlin/injection/base/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-base-injection", context_receivers = True, opt_in = ["org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction"] ) @@ -19,7 +19,7 @@ jvm_library( module_name = "kotlin.base.injection", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-base-injection", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/injection/base/tests/BUILD.bazel b/plugins/kotlin/injection/base/tests/BUILD.bazel index 890cf9cb89d3..648095ec4960 100644 --- a/plugins/kotlin/injection/base/tests/BUILD.bazel +++ b/plugins/kotlin/injection/base/tests/BUILD.bazel @@ -1,10 +1,9 @@ ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_tests", context_receivers = True ) @@ -18,7 +17,7 @@ jvm_library( name = "tests_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_tests", deps = [ "//platform/analysis-api:analysis", "//platform/core-api:core", @@ -39,9 +38,13 @@ jvm_library( "@lib//:kotlinc-kotlin-compiler-common", ] ) +### auto-generated section `build kotlin.base.injection.tests` end + +### auto-generated section `test kotlin.base.injection.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.base.injection.tests` end \ No newline at end of file +### auto-generated section `test kotlin.base.injection.tests` end \ No newline at end of file diff --git a/plugins/kotlin/injection/k1/BUILD.bazel b/plugins/kotlin/injection/k1/BUILD.bazel index f321fef18264..3e692702a0ae 100644 --- a/plugins/kotlin/injection/k1/BUILD.bazel +++ b/plugins/kotlin/injection/k1/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_k1", context_receivers = True ) @@ -18,7 +18,7 @@ jvm_library( module_name = "kotlin.injection.k1", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k1", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/injection/k1/tests/BUILD.bazel b/plugins/kotlin/injection/k1/tests/BUILD.bazel index 7e769c489947..0c74b170de42 100644 --- a/plugins/kotlin/injection/k1/tests/BUILD.bazel +++ b/plugins/kotlin/injection/k1/tests/BUILD.bazel @@ -1,10 +1,9 @@ ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_tests", context_receivers = True ) @@ -18,7 +17,7 @@ jvm_library( name = "tests_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_tests", deps = [ "//plugins/kotlin/test-framework:test-framework_test_lib", "//plugins/kotlin/base/test:test_test_lib", @@ -29,9 +28,13 @@ jvm_library( "//plugins/kotlin/injection/base/tests:tests_test_lib", ] ) +### auto-generated section `build kotlin.injection.tests` end + +### auto-generated section `test kotlin.injection.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.injection.tests` end \ No newline at end of file +### auto-generated section `test kotlin.injection.tests` end \ No newline at end of file diff --git a/plugins/kotlin/injection/k2/BUILD.bazel b/plugins/kotlin/injection/k2/BUILD.bazel index 4872b31ee96f..25ccc9261bc3 100644 --- a/plugins/kotlin/injection/k2/BUILD.bazel +++ b/plugins/kotlin/injection/k2/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_k2", context_receivers = True, opt_in = ["org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction"] ) @@ -19,7 +19,7 @@ jvm_library( module_name = "kotlin.injection.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/injection/k2/tests/BUILD.bazel b/plugins/kotlin/injection/k2/tests/BUILD.bazel index 5a6483a87609..3d4c129cdf2a 100644 --- a/plugins/kotlin/injection/k2/tests/BUILD.bazel +++ b/plugins/kotlin/injection/k2/tests/BUILD.bazel @@ -1,10 +1,9 @@ ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_tests", context_receivers = True ) @@ -18,7 +17,7 @@ jvm_library( name = "tests_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_tests", deps = [ "//platform/core-api:core", "//plugins/kotlin/plugin/k2", @@ -38,9 +37,13 @@ jvm_library( "@lib//:kotlinc-analysis-api", ] ) +### auto-generated section `build kotlin.injection.k2.tests` end + +### auto-generated section `test kotlin.injection.k2.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.injection.k2.tests` end \ No newline at end of file +### auto-generated section `test kotlin.injection.k2.tests` end \ No newline at end of file diff --git a/plugins/kotlin/j2k/k1.new.post-processing/BUILD.bazel b/plugins/kotlin/j2k/k1.new.post-processing/BUILD.bazel index 7e5030d1671c..ab228edba3d8 100644 --- a/plugins/kotlin/j2k/k1.new.post-processing/BUILD.bazel +++ b/plugins/kotlin/j2k/k1.new.post-processing/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_k1.new.post-processing", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -22,7 +22,7 @@ jvm_library( module_name = "kotlin.j2k.k1.new.post-processing", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k1.new.post-processing", deps = [ "@lib//:kotlin-stdlib", "@lib//:vavr", diff --git a/plugins/kotlin/j2k/k1.new/BUILD.bazel b/plugins/kotlin/j2k/k1.new/BUILD.bazel index 834d59053b57..32ef2b7b657e 100644 --- a/plugins/kotlin/j2k/k1.new/BUILD.bazel +++ b/plugins/kotlin/j2k/k1.new/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_k1.new", context_receivers = True, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -13,7 +13,7 @@ jvm_library( module_name = "kotlin.j2k.k1.new", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k1.new", deps = [ "//java/java-indexing-api:indexing", "//platform/core-api:core", diff --git a/plugins/kotlin/j2k/k1.new/tests/BUILD.bazel b/plugins/kotlin/j2k/k1.new/tests/BUILD.bazel index d8b29ec8a66f..c09aa227479e 100644 --- a/plugins/kotlin/j2k/k1.new/tests/BUILD.bazel +++ b/plugins/kotlin/j2k/k1.new/tests/BUILD.bazel @@ -1,10 +1,9 @@ ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_tests", context_receivers = True ) @@ -18,7 +17,7 @@ jvm_library( name = "tests_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_tests", deps = [ "//platform/code-style-api:codeStyle", "//platform/core-api:core", @@ -54,9 +53,13 @@ jvm_library( "//plugins/kotlin/base/plugin:plugin_test_lib", ] ) +### auto-generated section `build kotlin.j2k.k1.new.tests` end + +### auto-generated section `test kotlin.j2k.k1.new.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.j2k.k1.new.tests` end \ No newline at end of file +### auto-generated section `test kotlin.j2k.k1.new.tests` end \ No newline at end of file diff --git a/plugins/kotlin/j2k/k1.old.post-processing/BUILD.bazel b/plugins/kotlin/j2k/k1.old.post-processing/BUILD.bazel index 65b15c89449e..aa960e77a8c7 100644 --- a/plugins/kotlin/j2k/k1.old.post-processing/BUILD.bazel +++ b/plugins/kotlin/j2k/k1.old.post-processing/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_k1.old.post-processing", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -23,7 +23,7 @@ jvm_library( module_name = "kotlin.j2k.k1.old.post-processing", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k1.old.post-processing", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-analysis-api", diff --git a/plugins/kotlin/j2k/k1.old/BUILD.bazel b/plugins/kotlin/j2k/k1.old/BUILD.bazel index aa4ffc6abcd1..af5e7165adbf 100644 --- a/plugins/kotlin/j2k/k1.old/BUILD.bazel +++ b/plugins/kotlin/j2k/k1.old/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_k1.old", context_receivers = True ) @@ -18,7 +18,7 @@ jvm_library( module_name = "kotlin.j2k.k1.old", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k1.old", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/j2k/k2/BUILD.bazel b/plugins/kotlin/j2k/k2/BUILD.bazel index b421d8e14c40..a155646d8cd2 100644 --- a/plugins/kotlin/j2k/k2/BUILD.bazel +++ b/plugins/kotlin/j2k/k2/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_k2", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -22,7 +22,7 @@ jvm_library( module_name = "kotlin.j2k.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-analysis-api", diff --git a/plugins/kotlin/j2k/k2/tests/BUILD.bazel b/plugins/kotlin/j2k/k2/tests/BUILD.bazel index e1cafddbe05a..76a3131a73b4 100644 --- a/plugins/kotlin/j2k/k2/tests/BUILD.bazel +++ b/plugins/kotlin/j2k/k2/tests/BUILD.bazel @@ -1,10 +1,9 @@ ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_tests", context_receivers = True, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -19,7 +18,7 @@ jvm_library( name = "tests_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_tests", deps = [ "//java/testFramework", "@lib//:kotlin-stdlib", @@ -47,9 +46,13 @@ jvm_library( "//plugins/kotlin/tests-common:tests-common_test_lib", ] ) +### auto-generated section `build kotlin.j2k.k2.tests` end + +### auto-generated section `test kotlin.j2k.k2.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.j2k.k2.tests` end \ No newline at end of file +### auto-generated section `test kotlin.j2k.k2.tests` end \ No newline at end of file diff --git a/plugins/kotlin/j2k/shared/BUILD.bazel b/plugins/kotlin/j2k/shared/BUILD.bazel index cb4b3b196eef..995f917cd093 100644 --- a/plugins/kotlin/j2k/shared/BUILD.bazel +++ b/plugins/kotlin/j2k/shared/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_shared", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -22,7 +22,7 @@ jvm_library( module_name = "kotlin.j2k.shared", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_shared", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-analysis-api", diff --git a/plugins/kotlin/j2k/shared/tests/BUILD.bazel b/plugins/kotlin/j2k/shared/tests/BUILD.bazel index 79e3b2b44b58..e982473bdbab 100644 --- a/plugins/kotlin/j2k/shared/tests/BUILD.bazel +++ b/plugins/kotlin/j2k/shared/tests/BUILD.bazel @@ -1,10 +1,9 @@ ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_tests", context_receivers = True ) @@ -18,7 +17,7 @@ jvm_library( name = "tests_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_tests", deps = [ "//java/testFramework", "@lib//:kotlin-stdlib", @@ -49,9 +48,13 @@ jvm_library( "//plugins/kotlin/base/code-insight/minimal", ] ) +### auto-generated section `build kotlin.j2k.shared.tests` end + +### auto-generated section `test kotlin.j2k.shared.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.j2k.shared.tests` end \ No newline at end of file +### auto-generated section `test kotlin.j2k.shared.tests` end \ No newline at end of file diff --git a/plugins/kotlin/jps/graphImplementationTests/BUILD.bazel b/plugins/kotlin/jps/graphImplementationTests/BUILD.bazel index d7eed4187336..43ef912b9bed 100644 --- a/plugins/kotlin/jps/graphImplementationTests/BUILD.bazel +++ b/plugins/kotlin/jps/graphImplementationTests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.jps.graphImplementationTests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "graphImplementationTests", @@ -37,9 +36,13 @@ jvm_library( ], runtime_deps = ["//platform/util/trove"] ) +### auto-generated section `build kotlin.jps.graphImplementationTests` end + +### auto-generated section `test kotlin.jps.graphImplementationTests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "graphImplementationTests_test", runtime_deps = [":graphImplementationTests_test_lib"] ) -### auto-generated section `build kotlin.jps.graphImplementationTests` end \ No newline at end of file +### auto-generated section `test kotlin.jps.graphImplementationTests` end \ No newline at end of file diff --git a/plugins/kotlin/jvm-debugger/core-fe10/BUILD.bazel b/plugins/kotlin/jvm-debugger/core-fe10/BUILD.bazel index edf88b59c60c..630a86b08ce0 100644 --- a/plugins/kotlin/jvm-debugger/core-fe10/BUILD.bazel +++ b/plugins/kotlin/jvm-debugger/core-fe10/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_core-fe10", context_receivers = True, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -13,7 +13,7 @@ jvm_library( module_name = "kotlin.jvm-debugger.core-fe10", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_core-fe10", deps = [ "@lib//:kotlin-stdlib", "@lib//:asm", diff --git a/plugins/kotlin/jvm-debugger/core/BUILD.bazel b/plugins/kotlin/jvm-debugger/core/BUILD.bazel index 9e0deb476a74..026faac63331 100644 --- a/plugins/kotlin/jvm-debugger/core/BUILD.bazel +++ b/plugins/kotlin/jvm-debugger/core/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_core", context_receivers = True, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -19,7 +19,7 @@ jvm_library( module_name = "kotlin.jvm-debugger.core", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_core", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/jvm-debugger/coroutines/BUILD.bazel b/plugins/kotlin/jvm-debugger/coroutines/BUILD.bazel index e68d918d5088..02f768bc3065 100644 --- a/plugins/kotlin/jvm-debugger/coroutines/BUILD.bazel +++ b/plugins/kotlin/jvm-debugger/coroutines/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_coroutines", context_receivers = True, opt_in = ["org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction"] ) @@ -19,7 +19,7 @@ jvm_library( module_name = "kotlin.jvm-debugger.coroutines", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_coroutines", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/jvm-debugger/eval4j/BUILD.bazel b/plugins/kotlin/jvm-debugger/eval4j/BUILD.bazel index 674792be4957..e13744b84ffa 100644 --- a/plugins/kotlin/jvm-debugger/eval4j/BUILD.bazel +++ b/plugins/kotlin/jvm-debugger/eval4j/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.jvm-debugger.eval4j` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "eval4j", @@ -33,6 +32,10 @@ jvm_library( "//java/debugger/impl", ] ) +### auto-generated section `build kotlin.jvm-debugger.eval4j` end + +### auto-generated section `test kotlin.jvm-debugger.eval4j` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "eval4j_test", @@ -41,4 +44,4 @@ jps_test( "//:main_test_lib", ] ) -### auto-generated section `build kotlin.jvm-debugger.eval4j` end \ No newline at end of file +### auto-generated section `test kotlin.jvm-debugger.eval4j` end \ No newline at end of file diff --git a/plugins/kotlin/jvm-debugger/evaluation/k1/BUILD.bazel b/plugins/kotlin/jvm-debugger/evaluation/k1/BUILD.bazel index ef8fab04f381..20f003ffbf0e 100644 --- a/plugins/kotlin/jvm-debugger/evaluation/k1/BUILD.bazel +++ b/plugins/kotlin/jvm-debugger/evaluation/k1/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_k1", opt_in = ["org.jetbrains.kotlin.analysis.api.KaNonPublicApi"] ) @@ -12,7 +12,7 @@ jvm_library( module_name = "kotlin.jvm-debugger.evaluation.k1", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_k1", deps = [ "//platform/analysis-api:analysis", "//platform/core-api:core", diff --git a/plugins/kotlin/jvm-debugger/test/BUILD.bazel b/plugins/kotlin/jvm-debugger/test/BUILD.bazel index dbc5a0ef7cf8..6fbca34b8ef3 100644 --- a/plugins/kotlin/jvm-debugger/test/BUILD.bazel +++ b/plugins/kotlin/jvm-debugger/test/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.jvm-debugger.test` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "test", @@ -94,6 +93,10 @@ jvm_library( "//plugins/kotlin/gradle/gradle", ] ) +### auto-generated section `build kotlin.jvm-debugger.test` end + +### auto-generated section `test kotlin.jvm-debugger.test` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "test_test", @@ -102,4 +105,4 @@ jps_test( "//:main_test_lib", ] ) -### auto-generated section `build kotlin.jvm-debugger.test` end \ No newline at end of file +### auto-generated section `test kotlin.jvm-debugger.test` end \ No newline at end of file diff --git a/plugins/kotlin/jvm-debugger/test/compose/BUILD.bazel b/plugins/kotlin/jvm-debugger/test/compose/BUILD.bazel index 3fef6fb1173a..a947504e170a 100644 --- a/plugins/kotlin/jvm-debugger/test/compose/BUILD.bazel +++ b/plugins/kotlin/jvm-debugger/test/compose/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.jvm-debugger.test.compose.k2` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "kotlin-jvm-debugger-test-compose-k2", @@ -35,6 +34,10 @@ jvm_library( "//plugins/kotlin/tests-compose:tests-compose_test_lib", ] ) +### auto-generated section `build kotlin.jvm-debugger.test.compose.k2` end + +### auto-generated section `test kotlin.jvm-debugger.test.compose.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-jvm-debugger-test-compose-k2_test", @@ -43,4 +46,4 @@ jps_test( "//:main_test_lib", ] ) -### auto-generated section `build kotlin.jvm-debugger.test.compose.k2` end \ No newline at end of file +### auto-generated section `test kotlin.jvm-debugger.test.compose.k2` end \ No newline at end of file diff --git a/plugins/kotlin/jvm-debugger/test/k2/BUILD.bazel b/plugins/kotlin/jvm-debugger/test/k2/BUILD.bazel index 8e3538d898ea..5d4fe82fc103 100644 --- a/plugins/kotlin/jvm-debugger/test/k2/BUILD.bazel +++ b/plugins/kotlin/jvm-debugger/test/k2/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.jvm-debugger.test.k2` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "k2", @@ -77,6 +76,10 @@ jvm_library( "//plugins/kotlin/gradle/gradle", ] ) +### auto-generated section `build kotlin.jvm-debugger.test.k2` end + +### auto-generated section `test kotlin.jvm-debugger.test.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "k2_test", @@ -85,4 +88,4 @@ jps_test( "//:main_test_lib", ] ) -### auto-generated section `build kotlin.jvm-debugger.test.k2` end \ No newline at end of file +### auto-generated section `test kotlin.jvm-debugger.test.k2` end \ No newline at end of file diff --git a/plugins/kotlin/jvm-debugger/test/parcelize/BUILD.bazel b/plugins/kotlin/jvm-debugger/test/parcelize/BUILD.bazel index eb2b1dc8b34a..57f9800116a1 100644 --- a/plugins/kotlin/jvm-debugger/test/parcelize/BUILD.bazel +++ b/plugins/kotlin/jvm-debugger/test/parcelize/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.jvm-debugger.test.parcelize.k2` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "kotlin-jvm-debugger-test-parcelize-k2", @@ -31,6 +30,10 @@ jvm_library( "//android/streaming", ] ) +### auto-generated section `build kotlin.jvm-debugger.test.parcelize.k2` end + +### auto-generated section `test kotlin.jvm-debugger.test.parcelize.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-jvm-debugger-test-parcelize-k2_test", @@ -39,4 +42,4 @@ jps_test( "//:main_test_lib", ] ) -### auto-generated section `build kotlin.jvm-debugger.test.parcelize.k2` end \ No newline at end of file +### auto-generated section `test kotlin.jvm-debugger.test.parcelize.k2` end \ No newline at end of file diff --git a/plugins/kotlin/jvm/shared/BUILD.bazel b/plugins/kotlin/jvm/shared/BUILD.bazel index f61b82ea70f1..8db17ec5563d 100644 --- a/plugins/kotlin/jvm/shared/BUILD.bazel +++ b/plugins/kotlin/jvm/shared/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_shared", opt_in = [ "org.jetbrains.kotlin.idea.base.util.K1ModeProjectStructureApi", "org.jetbrains.kotlin.analysis.api.KaNonPublicApi", @@ -22,7 +22,7 @@ jvm_library( module_name = "kotlin.jvm.shared", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_shared", deps = [ "@lib//:kotlin-stdlib", "//platform/analysis-api:analysis", diff --git a/plugins/kotlin/kotlin.lombok.tests/BUILD.bazel b/plugins/kotlin/kotlin.lombok.tests/BUILD.bazel index add758fd6c81..d19d20337854 100644 --- a/plugins/kotlin/kotlin.lombok.tests/BUILD.bazel +++ b/plugins/kotlin/kotlin.lombok.tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.k2.lombok.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "k2-lombok-tests", @@ -30,9 +29,13 @@ jvm_library( "//java/openapi:java", ] ) +### auto-generated section `build kotlin.k2.lombok.tests` end + +### auto-generated section `test kotlin.k2.lombok.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "k2-lombok-tests_test", runtime_deps = [":k2-lombok-tests_test_lib"] ) -### auto-generated section `build kotlin.k2.lombok.tests` end \ No newline at end of file +### auto-generated section `test kotlin.k2.lombok.tests` end \ No newline at end of file diff --git a/plugins/kotlin/kotlin.searching/BUILD.bazel b/plugins/kotlin/kotlin.searching/BUILD.bazel index 820b6463b911..0e952963638a 100644 --- a/plugins/kotlin/kotlin.searching/BUILD.bazel +++ b/plugins/kotlin/kotlin.searching/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_searching-k2", context_receivers = True, opt_in = ["org.jetbrains.kotlin.analysis.api.KaIdeApi"] ) @@ -19,7 +19,7 @@ jvm_library( module_name = "kotlin.searching.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_searching-k2", deps = [ "@lib//:kotlin-stdlib", "//java/java-psi-api:psi", diff --git a/plugins/kotlin/kotlin.searching/base/BUILD.bazel b/plugins/kotlin/kotlin.searching/base/BUILD.bazel index 21b884414e4d..65ffda038daf 100644 --- a/plugins/kotlin/kotlin.searching/base/BUILD.bazel +++ b/plugins/kotlin/kotlin.searching/base/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_base", opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", "org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction", @@ -15,7 +15,7 @@ jvm_library( module_name = "kotlin.searching.base", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_base", deps = [ "@lib//:kotlin-stdlib", "//java/java-indexing-api:indexing", 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 5948cad7ef2e..3bd43c060a6b 100644 --- a/plugins/kotlin/kotlin.searching/kotlin.searching.test.k2/BUILD.bazel +++ b/plugins/kotlin/kotlin.searching/kotlin.searching.test.k2/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.searching.test.k2` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "test-k2", @@ -34,9 +33,13 @@ jvm_library( ], runtime_deps = ["//plugins/kotlin/fir"] ) +### auto-generated section `build kotlin.searching.test.k2` end + +### auto-generated section `test kotlin.searching.test.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "test-k2_test", runtime_deps = [":test-k2_test_lib"] ) -### auto-generated section `build kotlin.searching.test.k2` end \ No newline at end of file +### auto-generated section `test kotlin.searching.test.k2` end \ No newline at end of file diff --git a/plugins/kotlin/maven/tests/BUILD.bazel b/plugins/kotlin/maven/tests/BUILD.bazel index b4bcd35f8718..34fec22b5d0e 100644 --- a/plugins/kotlin/maven/tests/BUILD.bazel +++ b/plugins/kotlin/maven/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.maven.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -77,9 +76,13 @@ jvm_library( "//plugins/kotlin/compiler-plugins/kotlinx-serialization/maven", ] ) +### auto-generated section `build kotlin.maven.tests` end + +### auto-generated section `test kotlin.maven.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.maven.tests` end \ No newline at end of file +### auto-generated section `test kotlin.maven.tests` end \ No newline at end of file diff --git a/plugins/kotlin/ml-completion/tests/BUILD.bazel b/plugins/kotlin/ml-completion/tests/BUILD.bazel index 867d201a667c..6049849fc750 100644 --- a/plugins/kotlin/ml-completion/tests/BUILD.bazel +++ b/plugins/kotlin/ml-completion/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.ml-completion.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -20,9 +19,13 @@ jvm_library( ], runtime_deps = ["//plugins/kotlin/plugin/k1"] ) +### auto-generated section `build kotlin.ml-completion.tests` end + +### auto-generated section `test kotlin.ml-completion.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.ml-completion.tests` end \ No newline at end of file +### auto-generated section `test kotlin.ml-completion.tests` end \ No newline at end of file diff --git a/plugins/kotlin/native/tests/BUILD.bazel b/plugins/kotlin/native/tests/BUILD.bazel index 61fd9f886e25..dc36ac51bb29 100644 --- a/plugins/kotlin/native/tests/BUILD.bazel +++ b/plugins/kotlin/native/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.native.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -27,9 +26,13 @@ jvm_library( ], runtime_deps = ["//platform/core-api:core"] ) +### auto-generated section `build kotlin.native.tests` end + +### auto-generated section `test kotlin.native.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.native.tests` end \ No newline at end of file +### auto-generated section `test kotlin.native.tests` end \ No newline at end of file diff --git a/plugins/kotlin/navigation/BUILD.bazel b/plugins/kotlin/navigation/BUILD.bazel index ebb34d08bb74..5910b6aae171 100644 --- a/plugins/kotlin/navigation/BUILD.bazel +++ b/plugins/kotlin/navigation/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_navigation", opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", "org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction", @@ -21,7 +21,7 @@ jvm_library( module_name = "kotlin.navigation", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_navigation", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/navigation/tests/BUILD.bazel b/plugins/kotlin/navigation/tests/BUILD.bazel index 319150e7ac79..0b7b3bcc92ef 100644 --- a/plugins/kotlin/navigation/tests/BUILD.bazel +++ b/plugins/kotlin/navigation/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.navigation.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -42,9 +41,13 @@ jvm_library( "//plugins/kotlin/base/project-structure:project-structure_test_lib", ] ) +### auto-generated section `build kotlin.navigation.tests` end + +### auto-generated section `test kotlin.navigation.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.navigation.tests` end \ No newline at end of file +### auto-generated section `test kotlin.navigation.tests` end \ No newline at end of file diff --git a/plugins/kotlin/onboarding-gradle/BUILD.bazel b/plugins/kotlin/onboarding-gradle/BUILD.bazel index 0a142edc62f6..5d7770038475 100644 --- a/plugins/kotlin/onboarding-gradle/BUILD.bazel +++ b/plugins/kotlin/onboarding-gradle/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.onboarding.gradle` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "onboarding-gradle_resources", @@ -81,9 +80,13 @@ jvm_library( ], runtime_deps = [":onboarding-gradle_resources"] ) +### auto-generated section `build kotlin.onboarding.gradle` end + +### auto-generated section `test kotlin.onboarding.gradle` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "onboarding-gradle_test", runtime_deps = [":onboarding-gradle_test_lib"] ) -### auto-generated section `build kotlin.onboarding.gradle` end \ No newline at end of file +### auto-generated section `test kotlin.onboarding.gradle` end \ No newline at end of file diff --git a/plugins/kotlin/onboarding/BUILD.bazel b/plugins/kotlin/onboarding/BUILD.bazel index 45850a762381..58db6a47e170 100644 --- a/plugins/kotlin/onboarding/BUILD.bazel +++ b/plugins/kotlin/onboarding/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.onboarding` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "onboarding_resources", @@ -83,9 +82,13 @@ jvm_library( ], runtime_deps = [":onboarding_resources"] ) +### auto-generated section `build kotlin.onboarding` end + +### auto-generated section `test kotlin.onboarding` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "onboarding_test", runtime_deps = [":onboarding_test_lib"] ) -### auto-generated section `build kotlin.onboarding` end \ No newline at end of file +### auto-generated section `test kotlin.onboarding` end \ No newline at end of file diff --git a/plugins/kotlin/performance-tests/BUILD.bazel b/plugins/kotlin/performance-tests/BUILD.bazel index cba55b705fc7..45854ad93272 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "performance-tests_resources", @@ -94,9 +93,13 @@ jvm_library( "//plugins/kotlin/compiler-plugins/lombok/gradle", ] ) +### auto-generated section `build kotlin.performance-tests` end + +### auto-generated section `test kotlin.performance-tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "performance-tests_test", runtime_deps = [":performance-tests_test_lib"] ) -### auto-generated section `build kotlin.performance-tests` end \ No newline at end of file +### auto-generated section `test kotlin.performance-tests` end \ No newline at end of file diff --git a/plugins/kotlin/performance-tests/performance-test-utils/BUILD.bazel b/plugins/kotlin/performance-tests/performance-test-utils/BUILD.bazel index 74eac08487d8..69288593e55d 100644 --- a/plugins/kotlin/performance-tests/performance-test-utils/BUILD.bazel +++ b/plugins/kotlin/performance-tests/performance-test-utils/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.performance-tests.performance-test-utils` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "performance-test-utils", @@ -64,9 +63,13 @@ jvm_library( ], runtime_deps = ["//plugins/kotlin/compiler-plugins/lombok/gradle"] ) +### auto-generated section `build kotlin.performance-tests.performance-test-utils` end + +### auto-generated section `test kotlin.performance-tests.performance-test-utils` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "performance-test-utils_test", runtime_deps = [":performance-test-utils_test_lib"] ) -### auto-generated section `build kotlin.performance-tests.performance-test-utils` end \ No newline at end of file +### auto-generated section `test kotlin.performance-tests.performance-test-utils` end \ No newline at end of file diff --git a/plugins/kotlin/project-wizard/compose/BUILD.bazel b/plugins/kotlin/project-wizard/compose/BUILD.bazel index 0e45533060c4..81d5734f0340 100644 --- a/plugins/kotlin/project-wizard/compose/BUILD.bazel +++ b/plugins/kotlin/project-wizard/compose/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.project-wizard.compose` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "compose_resources", @@ -69,9 +68,13 @@ jvm_library( ":compose_test_resources", ] ) +### auto-generated section `build kotlin.project-wizard.compose` end + +### auto-generated section `test kotlin.project-wizard.compose` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "compose_test", runtime_deps = [":compose_test_lib"] ) -### auto-generated section `build kotlin.project-wizard.compose` end \ No newline at end of file +### auto-generated section `test kotlin.project-wizard.compose` end \ No newline at end of file diff --git a/plugins/kotlin/project-wizard/core/BUILD.bazel b/plugins/kotlin/project-wizard/core/BUILD.bazel index 7ec9c595223b..4a7350471b0c 100644 --- a/plugins/kotlin/project-wizard/core/BUILD.bazel +++ b/plugins/kotlin/project-wizard/core/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.project-wizard.core` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "core_resources", @@ -80,9 +79,13 @@ jvm_library( ], runtime_deps = [":core_resources"] ) +### auto-generated section `build kotlin.project-wizard.core` end + +### auto-generated section `test kotlin.project-wizard.core` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "core_test", runtime_deps = [":core_test_lib"] ) -### auto-generated section `build kotlin.project-wizard.core` end \ No newline at end of file +### auto-generated section `test kotlin.project-wizard.core` end \ No newline at end of file diff --git a/plugins/kotlin/project-wizard/tests/BUILD.bazel b/plugins/kotlin/project-wizard/tests/BUILD.bazel index 96ddd142eba1..9856215ffbc4 100644 --- a/plugins/kotlin/project-wizard/tests/BUILD.bazel +++ b/plugins/kotlin/project-wizard/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.project-wizard.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -88,9 +87,13 @@ jvm_library( ], runtime_deps = ["//plugins/kotlin/plugin/k1"] ) +### auto-generated section `build kotlin.project-wizard.tests` end + +### auto-generated section `test kotlin.project-wizard.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.project-wizard.tests` end \ No newline at end of file +### auto-generated section `test kotlin.project-wizard.tests` end \ No newline at end of file diff --git a/plugins/kotlin/refactorings/kotlin.refactorings.common.tests/BUILD.bazel b/plugins/kotlin/refactorings/kotlin.refactorings.common.tests/BUILD.bazel index 07ce45080ef5..558a565f4e8d 100644 --- a/plugins/kotlin/refactorings/kotlin.refactorings.common.tests/BUILD.bazel +++ b/plugins/kotlin/refactorings/kotlin.refactorings.common.tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.refactorings.common.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "kotlin-refactorings-common-tests", @@ -37,9 +36,13 @@ jvm_library( "//plugins/kotlin/test-framework:test-framework_test_lib", ] ) +### auto-generated section `build kotlin.refactorings.common.tests` end + +### auto-generated section `test kotlin.refactorings.common.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-refactorings-common-tests_test", runtime_deps = [":kotlin-refactorings-common-tests_test_lib"] ) -### auto-generated section `build kotlin.refactorings.common.tests` end \ No newline at end of file +### auto-generated section `test kotlin.refactorings.common.tests` end \ No newline at end of file diff --git a/plugins/kotlin/refactorings/kotlin.refactorings.common/BUILD.bazel b/plugins/kotlin/refactorings/kotlin.refactorings.common/BUILD.bazel index 0ecbf46858e9..0cca36a10fe5 100644 --- a/plugins/kotlin/refactorings/kotlin.refactorings.common/BUILD.bazel +++ b/plugins/kotlin/refactorings/kotlin.refactorings.common/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-refactorings-common", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -16,7 +16,7 @@ jvm_library( module_name = "kotlin.refactorings.common", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-refactorings-common", deps = [ "//java/java-indexing-api:indexing", "//platform/analysis-api:analysis", diff --git a/plugins/kotlin/refactorings/kotlin.refactorings.k2/BUILD.bazel b/plugins/kotlin/refactorings/kotlin.refactorings.k2/BUILD.bazel index 953beffa3189..cdfeb654f9c0 100644 --- a/plugins/kotlin/refactorings/kotlin.refactorings.k2/BUILD.bazel +++ b/plugins/kotlin/refactorings/kotlin.refactorings.k2/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-refactorings-k2", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -24,7 +24,7 @@ jvm_library( module_name = "kotlin.refactorings.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-refactorings-k2", deps = [ "//java/java-indexing-api:indexing", "//platform/analysis-api:analysis", diff --git a/plugins/kotlin/refactorings/kotlin.refactorings.move.k2/BUILD.bazel b/plugins/kotlin/refactorings/kotlin.refactorings.move.k2/BUILD.bazel index 254648aed3e5..45e44b520217 100644 --- a/plugins/kotlin/refactorings/kotlin.refactorings.move.k2/BUILD.bazel +++ b/plugins/kotlin/refactorings/kotlin.refactorings.move.k2/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.refactorings.move.k2` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-refactorings-move-k2", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction", @@ -23,7 +22,7 @@ jvm_library( module_name = "kotlin.refactorings.move.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-refactorings-move-k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", @@ -64,7 +63,7 @@ jvm_library( name = "kotlin-refactorings-move-k2_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-refactorings-move-k2", associates = [":kotlin-refactorings-move-k2"], deps = [ "@lib//:kotlin-stdlib", @@ -117,9 +116,13 @@ jvm_library( ], runtime_deps = [":kotlin-refactorings-move-k2_resources"] ) +### auto-generated section `build kotlin.refactorings.move.k2` end + +### auto-generated section `test kotlin.refactorings.move.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-refactorings-move-k2_test", runtime_deps = [":kotlin-refactorings-move-k2_test_lib"] ) -### auto-generated section `build kotlin.refactorings.move.k2` end \ No newline at end of file +### auto-generated section `test kotlin.refactorings.move.k2` end \ No newline at end of file diff --git a/plugins/kotlin/refactorings/kotlin.refactorings.tests.k2/BUILD.bazel b/plugins/kotlin/refactorings/kotlin.refactorings.tests.k2/BUILD.bazel index 4b5d38c43f9a..092daf3478e3 100644 --- a/plugins/kotlin/refactorings/kotlin.refactorings.tests.k2/BUILD.bazel +++ b/plugins/kotlin/refactorings/kotlin.refactorings.tests.k2/BUILD.bazel @@ -1,10 +1,9 @@ ### 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-refactorings-tests-k2", context_receivers = True, opt_in = ["org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction"] ) @@ -19,7 +18,7 @@ jvm_library( name = "kotlin-refactorings-tests-k2_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-refactorings-tests-k2", deps = [ "@lib//:kotlinc-kotlin-compiler-tests", "@lib//:kotlinc-kotlin-compiler-common", @@ -58,9 +57,13 @@ jvm_library( "//plugins/kotlin/idea/tests:tests_test_lib", ] ) +### auto-generated section `build kotlin.refactorings.tests.k2` end + +### auto-generated section `test kotlin.refactorings.tests.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "kotlin-refactorings-tests-k2_test", runtime_deps = [":kotlin-refactorings-tests-k2_test_lib"] ) -### auto-generated section `build kotlin.refactorings.tests.k2` end \ No newline at end of file +### auto-generated section `test kotlin.refactorings.tests.k2` end \ No newline at end of file diff --git a/plugins/kotlin/refactorings/rename.k2/BUILD.bazel b/plugins/kotlin/refactorings/rename.k2/BUILD.bazel index 6973fa4dba1d..bd89ce95c87a 100644 --- a/plugins/kotlin/refactorings/rename.k2/BUILD.bazel +++ b/plugins/kotlin/refactorings/rename.k2/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build kotlin.refactorings.rename.k2` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_rename.k2", context_receivers = True, opt_in = [ "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -24,7 +23,7 @@ jvm_library( module_name = "kotlin.refactorings.rename.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_rename.k2", deps = [ "@lib//:kotlinc-kotlin-compiler-common", "@lib//:kotlinc-analysis-api", @@ -52,7 +51,7 @@ jvm_library( name = "rename.k2_test_lib", visibility = ["//visibility:public"], srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_rename.k2", associates = [":rename.k2"], deps = [ "@lib//:kotlinc-kotlin-compiler-common", @@ -93,9 +92,13 @@ jvm_library( ], runtime_deps = [":rename.k2_resources"] ) +### auto-generated section `build kotlin.refactorings.rename.k2` end + +### auto-generated section `test kotlin.refactorings.rename.k2` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "rename.k2_test", runtime_deps = [":rename.k2_test_lib"] ) -### auto-generated section `build kotlin.refactorings.rename.k2` end \ No newline at end of file +### auto-generated section `test kotlin.refactorings.rename.k2` end \ No newline at end of file diff --git a/plugins/kotlin/repl/BUILD.bazel b/plugins/kotlin/repl/BUILD.bazel index 733c5d431d80..a6c57c33edf0 100644 --- a/plugins/kotlin/repl/BUILD.bazel +++ b/plugins/kotlin/repl/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_repl", opt_in = [ "org.jetbrains.kotlin.idea.base.util.K1ModeProjectStructureApi", "org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction", @@ -21,7 +21,7 @@ jvm_library( module_name = "kotlin.repl", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_repl", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/scripting-support/BUILD.bazel b/plugins/kotlin/scripting-support/BUILD.bazel index a63fbfffd450..f9d29ba5072a 100644 --- a/plugins/kotlin/scripting-support/BUILD.bazel +++ b/plugins/kotlin/scripting-support/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.scripting-support` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "scripting-support", @@ -58,9 +57,13 @@ jvm_library( ], runtime_deps = ["//platform/core-api:core"] ) +### auto-generated section `build kotlin.scripting-support` end + +### auto-generated section `test kotlin.scripting-support` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "scripting-support_test", runtime_deps = [":scripting-support_test_lib"] ) -### auto-generated section `build kotlin.scripting-support` end \ No newline at end of file +### auto-generated section `test kotlin.scripting-support` end \ No newline at end of file diff --git a/plugins/kotlin/scripting/BUILD.bazel b/plugins/kotlin/scripting/BUILD.bazel index 8c16ad22b796..6cd992af4330 100644 --- a/plugins/kotlin/scripting/BUILD.bazel +++ b/plugins/kotlin/scripting/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_scripting", allow_kotlin_package = True ) @@ -12,7 +12,7 @@ jvm_library( module_name = "kotlin.scripting", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_scripting", deps = [ "//platform/core-api:core", "@lib//:kotlin-stdlib", diff --git a/plugins/kotlin/test-framework/BUILD.bazel b/plugins/kotlin/test-framework/BUILD.bazel index 57ca16e5ee99..f1ade7b12e4c 100644 --- a/plugins/kotlin/test-framework/BUILD.bazel +++ b/plugins/kotlin/test-framework/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.test-framework` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "test-framework", @@ -69,9 +68,13 @@ jvm_library( "//platform/statistics/testFramework", ] ) +### auto-generated section `build kotlin.test-framework` end + +### auto-generated section `test kotlin.test-framework` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "test-framework_test", runtime_deps = [":test-framework_test_lib"] ) -### auto-generated section `build kotlin.test-framework` end \ No newline at end of file +### auto-generated section `test kotlin.test-framework` end \ No newline at end of file diff --git a/plugins/kotlin/tests-common/BUILD.bazel b/plugins/kotlin/tests-common/BUILD.bazel index 94efd6bf727c..e85d2b7e8b00 100644 --- a/plugins/kotlin/tests-common/BUILD.bazel +++ b/plugins/kotlin/tests-common/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.tests-common` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests-common", @@ -47,9 +46,13 @@ jvm_library( "//jps/model-api:model", ] ) +### auto-generated section `build kotlin.tests-common` end + +### auto-generated section `test kotlin.tests-common` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests-common_test", runtime_deps = [":tests-common_test_lib"] ) -### auto-generated section `build kotlin.tests-common` end \ No newline at end of file +### auto-generated section `test kotlin.tests-common` end \ No newline at end of file diff --git a/plugins/kotlin/tests-compose/BUILD.bazel b/plugins/kotlin/tests-compose/BUILD.bazel index 3ac90ee06c2b..f49782a5ba49 100644 --- a/plugins/kotlin/tests-compose/BUILD.bazel +++ b/plugins/kotlin/tests-compose/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.tests-compose` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests-compose", @@ -14,9 +13,13 @@ jvm_library( srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), deps = ["@lib//:kotlin-stdlib"] ) +### auto-generated section `build kotlin.tests-compose` end + +### auto-generated section `test kotlin.tests-compose` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests-compose_test", runtime_deps = [":tests-compose_test_lib"] ) -### auto-generated section `build kotlin.tests-compose` end \ No newline at end of file +### auto-generated section `test kotlin.tests-compose` end \ No newline at end of file diff --git a/plugins/kotlin/tests-from-compiler/BUILD.bazel b/plugins/kotlin/tests-from-compiler/BUILD.bazel index 1eff7ae42e8e..9aafa9d64d78 100644 --- a/plugins/kotlin/tests-from-compiler/BUILD.bazel +++ b/plugins/kotlin/tests-from-compiler/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.testsFromCompiler` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests-from-compiler", @@ -32,9 +31,13 @@ jvm_library( ], runtime_deps = ["//platform/util/trove"] ) +### auto-generated section `build kotlin.testsFromCompiler` end + +### auto-generated section `test kotlin.testsFromCompiler` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests-from-compiler_test", runtime_deps = [":tests-from-compiler_test_lib"] ) -### auto-generated section `build kotlin.testsFromCompiler` end \ No newline at end of file +### auto-generated section `test kotlin.testsFromCompiler` end \ No newline at end of file diff --git a/plugins/kotlin/uast/uast-kotlin-base/tests/BUILD.bazel b/plugins/kotlin/uast/uast-kotlin-base/tests/BUILD.bazel index fbc5f0e0d026..6e9ee026c3a6 100644 --- a/plugins/kotlin/uast/uast-kotlin-base/tests/BUILD.bazel +++ b/plugins/kotlin/uast/uast-kotlin-base/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.uast.uast-kotlin-base.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -34,9 +33,13 @@ jvm_library( "//plugins/kotlin/base/plugin:plugin_test_lib", ] ) +### auto-generated section `build kotlin.uast.uast-kotlin-base.tests` end + +### auto-generated section `test kotlin.uast.uast-kotlin-base.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.uast.uast-kotlin-base.tests` end \ No newline at end of file +### auto-generated section `test kotlin.uast.uast-kotlin-base.tests` end \ No newline at end of file diff --git a/plugins/kotlin/uast/uast-kotlin-fir/BUILD.bazel b/plugins/kotlin/uast/uast-kotlin-fir/BUILD.bazel index 3ed92d65fb71..732ba23e82ae 100644 --- a/plugins/kotlin/uast/uast-kotlin-fir/BUILD.bazel +++ b/plugins/kotlin/uast/uast-kotlin-fir/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-uast-uast-kotlin-k2", jvm_target = 11, context_receivers = True, opt_in = [ @@ -17,7 +17,7 @@ jvm_library( module_name = "kotlin.uast.uast-kotlin.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-uast-uast-kotlin-k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/uast/uast-kotlin-fir/tests/BUILD.bazel b/plugins/kotlin/uast/uast-kotlin-fir/tests/BUILD.bazel index 7dfd6c991320..39f1b6d91717 100644 --- a/plugins/kotlin/uast/uast-kotlin-fir/tests/BUILD.bazel +++ b/plugins/kotlin/uast/uast-kotlin-fir/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.uast.uast-kotlin.k2.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -49,9 +48,13 @@ jvm_library( "//plugins/kotlin/uast/uast-kotlin-idea-fir:kotlin-uast-uast-kotlin-idea-k2", ] ) +### auto-generated section `build kotlin.uast.uast-kotlin.k2.tests` end + +### auto-generated section `test kotlin.uast.uast-kotlin.k2.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.uast.uast-kotlin.k2.tests` end \ No newline at end of file +### auto-generated section `test kotlin.uast.uast-kotlin.k2.tests` end \ No newline at end of file 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 371d0f9631e7..6b51e096ac70 100644 --- a/plugins/kotlin/uast/uast-kotlin-idea-base/tests/BUILD.bazel +++ b/plugins/kotlin/uast/uast-kotlin-idea-base/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.uast.uast-kotlin-idea-base.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -29,9 +28,13 @@ jvm_library( "//plugins/kotlin/uast/uast-kotlin-idea-base", ] ) +### auto-generated section `build kotlin.uast.uast-kotlin-idea-base.tests` end + +### auto-generated section `test kotlin.uast.uast-kotlin-idea-base.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.uast.uast-kotlin-idea-base.tests` end \ No newline at end of file +### auto-generated section `test kotlin.uast.uast-kotlin-idea-base.tests` end \ No newline at end of file diff --git a/plugins/kotlin/uast/uast-kotlin-idea-fir/BUILD.bazel b/plugins/kotlin/uast/uast-kotlin-idea-fir/BUILD.bazel index 138a8c315cb1..d2f204fa1cbf 100644 --- a/plugins/kotlin/uast/uast-kotlin-idea-fir/BUILD.bazel +++ b/plugins/kotlin/uast/uast-kotlin-idea-fir/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_kotlin-uast-uast-kotlin-idea-k2", opt_in = [ "org.jetbrains.kotlin.analysis.api.KaIdeApi", "org.jetbrains.kotlin.analysis.api.KaNonPublicApi", @@ -16,7 +16,7 @@ jvm_library( module_name = "kotlin.uast.uast-kotlin-idea.k2", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_kotlin-uast-uast-kotlin-idea-k2", deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", 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 573d8372e32c..0476dfc6ac75 100644 --- a/plugins/kotlin/uast/uast-kotlin-idea-fir/tests/BUILD.bazel +++ b/plugins/kotlin/uast/uast-kotlin-idea-fir/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.uast.uast-kotlin-idea.k2.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -33,9 +32,13 @@ jvm_library( "//plugins/kotlin/uast/uast-kotlin-fir/tests:tests_test_lib", ] ) +### auto-generated section `build kotlin.uast.uast-kotlin-idea.k2.tests` end + +### auto-generated section `test kotlin.uast.uast-kotlin-idea.k2.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.uast.uast-kotlin-idea.k2.tests` end \ No newline at end of file +### auto-generated section `test kotlin.uast.uast-kotlin-idea.k2.tests` end \ No newline at end of file diff --git a/plugins/kotlin/uast/uast-kotlin-idea/tests/BUILD.bazel b/plugins/kotlin/uast/uast-kotlin-idea/tests/BUILD.bazel index 8ada0e5fd1e1..5615f55c684a 100644 --- a/plugins/kotlin/uast/uast-kotlin-idea/tests/BUILD.bazel +++ b/plugins/kotlin/uast/uast-kotlin-idea/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.uast.uast-kotlin-idea.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -45,9 +44,13 @@ jvm_library( "//plugins/kotlin/uast/uast-kotlin-idea-base", ] ) +### auto-generated section `build kotlin.uast.uast-kotlin-idea.tests` end + +### auto-generated section `test kotlin.uast.uast-kotlin-idea.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.uast.uast-kotlin-idea.tests` end \ No newline at end of file +### auto-generated section `test kotlin.uast.uast-kotlin-idea.tests` end \ No newline at end of file diff --git a/plugins/kotlin/uast/uast-kotlin/tests/BUILD.bazel b/plugins/kotlin/uast/uast-kotlin/tests/BUILD.bazel index c2d817f3baf2..56d2b0f44127 100644 --- a/plugins/kotlin/uast/uast-kotlin/tests/BUILD.bazel +++ b/plugins/kotlin/uast/uast-kotlin/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.uast.uast-kotlin.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -50,9 +49,13 @@ jvm_library( "@lib//:vavr", ] ) +### auto-generated section `build kotlin.uast.uast-kotlin.tests` end + +### auto-generated section `test kotlin.uast.uast-kotlin.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build kotlin.uast.uast-kotlin.tests` end \ No newline at end of file +### auto-generated section `test kotlin.uast.uast-kotlin.tests` end \ No newline at end of file diff --git a/plugins/kotlin/util/test-generator-all/BUILD.bazel b/plugins/kotlin/util/test-generator-all/BUILD.bazel index f8cad344b74d..ea8fdf393d90 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_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "test-generator-all_test_lib", @@ -18,9 +17,13 @@ jvm_library( "//plugins/kotlin/tests-common:tests-common_test_lib", ] ) +### auto-generated section `build kotlin.util.test-generator-all` end + +### auto-generated section `test kotlin.util.test-generator-all` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "test-generator-all_test", runtime_deps = [":test-generator-all_test_lib"] ) -### auto-generated section `build kotlin.util.test-generator-all` end \ No newline at end of file +### auto-generated section `test kotlin.util.test-generator-all` end \ No newline at end of file diff --git a/plugins/kotlin/util/test-generator-api/BUILD.bazel b/plugins/kotlin/util/test-generator-api/BUILD.bazel index a45ede8b1056..a99352ff0392 100644 --- a/plugins/kotlin/util/test-generator-api/BUILD.bazel +++ b/plugins/kotlin/util/test-generator-api/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.util.test-generator-api` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "test-generator-api", @@ -30,9 +29,13 @@ jvm_library( "//java/java-runtime:rt", ] ) +### auto-generated section `build kotlin.util.test-generator-api` end + +### auto-generated section `test kotlin.util.test-generator-api` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "test-generator-api_test", runtime_deps = [":test-generator-api_test_lib"] ) -### auto-generated section `build kotlin.util.test-generator-api` end \ No newline at end of file +### auto-generated section `test kotlin.util.test-generator-api` end \ No newline at end of file diff --git a/plugins/kotlin/util/test-generator-fe10/BUILD.bazel b/plugins/kotlin/util/test-generator-fe10/BUILD.bazel index 5dddd2381776..4357b3306413 100644 --- a/plugins/kotlin/util/test-generator-fe10/BUILD.bazel +++ b/plugins/kotlin/util/test-generator-fe10/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.util.test-generator-fe10` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "test-generator-fe10", @@ -56,9 +55,13 @@ jvm_library( "//plugins/gradle/tooling-extension-impl:toolingExtension-tests_test_lib", ] ) +### auto-generated section `build kotlin.util.test-generator-fe10` end + +### auto-generated section `test kotlin.util.test-generator-fe10` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "test-generator-fe10_test", runtime_deps = [":test-generator-fe10_test_lib"] ) -### auto-generated section `build kotlin.util.test-generator-fe10` end \ No newline at end of file +### auto-generated section `test kotlin.util.test-generator-fe10` end \ No newline at end of file diff --git a/plugins/kotlin/util/test-generator-fir/BUILD.bazel b/plugins/kotlin/util/test-generator-fir/BUILD.bazel index b2aa6f1dbc83..a5207c9e60ba 100644 --- a/plugins/kotlin/util/test-generator-fir/BUILD.bazel +++ b/plugins/kotlin/util/test-generator-fir/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build kotlin.util.test-generator-fir` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "test-generator-fir", @@ -89,9 +88,13 @@ jvm_library( "//plugins/kotlin/completion/tests-shared:kotlin-completion-tests-shared_test_lib", ] ) +### auto-generated section `build kotlin.util.test-generator-fir` end + +### auto-generated section `test kotlin.util.test-generator-fir` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "test-generator-fir_test", runtime_deps = [":test-generator-fir_test_lib"] ) -### auto-generated section `build kotlin.util.test-generator-fir` end \ No newline at end of file +### auto-generated section `test kotlin.util.test-generator-fir` end \ No newline at end of file diff --git a/plugins/lombok/BUILD.bazel b/plugins/lombok/BUILD.bazel index 8e7e0e6c9ea0..90821b7fc2f9 100644 --- a/plugins/lombok/BUILD.bazel +++ b/plugins/lombok/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.lombok` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "lombok_resources", @@ -100,9 +99,13 @@ jvm_library( ":lombok_test_resources_1", ] ) +### auto-generated section `build intellij.lombok` end + +### auto-generated section `test intellij.lombok` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "lombok_test", runtime_deps = [":lombok_test_lib"] ) -### auto-generated section `build intellij.lombok` end \ No newline at end of file +### auto-generated section `test intellij.lombok` end \ No newline at end of file diff --git a/plugins/markdown/test/BUILD.bazel b/plugins/markdown/test/BUILD.bazel index 40bdd6f591a5..9edf2bf64f19 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "tests_test_resources", @@ -67,9 +66,13 @@ jvm_library( ], runtime_deps = [":tests_test_resources"] ) +### auto-generated section `build intellij.markdown.tests` end + +### auto-generated section `test intellij.markdown.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.markdown.tests` end \ No newline at end of file +### auto-generated section `test intellij.markdown.tests` end \ No newline at end of file diff --git a/plugins/maven/jps-plugin/BUILD.bazel b/plugins/maven/jps-plugin/BUILD.bazel index dcb996938833..8e9ce9a38c31 100644 --- a/plugins/maven/jps-plugin/BUILD.bazel +++ b/plugins/maven/jps-plugin/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.maven.jps` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "jps_resources", @@ -50,9 +49,13 @@ jvm_library( ], runtime_deps = [":jps_resources"] ) +### auto-generated section `build intellij.maven.jps` end + +### auto-generated section `test intellij.maven.jps` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "jps_test", runtime_deps = [":jps_test_lib"] ) -### auto-generated section `build intellij.maven.jps` end \ No newline at end of file +### auto-generated section `test intellij.maven.jps` end \ No newline at end of file diff --git a/plugins/maven/maven-event-listener/BUILD.bazel b/plugins/maven/maven-event-listener/BUILD.bazel index 4229024316b0..6e6b524d5cd1 100644 --- a/plugins/maven/maven-event-listener/BUILD.bazel +++ b/plugins/maven/maven-event-listener/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.maven.server.eventListener` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "server-eventListener_resources", @@ -34,9 +33,13 @@ jvm_library( ], runtime_deps = [":server-eventListener_resources"] ) +### auto-generated section `build intellij.maven.server.eventListener` end + +### auto-generated section `test intellij.maven.server.eventListener` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "server-eventListener_test", runtime_deps = [":server-eventListener_test_lib"] ) -### auto-generated section `build intellij.maven.server.eventListener` end \ No newline at end of file +### auto-generated section `test intellij.maven.server.eventListener` end \ No newline at end of file diff --git a/plugins/maven/src/test/BUILD.bazel b/plugins/maven/src/test/BUILD.bazel index 87c56d1fdca1..f0b24a1d458c 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "maven-tests_test_resources", @@ -76,9 +75,13 @@ jvm_library( ], runtime_deps = [":maven-tests_test_resources"] ) +### auto-generated section `build intellij.maven.tests` end + +### auto-generated section `test intellij.maven.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "maven-tests_test", runtime_deps = [":maven-tests_test_lib"] ) -### auto-generated section `build intellij.maven.tests` end \ No newline at end of file +### auto-generated section `test intellij.maven.tests` end \ No newline at end of file diff --git a/plugins/mcp-server/BUILD.bazel b/plugins/mcp-server/BUILD.bazel index 079cfaa1243f..b3323560d22f 100644 --- a/plugins/mcp-server/BUILD.bazel +++ b/plugins/mcp-server/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.mcpserver` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "mcpserver_resources", @@ -162,9 +161,13 @@ jvm_library( ":mcpserver_test_resources", ] ) +### auto-generated section `build intellij.mcpserver` end + +### auto-generated section `test intellij.mcpserver` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "mcpserver_test", runtime_deps = [":mcpserver_test_lib"] ) -### auto-generated section `build intellij.mcpserver` end \ No newline at end of file +### auto-generated section `test intellij.mcpserver` end \ No newline at end of file diff --git a/plugins/performanceTesting/core/BUILD.bazel b/plugins/performanceTesting/core/BUILD.bazel index a0d3d4ab1a53..8126ea23385f 100644 --- a/plugins/performanceTesting/core/BUILD.bazel +++ b/plugins/performanceTesting/core/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.performanceTesting` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "performanceTesting_resources", @@ -131,9 +130,13 @@ jvm_library( ], runtime_deps = [":performanceTesting_resources"] ) +### auto-generated section `build intellij.performanceTesting` end + +### auto-generated section `test intellij.performanceTesting` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "performanceTesting_test", runtime_deps = [":performanceTesting_test_lib"] ) -### auto-generated section `build intellij.performanceTesting` end \ No newline at end of file +### auto-generated section `test intellij.performanceTesting` end \ No newline at end of file diff --git a/plugins/performanceTesting/event-bus/BUILD.bazel b/plugins/performanceTesting/event-bus/BUILD.bazel index 7d463db26a54..166d568a18e4 100644 --- a/plugins/performanceTesting/event-bus/BUILD.bazel +++ b/plugins/performanceTesting/event-bus/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.tools.ide.starter.bus` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "tools-ide-starter-bus_resources", @@ -40,9 +39,13 @@ jvm_library( ], runtime_deps = [":tools-ide-starter-bus_resources"] ) +### auto-generated section `build intellij.tools.ide.starter.bus` end + +### auto-generated section `test intellij.tools.ide.starter.bus` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tools-ide-starter-bus_test", runtime_deps = [":tools-ide-starter-bus_test_lib"] ) -### auto-generated section `build intellij.tools.ide.starter.bus` end \ No newline at end of file +### auto-generated section `test intellij.tools.ide.starter.bus` end \ No newline at end of file diff --git a/plugins/performanceTesting/scripts-ui/BUILD.bazel b/plugins/performanceTesting/scripts-ui/BUILD.bazel index 7b240b620c35..d9bdc799a595 100644 --- a/plugins/performanceTesting/scripts-ui/BUILD.bazel +++ b/plugins/performanceTesting/scripts-ui/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.performanceTesting.ui` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "ui_resources", @@ -48,9 +47,13 @@ jvm_library( ], runtime_deps = [":ui_resources"] ) +### auto-generated section `build intellij.performanceTesting.ui` end + +### auto-generated section `test intellij.performanceTesting.ui` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ui_test", runtime_deps = [":ui_test_lib"] ) -### auto-generated section `build intellij.performanceTesting.ui` end \ No newline at end of file +### auto-generated section `test intellij.performanceTesting.ui` end \ No newline at end of file diff --git a/plugins/properties/properties-resource-bundle-editor/BUILD.bazel b/plugins/properties/properties-resource-bundle-editor/BUILD.bazel index 009afbc3caf8..c787b6efe610 100644 --- a/plugins/properties/properties-resource-bundle-editor/BUILD.bazel +++ b/plugins/properties/properties-resource-bundle-editor/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.properties.resource.bundle.editor` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "resource-bundle-editor_resources", @@ -71,9 +70,13 @@ jvm_library( ], runtime_deps = [":resource-bundle-editor_resources"] ) +### auto-generated section `build intellij.properties.resource.bundle.editor` end + +### auto-generated section `test intellij.properties.resource.bundle.editor` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "resource-bundle-editor_test", runtime_deps = [":resource-bundle-editor_test_lib"] ) -### auto-generated section `build intellij.properties.resource.bundle.editor` end \ No newline at end of file +### auto-generated section `test intellij.properties.resource.bundle.editor` end \ No newline at end of file diff --git a/plugins/properties/tests/BUILD.bazel b/plugins/properties/tests/BUILD.bazel index 9897746a5f6a..a0402f9b080b 100644 --- a/plugins/properties/tests/BUILD.bazel +++ b/plugins/properties/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.properties.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -51,9 +50,13 @@ jvm_library( "@lib//:fastutil-min", ] ) +### auto-generated section `build intellij.properties.tests` end + +### auto-generated section `test intellij.properties.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.properties.tests` end \ No newline at end of file +### auto-generated section `test intellij.properties.tests` end \ No newline at end of file diff --git a/plugins/rareJavaRefactorings/BUILD.bazel b/plugins/rareJavaRefactorings/BUILD.bazel index 3af6fc8f17f5..74e051f750d9 100644 --- a/plugins/rareJavaRefactorings/BUILD.bazel +++ b/plugins/rareJavaRefactorings/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.rareRefactorings` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "java-rareRefactorings_resources", @@ -62,9 +61,13 @@ jvm_library( ], runtime_deps = [":java-rareRefactorings_resources"] ) +### auto-generated section `build intellij.java.rareRefactorings` end + +### auto-generated section `test intellij.java.rareRefactorings` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "java-rareRefactorings_test", runtime_deps = [":java-rareRefactorings_test_lib"] ) -### auto-generated section `build intellij.java.rareRefactorings` end \ No newline at end of file +### auto-generated section `test intellij.java.rareRefactorings` end \ No newline at end of file diff --git a/plugins/remote-control/BUILD.bazel b/plugins/remote-control/BUILD.bazel index 6681f0e6f9b1..e04d587ed0c7 100644 --- a/plugins/remote-control/BUILD.bazel +++ b/plugins/remote-control/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.remoteControl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "remote-control_resources", @@ -60,9 +59,13 @@ jvm_library( ], runtime_deps = [":remote-control_resources"] ) +### auto-generated section `build intellij.remoteControl` end + +### auto-generated section `test intellij.remoteControl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "remote-control_test", runtime_deps = [":remote-control_test_lib"] ) -### auto-generated section `build intellij.remoteControl` end \ No newline at end of file +### auto-generated section `test intellij.remoteControl` end \ No newline at end of file diff --git a/plugins/repository-search/BUILD.bazel b/plugins/repository-search/BUILD.bazel index 96429ccbe483..2af3f9cc7d49 100644 --- a/plugins/repository-search/BUILD.bazel +++ b/plugins/repository-search/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.repository.search` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_repository-search", opt_in = [ "kotlinx.serialization.InternalSerializationApi", "kotlinx.serialization.ExperimentalSerializationApi", @@ -29,7 +28,7 @@ jvm_library( module_name = "intellij.repository.search", visibility = ["//visibility:public"], srcs = glob(["src/main/java/**/*.kt", "src/main/java/**/*.java", "src/main/kotlin/**/*.kt", "src/main/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_repository-search", deps = [ "//platform/core-api:core", "//platform/platform-api:ide", @@ -61,7 +60,7 @@ jvm_library( name = "repository-search_test_lib", visibility = ["//visibility:public"], srcs = glob(["src/test/kotlin/**/*.kt", "src/test/kotlin/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_repository-search", associates = [":repository-search"], deps = [ "//platform/core-api:core", @@ -98,9 +97,13 @@ jvm_library( ":repository-search_test_resources", ] ) +### auto-generated section `build intellij.repository.search` end + +### auto-generated section `test intellij.repository.search` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "repository-search_test", runtime_deps = [":repository-search_test_lib"] ) -### auto-generated section `build intellij.repository.search` end \ No newline at end of file +### auto-generated section `test intellij.repository.search` end \ No newline at end of file diff --git a/plugins/search-everywhere-ml/BUILD.bazel b/plugins/search-everywhere-ml/BUILD.bazel index 936a0b800106..177bbf124c34 100644 --- a/plugins/search-everywhere-ml/BUILD.bazel +++ b/plugins/search-everywhere-ml/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.searchEverywhereMl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "search-everywhere-ml_resources", @@ -48,9 +47,13 @@ jvm_library( ], runtime_deps = [":search-everywhere-ml_resources"] ) +### auto-generated section `build intellij.searchEverywhereMl` end + +### auto-generated section `test intellij.searchEverywhereMl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "search-everywhere-ml_test", runtime_deps = [":search-everywhere-ml_test_lib"] ) -### auto-generated section `build intellij.searchEverywhereMl` end \ No newline at end of file +### auto-generated section `test intellij.searchEverywhereMl` end \ No newline at end of file diff --git a/plugins/search-everywhere-ml/ranking/core/BUILD.bazel b/plugins/search-everywhere-ml/ranking/core/BUILD.bazel index 17d1f036431e..72c31eba28b6 100644 --- a/plugins/search-everywhere-ml/ranking/core/BUILD.bazel +++ b/plugins/search-everywhere-ml/ranking/core/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.searchEverywhereMl.ranking.core` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "core_resources", @@ -101,9 +100,13 @@ jvm_library( ], runtime_deps = [":core_resources"] ) +### auto-generated section `build intellij.searchEverywhereMl.ranking.core` end + +### auto-generated section `test intellij.searchEverywhereMl.ranking.core` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "core_test", runtime_deps = [":core_test_lib"] ) -### auto-generated section `build intellij.searchEverywhereMl.ranking.core` end \ No newline at end of file +### auto-generated section `test intellij.searchEverywhereMl.ranking.core` end \ No newline at end of file diff --git a/plugins/search-everywhere-ml/typos/BUILD.bazel b/plugins/search-everywhere-ml/typos/BUILD.bazel index 76a8bbd94afa..e71acbd0eb29 100644 --- a/plugins/search-everywhere-ml/typos/BUILD.bazel +++ b/plugins/search-everywhere-ml/typos/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.searchEverywhereMl.typos` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "typos_resources", @@ -63,9 +62,13 @@ jvm_library( ], runtime_deps = [":typos_resources"] ) +### auto-generated section `build intellij.searchEverywhereMl.typos` end + +### auto-generated section `test intellij.searchEverywhereMl.typos` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "typos_test", runtime_deps = [":typos_test_lib"] ) -### auto-generated section `build intellij.searchEverywhereMl.typos` end \ No newline at end of file +### auto-generated section `test intellij.searchEverywhereMl.typos` end \ No newline at end of file diff --git a/plugins/settings-repository/BUILD.bazel b/plugins/settings-repository/BUILD.bazel index c2ee961e1b2b..bceb69bdc709 100644 --- a/plugins/settings-repository/BUILD.bazel +++ b/plugins/settings-repository/BUILD.bazel @@ -56,9 +56,6 @@ jvm_library( ### auto-generated section `build intellij.settingsRepository` end ### auto-generated section `build intellij.settingsRepository.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "settingsRepository-tests_test_lib", visibility = ["//visibility:public"], @@ -92,9 +89,13 @@ jvm_library( "//platform/workspace/jps", ] ) +### auto-generated section `build intellij.settingsRepository.tests` end + +### auto-generated section `test intellij.settingsRepository.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "settingsRepository-tests_test", runtime_deps = [":settingsRepository-tests_test_lib"] ) -### auto-generated section `build intellij.settingsRepository.tests` end \ No newline at end of file +### auto-generated section `test intellij.settingsRepository.tests` end \ No newline at end of file diff --git a/plugins/settings-sync/jba/BUILD.bazel b/plugins/settings-sync/jba/BUILD.bazel index 0c4e1effdfc8..d91ab9221731 100644 --- a/plugins/settings-sync/jba/BUILD.bazel +++ b/plugins/settings-sync/jba/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.settingsSync` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "settingsSync_resources", @@ -62,9 +61,13 @@ jvm_library( ], runtime_deps = [":settingsSync_resources"] ) +### auto-generated section `build intellij.settingsSync` end + +### auto-generated section `test intellij.settingsSync` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "settingsSync_test", runtime_deps = [":settingsSync_test_lib"] ) -### auto-generated section `build intellij.settingsSync` end \ No newline at end of file +### auto-generated section `test intellij.settingsSync` end \ No newline at end of file diff --git a/plugins/sh/copyright/BUILD.bazel b/plugins/sh/copyright/BUILD.bazel index 797fb7d502e7..b1ccdf6a492c 100644 --- a/plugins/sh/copyright/BUILD.bazel +++ b/plugins/sh/copyright/BUILD.bazel @@ -25,9 +25,6 @@ jvm_library( ### auto-generated section `build intellij.sh.copyright` end ### auto-generated section `build intellij.sh.copyright.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "copyright-tests_test_lib", visibility = ["//visibility:public"], @@ -43,9 +40,13 @@ jvm_library( "//platform/testFramework:testFramework_test_lib", ] ) +### auto-generated section `build intellij.sh.copyright.tests` end + +### auto-generated section `test intellij.sh.copyright.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "copyright-tests_test", runtime_deps = [":copyright-tests_test_lib"] ) -### auto-generated section `build intellij.sh.copyright.tests` end \ No newline at end of file +### auto-generated section `test intellij.sh.copyright.tests` end \ No newline at end of file diff --git a/plugins/sh/core/BUILD.bazel b/plugins/sh/core/BUILD.bazel index f0775a72ec48..ffafdd0ec044 100644 --- a/plugins/sh/core/BUILD.bazel +++ b/plugins/sh/core/BUILD.bazel @@ -48,9 +48,6 @@ jvm_library( ### auto-generated section `build intellij.sh.core` end ### auto-generated section `build intellij.sh.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "tests", visibility = ["//visibility:public"], @@ -79,9 +76,13 @@ jvm_library( ], runtime_deps = ["//plugins/sh"] ) +### auto-generated section `build intellij.sh.tests` end + +### auto-generated section `test intellij.sh.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.sh.tests` end \ No newline at end of file +### auto-generated section `test intellij.sh.tests` end \ No newline at end of file diff --git a/plugins/stats-collector/BUILD.bazel b/plugins/stats-collector/BUILD.bazel index 8db61525c08e..152c6400c68e 100644 --- a/plugins/stats-collector/BUILD.bazel +++ b/plugins/stats-collector/BUILD.bazel @@ -34,9 +34,6 @@ jvm_library( ### auto-generated section `build intellij.statsCollector` end ### auto-generated section `build intellij.statsCollector.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "statsCollector-tests", visibility = ["//visibility:public"], @@ -62,9 +59,13 @@ jvm_library( "//platform/core-ui", ] ) +### auto-generated section `build intellij.statsCollector.tests` end + +### auto-generated section `test intellij.statsCollector.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "statsCollector-tests_test", runtime_deps = [":statsCollector-tests_test_lib"] ) -### auto-generated section `build intellij.statsCollector.tests` end \ No newline at end of file +### auto-generated section `test intellij.statsCollector.tests` end \ No newline at end of file diff --git a/plugins/stream-debugger/BUILD.bazel b/plugins/stream-debugger/BUILD.bazel index 809c8db97dca..8667a402b22b 100644 --- a/plugins/stream-debugger/BUILD.bazel +++ b/plugins/stream-debugger/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.debugger.streams` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "java-debugger-streams_resources", @@ -66,9 +65,13 @@ jvm_library( ], runtime_deps = [":java-debugger-streams_resources"] ) +### auto-generated section `build intellij.java.debugger.streams` end + +### auto-generated section `test intellij.java.debugger.streams` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "java-debugger-streams_test", runtime_deps = [":java-debugger-streams_test_lib"] ) -### auto-generated section `build intellij.java.debugger.streams` end \ No newline at end of file +### auto-generated section `test intellij.java.debugger.streams` end \ No newline at end of file diff --git a/plugins/svn4idea/BUILD.bazel b/plugins/svn4idea/BUILD.bazel index e59b1f92753f..a6385989c2ec 100644 --- a/plugins/svn4idea/BUILD.bazel +++ b/plugins/svn4idea/BUILD.bazel @@ -53,9 +53,6 @@ jvm_library( ### auto-generated section `build intellij.vcs.svn` end ### auto-generated section `build intellij.vcs.svn.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "vcs-svn-tests", visibility = ["//visibility:public"], @@ -91,9 +88,13 @@ jvm_library( "//platform/platform-util-io:ide-util-io", ] ) +### auto-generated section `build intellij.vcs.svn.tests` end + +### auto-generated section `test intellij.vcs.svn.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "vcs-svn-tests_test", runtime_deps = [":vcs-svn-tests_test_lib"] ) -### auto-generated section `build intellij.vcs.svn.tests` end \ No newline at end of file +### auto-generated section `test intellij.vcs.svn.tests` end \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/BUILD.bazel b/plugins/tasks/tasks-tests/BUILD.bazel index 8ef5711b2f65..88d47af80f41 100644 --- a/plugins/tasks/tasks-tests/BUILD.bazel +++ b/plugins/tasks/tasks-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.tasks.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -59,9 +58,13 @@ jvm_library( ], runtime_deps = ["//spellchecker"] ) +### auto-generated section `build intellij.tasks.tests` end + +### auto-generated section `test intellij.tasks.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.tasks.tests` end \ No newline at end of file +### auto-generated section `test intellij.tasks.tests` end \ No newline at end of file diff --git a/plugins/terminal/BUILD.bazel b/plugins/terminal/BUILD.bazel index b6dce5063b06..9636964f0dba 100644 --- a/plugins/terminal/BUILD.bazel +++ b/plugins/terminal/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.terminal` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "terminal_resources", @@ -143,9 +142,13 @@ jvm_library( ":terminal_test_resources", ] ) +### auto-generated section `build intellij.terminal` end + +### auto-generated section `test intellij.terminal` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "terminal_test", runtime_deps = [":terminal_test_lib"] ) -### auto-generated section `build intellij.terminal` end \ No newline at end of file +### auto-generated section `test intellij.terminal` end \ No newline at end of file diff --git a/plugins/terminal/backend/BUILD.bazel b/plugins/terminal/backend/BUILD.bazel index 78af00b71cd8..d74317822bbe 100644 --- a/plugins/terminal/backend/BUILD.bazel +++ b/plugins/terminal/backend/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.terminal.backend` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "backend_resources", @@ -67,9 +66,13 @@ jvm_library( ], runtime_deps = [":backend_resources"] ) +### auto-generated section `build intellij.terminal.backend` end + +### auto-generated section `test intellij.terminal.backend` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "backend_test", runtime_deps = [":backend_test_lib"] ) -### auto-generated section `build intellij.terminal.backend` end \ No newline at end of file +### auto-generated section `test intellij.terminal.backend` end \ No newline at end of file diff --git a/plugins/terminal/completion/BUILD.bazel b/plugins/terminal/completion/BUILD.bazel index 92c7c76ed342..638df336a373 100644 --- a/plugins/terminal/completion/BUILD.bazel +++ b/plugins/terminal/completion/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.terminal.completion` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "completion", @@ -29,9 +28,13 @@ jvm_library( "//platform/testFramework:testFramework_test_lib", ] ) +### auto-generated section `build intellij.terminal.completion` end + +### auto-generated section `test intellij.terminal.completion` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "completion_test", runtime_deps = [":completion_test_lib"] ) -### auto-generated section `build intellij.terminal.completion` end \ No newline at end of file +### auto-generated section `test intellij.terminal.completion` end \ No newline at end of file diff --git a/plugins/terminal/frontend/BUILD.bazel b/plugins/terminal/frontend/BUILD.bazel index 4aad421ce184..08a3aecb19d5 100644 --- a/plugins/terminal/frontend/BUILD.bazel +++ b/plugins/terminal/frontend/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.terminal.frontend` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "frontend_resources", @@ -81,9 +80,13 @@ jvm_library( ], runtime_deps = [":frontend_resources"] ) +### auto-generated section `build intellij.terminal.frontend` end + +### auto-generated section `test intellij.terminal.frontend` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "frontend_test", runtime_deps = [":frontend_test_lib"] ) -### auto-generated section `build intellij.terminal.frontend` end \ No newline at end of file +### auto-generated section `test intellij.terminal.frontend` end \ No newline at end of file diff --git a/plugins/testng/BUILD.bazel b/plugins/testng/BUILD.bazel index 35f9e36e5003..f16e6a021dee 100644 --- a/plugins/testng/BUILD.bazel +++ b/plugins/testng/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.testng` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "testng_resources", @@ -117,9 +116,13 @@ jvm_library( ":testng_test_resources", ] ) +### auto-generated section `build intellij.testng` end + +### auto-generated section `test intellij.testng` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "testng_test", runtime_deps = [":testng_test_lib"] ) -### auto-generated section `build intellij.testng` end \ No newline at end of file +### auto-generated section `test intellij.testng` end \ No newline at end of file diff --git a/plugins/testng_rt/tests/BUILD.bazel b/plugins/testng_rt/tests/BUILD.bazel index 7c6b7ce61e24..4047f6cde0bd 100644 --- a/plugins/testng_rt/tests/BUILD.bazel +++ b/plugins/testng_rt/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.testng.rt.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -35,9 +34,13 @@ jvm_library( "//platform/platform-util-io:ide-util-io", ] ) +### auto-generated section `build intellij.testng.rt.tests` end + +### auto-generated section `test intellij.testng.rt.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.testng.rt.tests` end \ No newline at end of file +### auto-generated section `test intellij.testng.rt.tests` end \ No newline at end of file diff --git a/plugins/textmate/BUILD.bazel b/plugins/textmate/BUILD.bazel index 14c66ccce964..2946959b357d 100644 --- a/plugins/textmate/BUILD.bazel +++ b/plugins/textmate/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.textmate` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "textmate_resources", @@ -80,9 +79,13 @@ jvm_library( ], runtime_deps = [":textmate_resources"] ) +### auto-generated section `build intellij.textmate` end + +### auto-generated section `test intellij.textmate` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "textmate_test", runtime_deps = [":textmate_test_lib"] ) -### auto-generated section `build intellij.textmate` end \ No newline at end of file +### auto-generated section `test intellij.textmate` end \ No newline at end of file diff --git a/plugins/textmate/core/BUILD.bazel b/plugins/textmate/core/BUILD.bazel index 7fdd5c71b361..31c5478a6a19 100644 --- a/plugins/textmate/core/BUILD.bazel +++ b/plugins/textmate/core/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.textmate.core` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") create_kotlinc_options( - name = "custom", + name = "custom_core", opt_in = ["kotlin.concurrent.atomics.ExperimentalAtomicApi"] ) @@ -13,7 +12,7 @@ jvm_library( module_name = "intellij.textmate.core", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java", "srcJvmMain/**/*.kt", "srcJvmMain/**/*.java", "srcMultiplatform/**/*.kt", "srcMultiplatform/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_core", deps = [ "@lib//:jetbrains-annotations", "@lib//:kotlinx-serialization-core", @@ -31,7 +30,7 @@ jvm_library( name = "core_test_lib", visibility = ["//visibility:public"], srcs = glob(["tests/**/*.kt", "tests/**/*.java", "testsMultiplatform/**/*.kt", "testsMultiplatform/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_core", associates = [":core"], deps = [ "@lib//:jetbrains-annotations", @@ -48,9 +47,13 @@ jvm_library( "//platform/util/xmlDom", ] ) +### auto-generated section `build intellij.textmate.core` end + +### auto-generated section `test intellij.textmate.core` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "core_test", runtime_deps = [":core_test_lib"] ) -### auto-generated section `build intellij.textmate.core` end \ No newline at end of file +### auto-generated section `test intellij.textmate.core` end \ No newline at end of file diff --git a/plugins/textmate/joni/BUILD.bazel b/plugins/textmate/joni/BUILD.bazel index 5fd7f5425366..68c7838b30c2 100644 --- a/plugins/textmate/joni/BUILD.bazel +++ b/plugins/textmate/joni/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.textmate.joni` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "joni", @@ -29,9 +28,13 @@ jvm_library( "@lib//:junit5", ] ) +### auto-generated section `build intellij.textmate.joni` end + +### auto-generated section `test intellij.textmate.joni` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "joni_test", runtime_deps = [":joni_test_lib"] ) -### auto-generated section `build intellij.textmate.joni` end \ No newline at end of file +### auto-generated section `test intellij.textmate.joni` end \ No newline at end of file diff --git a/plugins/toml/tests/BUILD.bazel b/plugins/toml/tests/BUILD.bazel index 07aadb53e4e1..e10c4e02c85c 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "tests_test_resources", @@ -37,9 +36,13 @@ jvm_library( ], runtime_deps = [":tests_test_resources"] ) +### auto-generated section `build intellij.toml.tests` end + +### auto-generated section `test intellij.toml.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.toml.tests` end \ No newline at end of file +### auto-generated section `test intellij.toml.tests` end \ No newline at end of file diff --git a/plugins/turboComplete/BUILD.bazel b/plugins/turboComplete/BUILD.bazel index 31d717069229..664d719cf69f 100644 --- a/plugins/turboComplete/BUILD.bazel +++ b/plugins/turboComplete/BUILD.bazel @@ -33,9 +33,6 @@ jvm_library( ### auto-generated section `build intellij.turboComplete` end ### auto-generated section `build intellij.turboComplete.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "turboComplete-tests_test_lib", visibility = ["//visibility:public"], @@ -49,9 +46,13 @@ jvm_library( "//platform/ml-impl:ml-impl_test_lib", ] ) +### auto-generated section `build intellij.turboComplete.tests` end + +### auto-generated section `test intellij.turboComplete.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "turboComplete-tests_test", runtime_deps = [":turboComplete-tests_test_lib"] ) -### auto-generated section `build intellij.turboComplete.tests` end \ No newline at end of file +### auto-generated section `test intellij.turboComplete.tests` end \ No newline at end of file diff --git a/plugins/ui-designer/BUILD.bazel b/plugins/ui-designer/BUILD.bazel index 7c3e07bc5abe..3caf22227ce9 100644 --- a/plugins/ui-designer/BUILD.bazel +++ b/plugins/ui-designer/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.guiForms.designer` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "java-guiForms-designer_resources", @@ -153,9 +152,13 @@ jvm_library( ":java-guiForms-designer_test_resources_1", ] ) +### auto-generated section `build intellij.java.guiForms.designer` end + +### auto-generated section `test intellij.java.guiForms.designer` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "java-guiForms-designer_test", runtime_deps = [":java-guiForms-designer_test_lib"] ) -### auto-generated section `build intellij.java.guiForms.designer` end \ No newline at end of file +### auto-generated section `test intellij.java.guiForms.designer` end \ No newline at end of file diff --git a/plugins/ui-designer/jps-plugin/tests/BUILD.bazel b/plugins/ui-designer/jps-plugin/tests/BUILD.bazel index 85c853786447..eadd6bfc13fa 100644 --- a/plugins/ui-designer/jps-plugin/tests/BUILD.bazel +++ b/plugins/ui-designer/jps-plugin/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.java.guiForms.jps.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -24,9 +23,13 @@ jvm_library( "//jps/model-serialization:model-serialization-tests_test_lib", ] ) +### auto-generated section `build intellij.java.guiForms.jps.tests` end + +### auto-generated section `test intellij.java.guiForms.jps.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.java.guiForms.jps.tests` end \ No newline at end of file +### auto-generated section `test intellij.java.guiForms.jps.tests` end \ No newline at end of file diff --git a/plugins/xpath/BUILD.bazel b/plugins/xpath/BUILD.bazel index 8fa05f4e4e0a..665ec669a544 100644 --- a/plugins/xpath/BUILD.bazel +++ b/plugins/xpath/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.xpath` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "xpath_resources", @@ -105,9 +104,13 @@ jvm_library( ":xpath_test_resources", ] ) +### auto-generated section `build intellij.xpath` end + +### auto-generated section `test intellij.xpath` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "xpath_test", runtime_deps = [":xpath_test_lib"] ) -### auto-generated section `build intellij.xpath` end \ No newline at end of file +### auto-generated section `test intellij.xpath` end \ No newline at end of file diff --git a/plugins/xslt-debugger/engine/impl/BUILD.bazel b/plugins/xslt-debugger/engine/impl/BUILD.bazel index b43507d42cf5..69cc44df7706 100644 --- a/plugins/xslt-debugger/engine/impl/BUILD.bazel +++ b/plugins/xslt-debugger/engine/impl/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.xslt.debugger.impl.rt` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "xslt-debugger-impl-rt", @@ -36,9 +35,13 @@ jvm_library( "@lib//:xslt-debugger-impl-rt-_serializer-2-7-3", ] ) +### auto-generated section `build intellij.xslt.debugger.impl.rt` end + +### auto-generated section `test intellij.xslt.debugger.impl.rt` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "xslt-debugger-impl-rt_test", runtime_deps = [":xslt-debugger-impl-rt_test_lib"] ) -### auto-generated section `build intellij.xslt.debugger.impl.rt` end \ No newline at end of file +### auto-generated section `test intellij.xslt.debugger.impl.rt` end \ No newline at end of file diff --git a/plugins/yaml/BUILD.bazel b/plugins/yaml/BUILD.bazel index 2e307b3f6871..3726c4cbadc6 100644 --- a/plugins/yaml/BUILD.bazel +++ b/plugins/yaml/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.yaml` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "yaml_resources", @@ -69,9 +68,13 @@ jvm_library( ], runtime_deps = [":yaml_resources"] ) +### auto-generated section `build intellij.yaml` end + +### auto-generated section `test intellij.yaml` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "yaml_test", runtime_deps = [":yaml_test_lib"] ) -### auto-generated section `build intellij.yaml` end \ No newline at end of file +### auto-generated section `test intellij.yaml` end \ No newline at end of file diff --git a/plugins/yaml/backend/BUILD.bazel b/plugins/yaml/backend/BUILD.bazel index 3b3321af14f2..eefcb8c9e292 100644 --- a/plugins/yaml/backend/BUILD.bazel +++ b/plugins/yaml/backend/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.yaml.backend` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "backend_resources", @@ -106,9 +105,13 @@ jvm_library( ":backend_test_resources", ] ) +### auto-generated section `build intellij.yaml.backend` end + +### auto-generated section `test intellij.yaml.backend` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "backend_test", runtime_deps = [":backend_test_lib"] ) -### auto-generated section `build intellij.yaml.backend` end \ No newline at end of file +### auto-generated section `test intellij.yaml.backend` end \ No newline at end of file diff --git a/python/BUILD.bazel b/python/BUILD.bazel index 12264a011575..2fd96a35587e 100644 --- a/python/BUILD.bazel +++ b/python/BUILD.bazel @@ -34,8 +34,6 @@ jvm_library( ### auto-generated section `build intellij.pycharm.community` end ### auto-generated section `build intellij.pycharm.community.customization` start -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") - jvm_resources( name = "pycharm-community-customization_resources", files = glob(["ide/resources/**/*"]), @@ -58,8 +56,6 @@ jvm_library( ### auto-generated section `build intellij.pycharm.community.customization` end ### auto-generated section `build intellij.pycharm.community.main` start -load("@rules_jvm//:jvm.bzl", "jvm_library") - jvm_library( name = "pycharm-community-main", visibility = ["//visibility:public"], @@ -176,9 +172,6 @@ jvm_library( ### auto-generated section `build intellij.pycharm.community.main` end ### auto-generated section `build intellij.python.commonTests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") - jvm_library( name = "python-commonTests", visibility = ["//visibility:public"], @@ -209,16 +202,18 @@ jvm_library( "//python/impl.helperLocator:community-helpersLocator", ] ) +### auto-generated section `build intellij.python.commonTests` end + +### auto-generated section `test intellij.python.commonTests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "python-commonTests_test", runtime_deps = [":python-commonTests_test_lib"] ) -### auto-generated section `build intellij.python.commonTests` end +### auto-generated section `test intellij.python.commonTests` end ### auto-generated section `build intellij.python.community.impl` start -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") - jvm_resources( name = "python-community-impl_resources", files = glob(["pluginResources/**/*"]), @@ -369,8 +364,6 @@ jvm_library( ### auto-generated section `build intellij.python.community.impl` end ### auto-generated section `build intellij.python.community.plugin.main` start -load("@rules_jvm//:jvm.bzl", "jvm_library") - jvm_library( name = "python-community-plugin-main", visibility = ["//visibility:public"], @@ -403,8 +396,6 @@ jvm_library( ### auto-generated section `build intellij.python.community.plugin.main` end ### auto-generated section `build intellij.python.community.plugin.modules` start -load("@rules_jvm//:jvm.bzl", "jvm_library") - jvm_library( name = "python-community-plugin-modules", visibility = ["//visibility:public"], @@ -421,9 +412,6 @@ jvm_library( ### auto-generated section `build intellij.python.community.plugin.modules` end ### auto-generated section `build intellij.python.community.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") - jvm_resources( name = "python-community-tests_test_resources", files = glob(["testResources/**/*"]), @@ -543,16 +531,18 @@ jvm_library( "//jupyter:notebooks-jupyter-core", ] ) +### auto-generated section `build intellij.python.community.tests` end + +### auto-generated section `test intellij.python.community.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "python-community-tests_test", runtime_deps = [":python-community-tests_test_lib"] ) -### auto-generated section `build intellij.python.community.tests` end +### auto-generated section `test intellij.python.community.tests` end ### auto-generated section `build intellij.python.helpers` start -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") - jvm_resources( name = "python-helpers_resources", files = glob(["helpers/**/*"]), @@ -577,9 +567,6 @@ jvm_library( ### auto-generated section `build intellij.python.helpers` end ### auto-generated section `build intellij.python.helpers.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") - jvm_resources( name = "python-helpers-tests_test_resources", files = glob(["helpers/testResources/**/*"]), @@ -600,16 +587,18 @@ jvm_library( ], runtime_deps = [":python-helpers-tests_test_resources"] ) +### auto-generated section `build intellij.python.helpers.tests` end + +### auto-generated section `test intellij.python.helpers.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "python-helpers-tests_test", runtime_deps = [":python-helpers-tests_test_lib"] ) -### auto-generated section `build intellij.python.helpers.tests` end +### auto-generated section `test intellij.python.helpers.tests` end ### auto-generated section `build intellij.python.pydev` start -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") - jvm_resources( name = "python-pydev_resources", files = glob(["pydevSrc/resources/**/*"]), diff --git a/python/build/BUILD.bazel b/python/build/BUILD.bazel index 6f5c87382bbc..caaac7319fa2 100644 --- a/python/build/BUILD.bazel +++ b/python/build/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.pycharm.community.build` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "build", @@ -57,9 +56,13 @@ jvm_library( "@lib//:jsoup", ] ) +### auto-generated section `build intellij.pycharm.community.build` end + +### auto-generated section `test intellij.pycharm.community.build` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "build_test", runtime_deps = [":build_test_lib"] ) -### auto-generated section `build intellij.pycharm.community.build` end \ No newline at end of file +### auto-generated section `test intellij.pycharm.community.build` end \ No newline at end of file diff --git a/python/ide/impl/BUILD.bazel b/python/ide/impl/BUILD.bazel index 17b40c8d5e6c..1e8e0205ff34 100644 --- a/python/ide/impl/BUILD.bazel +++ b/python/ide/impl/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.pycharm.community.ide.impl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "impl_resources", @@ -119,9 +118,13 @@ jvm_library( ], runtime_deps = [":impl_resources"] ) +### auto-generated section `build intellij.pycharm.community.ide.impl` end + +### auto-generated section `test intellij.pycharm.community.ide.impl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "impl_test", runtime_deps = [":impl_test_lib"] ) -### auto-generated section `build intellij.pycharm.community.ide.impl` end \ No newline at end of file +### auto-generated section `test intellij.pycharm.community.ide.impl` end \ No newline at end of file diff --git a/python/interpreters/BUILD.bazel b/python/interpreters/BUILD.bazel index 1b5511a40382..21759387bc82 100644 --- a/python/interpreters/BUILD.bazel +++ b/python/interpreters/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.community.interpreters` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "interpreters_resources", @@ -73,9 +72,13 @@ jvm_library( ], runtime_deps = [":interpreters_resources"] ) +### auto-generated section `build intellij.python.community.interpreters` end + +### auto-generated section `test intellij.python.community.interpreters` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "interpreters_test", runtime_deps = [":interpreters_test_lib"] ) -### auto-generated section `build intellij.python.community.interpreters` end \ No newline at end of file +### auto-generated section `test intellij.python.community.interpreters` end \ No newline at end of file diff --git a/python/junit5Tests-framework/BUILD.bazel b/python/junit5Tests-framework/BUILD.bazel index 207117d8f996..3113a09030c7 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "community-junit5Tests-framework_test_resources", @@ -59,9 +58,13 @@ jvm_library( "//python/pluginCore:community-plugin", ] ) +### auto-generated section `build intellij.python.community.junit5Tests.framework` end + +### auto-generated section `test intellij.python.community.junit5Tests.framework` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "community-junit5Tests-framework_test", runtime_deps = [":community-junit5Tests-framework_test_lib"] ) -### auto-generated section `build intellij.python.community.junit5Tests.framework` end \ No newline at end of file +### auto-generated section `test intellij.python.community.junit5Tests.framework` end \ No newline at end of file diff --git a/python/junit5Tests-framework/conda/BUILD.bazel b/python/junit5Tests-framework/conda/BUILD.bazel index 19eddc0e77a1..13d7d0f831d3 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "conda_test_resources", @@ -30,9 +29,13 @@ jvm_library( ], runtime_deps = [":conda_test_resources"] ) +### auto-generated section `build intellij.python.community.junit5Tests.framework.conda` end + +### auto-generated section `test intellij.python.community.junit5Tests.framework.conda` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "conda_test", runtime_deps = [":conda_test_lib"] ) -### auto-generated section `build intellij.python.community.junit5Tests.framework.conda` end \ No newline at end of file +### auto-generated section `test intellij.python.community.junit5Tests.framework.conda` end \ No newline at end of file diff --git a/python/openapi/BUILD.bazel b/python/openapi/BUILD.bazel index 3fd5f11baba3..d0cb4022c80a 100644 --- a/python/openapi/BUILD.bazel +++ b/python/openapi/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.community` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "community_resources", @@ -56,9 +55,13 @@ jvm_library( ], runtime_deps = [":community_resources"] ) +### auto-generated section `build intellij.python.community` end + +### auto-generated section `test intellij.python.community` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "community_test", runtime_deps = [":community_test_lib"] ) -### auto-generated section `build intellij.python.community` end \ No newline at end of file +### auto-generated section `test intellij.python.community` end \ No newline at end of file diff --git a/python/python-exec-service/BUILD.bazel b/python/python-exec-service/BUILD.bazel index 574283e5b07f..1f54ba9cc750 100644 --- a/python/python-exec-service/BUILD.bazel +++ b/python/python-exec-service/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.community.execService` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "community-execService_resources", @@ -57,9 +56,13 @@ jvm_library( ], runtime_deps = [":community-execService_resources"] ) +### auto-generated section `build intellij.python.community.execService` end + +### auto-generated section `test intellij.python.community.execService` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "community-execService_test", runtime_deps = [":community-execService_test_lib"] ) -### auto-generated section `build intellij.python.community.execService` end \ No newline at end of file +### auto-generated section `test intellij.python.community.execService` end \ No newline at end of file diff --git a/python/python-exec-service/execService.python/BUILD.bazel b/python/python-exec-service/execService.python/BUILD.bazel index d72c3ab9a671..10b8e0a428f1 100644 --- a/python/python-exec-service/execService.python/BUILD.bazel +++ b/python/python-exec-service/execService.python/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.community.execService.python` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "execService.python_resources", @@ -59,9 +58,13 @@ jvm_library( ], runtime_deps = [":execService.python_resources"] ) +### auto-generated section `build intellij.python.community.execService.python` end + +### auto-generated section `test intellij.python.community.execService.python` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "execService.python_test", runtime_deps = [":execService.python_test_lib"] ) -### auto-generated section `build intellij.python.community.execService.python` end \ No newline at end of file +### auto-generated section `test intellij.python.community.execService.python` end \ No newline at end of file diff --git a/python/python-features-trainer/BUILD.bazel b/python/python-features-trainer/BUILD.bazel index 2a7e5ad64479..c644aa0aee86 100644 --- a/python/python-features-trainer/BUILD.bazel +++ b/python/python-features-trainer/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.featuresTrainer` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "featuresTrainer_resources", @@ -81,9 +80,13 @@ jvm_library( ], runtime_deps = [":featuresTrainer_resources"] ) +### auto-generated section `build intellij.python.featuresTrainer` end + +### auto-generated section `test intellij.python.featuresTrainer` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "featuresTrainer_test", runtime_deps = [":featuresTrainer_test_lib"] ) -### auto-generated section `build intellij.python.featuresTrainer` end \ No newline at end of file +### auto-generated section `test intellij.python.featuresTrainer` end \ No newline at end of file diff --git a/python/python-hatch/BUILD.bazel b/python/python-hatch/BUILD.bazel index 8148552e0240..86be6a7ace0f 100644 --- a/python/python-hatch/BUILD.bazel +++ b/python/python-hatch/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_hatch", opt_in = ["kotlin.time.ExperimentalTime"] ) @@ -18,7 +18,7 @@ jvm_library( module_name = "intellij.python.hatch", visibility = ["//visibility:public"], srcs = glob(["gen/**/*.kt", "gen/**/*.java", "src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_hatch", deps = [ "@lib//:kotlin-stdlib", "//platform/util", diff --git a/python/python-markdown/BUILD.bazel b/python/python-markdown/BUILD.bazel index 7d5c45e83ba1..60697c847525 100644 --- a/python/python-markdown/BUILD.bazel +++ b/python/python-markdown/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.markdown` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "markdown_resources", @@ -48,9 +47,13 @@ jvm_library( ], runtime_deps = [":markdown_resources"] ) +### auto-generated section `build intellij.python.markdown` end + +### auto-generated section `test intellij.python.markdown` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "markdown_test", runtime_deps = [":markdown_test_lib"] ) -### auto-generated section `build intellij.python.markdown` end \ No newline at end of file +### auto-generated section `test intellij.python.markdown` end \ No newline at end of file diff --git a/python/python-pyproject/BUILD.bazel b/python/python-pyproject/BUILD.bazel index 256d3e9212f9..50cd7e93e2ee 100644 --- a/python/python-pyproject/BUILD.bazel +++ b/python/python-pyproject/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.pyproject` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "pyproject_resources", @@ -47,9 +46,13 @@ jvm_library( ], runtime_deps = [":pyproject_resources"] ) +### auto-generated section `build intellij.python.pyproject` end + +### auto-generated section `test intellij.python.pyproject` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "pyproject_test", runtime_deps = [":pyproject_test_lib"] ) -### auto-generated section `build intellij.python.pyproject` end \ No newline at end of file +### auto-generated section `test intellij.python.pyproject` end \ No newline at end of file diff --git a/python/python-sdk/BUILD.bazel b/python/python-sdk/BUILD.bazel index 5ac8773e945c..1e4ac48c031f 100644 --- a/python/python-sdk/BUILD.bazel +++ b/python/python-sdk/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.sdk` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "sdk_resources", @@ -91,9 +90,13 @@ jvm_library( ], runtime_deps = [":sdk_resources"] ) +### auto-generated section `build intellij.python.sdk` end + +### auto-generated section `test intellij.python.sdk` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "sdk_test", runtime_deps = [":sdk_test_lib"] ) -### auto-generated section `build intellij.python.sdk` end \ No newline at end of file +### auto-generated section `test intellij.python.sdk` end \ No newline at end of file diff --git a/python/python-terminal/BUILD.bazel b/python/python-terminal/BUILD.bazel index 2a28a87c485a..ae9fb8f664cb 100644 --- a/python/python-terminal/BUILD.bazel +++ b/python/python-terminal/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.terminal` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "terminal_resources", @@ -58,9 +57,13 @@ jvm_library( ], runtime_deps = [":terminal_resources"] ) +### auto-generated section `build intellij.python.terminal` end + +### auto-generated section `test intellij.python.terminal` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "terminal_test", runtime_deps = [":terminal_test_lib"] ) -### auto-generated section `build intellij.python.terminal` end \ No newline at end of file +### auto-generated section `test intellij.python.terminal` end \ No newline at end of file diff --git a/python/python-venv/BUILD.bazel b/python/python-venv/BUILD.bazel index 8e3a09d3a01a..78c396758ec2 100644 --- a/python/python-venv/BUILD.bazel +++ b/python/python-venv/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.community.impl.venv` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "community-impl-venv_resources", @@ -67,9 +66,13 @@ jvm_library( ":community-impl-venv_test_resources", ] ) +### auto-generated section `build intellij.python.community.impl.venv` end + +### auto-generated section `test intellij.python.community.impl.venv` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "community-impl-venv_test", runtime_deps = [":community-impl-venv_test_lib"] ) -### auto-generated section `build intellij.python.community.impl.venv` end \ No newline at end of file +### auto-generated section `test intellij.python.community.impl.venv` end \ No newline at end of file diff --git a/python/services/internal-impl/BUILD.bazel b/python/services/internal-impl/BUILD.bazel index 37f509d0dbbc..e80c47911e71 100644 --- a/python/services/internal-impl/BUILD.bazel +++ b/python/services/internal-impl/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.community.services.internal.impl` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "python-community-services-internal-impl_resources", @@ -54,9 +53,13 @@ jvm_library( ], runtime_deps = [":python-community-services-internal-impl_resources"] ) +### auto-generated section `build intellij.python.community.services.internal.impl` end + +### auto-generated section `test intellij.python.community.services.internal.impl` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "python-community-services-internal-impl_test", runtime_deps = [":python-community-services-internal-impl_test_lib"] ) -### auto-generated section `build intellij.python.community.services.internal.impl` end \ No newline at end of file +### auto-generated section `test intellij.python.community.services.internal.impl` end \ No newline at end of file diff --git a/python/services/shared/BUILD.bazel b/python/services/shared/BUILD.bazel index 3557653f9528..ddbdba6e938f 100644 --- a/python/services/shared/BUILD.bazel +++ b/python/services/shared/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.community.services.shared` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "shared_resources", @@ -44,9 +43,13 @@ jvm_library( ], runtime_deps = [":shared_resources"] ) +### auto-generated section `build intellij.python.community.services.shared` end + +### auto-generated section `test intellij.python.community.services.shared` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "shared_test", runtime_deps = [":shared_test_lib"] ) -### auto-generated section `build intellij.python.community.services.shared` end \ No newline at end of file +### auto-generated section `test intellij.python.community.services.shared` end \ No newline at end of file diff --git a/python/services/system-python/BUILD.bazel b/python/services/system-python/BUILD.bazel index 32467f8e4092..d01e371d18df 100644 --- a/python/services/system-python/BUILD.bazel +++ b/python/services/system-python/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.python.community.services.systemPython` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "system-python_resources", @@ -83,9 +82,13 @@ jvm_library( ":system-python_test_resources", ] ) +### auto-generated section `build intellij.python.community.services.systemPython` end + +### auto-generated section `test intellij.python.community.services.systemPython` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "system-python_test", runtime_deps = [":system-python_test_lib"] ) -### auto-generated section `build intellij.python.community.services.systemPython` end \ No newline at end of file +### auto-generated section `test intellij.python.community.services.systemPython` end \ No newline at end of file diff --git a/spellchecker/BUILD.bazel b/spellchecker/BUILD.bazel index af6ed1a75bfc..25a98be44571 100644 --- a/spellchecker/BUILD.bazel +++ b/spellchecker/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.spellchecker` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "spellchecker_resources", @@ -99,9 +98,13 @@ jvm_library( ":spellchecker_test_resources", ] ) +### auto-generated section `build intellij.spellchecker` end + +### auto-generated section `test intellij.spellchecker` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "spellchecker_test", runtime_deps = [":spellchecker_test_lib"] ) -### auto-generated section `build intellij.spellchecker` end \ No newline at end of file +### auto-generated section `test intellij.spellchecker` end \ No newline at end of file diff --git a/tools/devLauncher/tests/BUILD.bazel b/tools/devLauncher/tests/BUILD.bazel index e4a4c53907ad..3d9856de149a 100644 --- a/tools/devLauncher/tests/BUILD.bazel +++ b/tools/devLauncher/tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.tools.devLauncher.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -22,9 +21,13 @@ jvm_library( "//platform/testFramework:testFramework_test_lib", ] ) +### auto-generated section `build intellij.tools.devLauncher.tests` end + +### auto-generated section `test intellij.tools.devLauncher.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.tools.devLauncher.tests` end \ No newline at end of file +### auto-generated section `test intellij.tools.devLauncher.tests` end \ No newline at end of file diff --git a/tools/intellij.tools.ide.metrics.benchmark/BUILD.bazel b/tools/intellij.tools.ide.metrics.benchmark/BUILD.bazel index 5d3c3e2e465b..62395eed4a5c 100644 --- a/tools/intellij.tools.ide.metrics.benchmark/BUILD.bazel +++ b/tools/intellij.tools.ide.metrics.benchmark/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.tools.ide.metrics.benchmark` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "ide-metrics-benchmark_resources", @@ -64,9 +63,13 @@ jvm_library( ":ide-metrics-benchmark_test_resources", ] ) +### auto-generated section `build intellij.tools.ide.metrics.benchmark` end + +### auto-generated section `test intellij.tools.ide.metrics.benchmark` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ide-metrics-benchmark_test", runtime_deps = [":ide-metrics-benchmark_test_lib"] ) -### auto-generated section `build intellij.tools.ide.metrics.benchmark` end \ No newline at end of file +### auto-generated section `test intellij.tools.ide.metrics.benchmark` end \ No newline at end of file diff --git a/tools/intellij.tools.ide.metrics.collector/BUILD.bazel b/tools/intellij.tools.ide.metrics.collector/BUILD.bazel index e02908bc8593..117f1e5121f4 100644 --- a/tools/intellij.tools.ide.metrics.collector/BUILD.bazel +++ b/tools/intellij.tools.ide.metrics.collector/BUILD.bazel @@ -1,10 +1,9 @@ ### auto-generated section `build intellij.tools.ide.metrics.collector` start load("//build:compiler-options.bzl", "create_kotlinc_options") -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_ide-metrics-collector", opt_in = ["kotlin.time.ExperimentalTime"] ) @@ -19,7 +18,7 @@ jvm_library( module_name = "intellij.tools.ide.metrics.collector", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_ide-metrics-collector", deps = [ "@lib//:kotlin-stdlib", "//platform/core-api:core", @@ -42,7 +41,7 @@ jvm_library( name = "ide-metrics-collector_test_lib", visibility = ["//visibility:public"], srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_ide-metrics-collector", associates = [":ide-metrics-collector"], deps = [ "@lib//:kotlin-stdlib", @@ -68,9 +67,13 @@ jvm_library( ], runtime_deps = [":ide-metrics-collector_test_resources"] ) +### auto-generated section `build intellij.tools.ide.metrics.collector` end + +### auto-generated section `test intellij.tools.ide.metrics.collector` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "ide-metrics-collector_test", runtime_deps = [":ide-metrics-collector_test_lib"] ) -### auto-generated section `build intellij.tools.ide.metrics.collector` end \ No newline at end of file +### auto-generated section `test intellij.tools.ide.metrics.collector` end \ No newline at end of file diff --git a/tools/intellij.tools.ide.util.common/BUILD.bazel b/tools/intellij.tools.ide.util.common/BUILD.bazel index fbd4d7b08355..838e45b0e6ee 100644 --- a/tools/intellij.tools.ide.util.common/BUILD.bazel +++ b/tools/intellij.tools.ide.util.common/BUILD.bazel @@ -3,7 +3,7 @@ load("//build:compiler-options.bzl", "create_kotlinc_options") load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") create_kotlinc_options( - name = "custom", + name = "custom_ide-util-common", opt_in = ["kotlin.time.ExperimentalTime"] ) @@ -18,7 +18,7 @@ jvm_library( module_name = "intellij.tools.ide.util.common", visibility = ["//visibility:public"], srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), - kotlinc_opts = ":custom", + kotlinc_opts = ":custom_ide-util-common", deps = [ "@lib//:kotlinx-coroutines-core", "@lib//:kotlin-stdlib", diff --git a/uast/uast-tests/BUILD.bazel b/uast/uast-tests/BUILD.bazel index 384ccde65225..27b2d4b9fae9 100644 --- a/uast/uast-tests/BUILD.bazel +++ b/uast/uast-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.platform.uast.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "tests", @@ -34,9 +33,13 @@ jvm_library( ], runtime_deps = ["//java/java-tests:tests"] ) +### auto-generated section `build intellij.platform.uast.tests` end + +### auto-generated section `test intellij.platform.uast.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.platform.uast.tests` end \ No newline at end of file +### auto-generated section `test intellij.platform.uast.tests` end \ No newline at end of file diff --git a/updater/BUILD.bazel b/updater/BUILD.bazel index 4d747811c838..4416b47cea87 100644 --- a/updater/BUILD.bazel +++ b/updater/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.tools.updater` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "updater_resources", @@ -35,9 +34,13 @@ jvm_library( ], runtime_deps = [":updater_resources"] ) +### auto-generated section `build intellij.tools.updater` end + +### auto-generated section `test intellij.tools.updater` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "updater_test", runtime_deps = [":updater_test_lib"] ) -### auto-generated section `build intellij.tools.updater` end \ No newline at end of file +### auto-generated section `test intellij.tools.updater` end \ No newline at end of file diff --git a/wintools/BUILD.bazel b/wintools/BUILD.bazel index aa39b812ea9c..97e20b6034b6 100644 --- a/wintools/BUILD.bazel +++ b/wintools/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.community.wintools` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "wintools_resources", @@ -35,9 +34,13 @@ jvm_library( ], runtime_deps = [":wintools_resources"] ) +### auto-generated section `build intellij.community.wintools` end + +### auto-generated section `test intellij.community.wintools` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "wintools_test", runtime_deps = [":wintools_test_lib"] ) -### auto-generated section `build intellij.community.wintools` end \ No newline at end of file +### auto-generated section `test intellij.community.wintools` end \ No newline at end of file diff --git a/xml/dom-tests/BUILD.bazel b/xml/dom-tests/BUILD.bazel index cebd76ffd641..21a1940ae604 100644 --- a/xml/dom-tests/BUILD.bazel +++ b/xml/dom-tests/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.xml.dom.tests` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library") jvm_library( name = "dom-tests", @@ -34,9 +33,13 @@ jvm_library( "//platform/libraries/cglib", ] ) +### auto-generated section `build intellij.xml.dom.tests` end + +### auto-generated section `test intellij.xml.dom.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "dom-tests_test", runtime_deps = [":dom-tests_test_lib"] ) -### auto-generated section `build intellij.xml.dom.tests` end \ No newline at end of file +### auto-generated section `test intellij.xml.dom.tests` end \ No newline at end of file diff --git a/xml/relaxng/BUILD.bazel b/xml/relaxng/BUILD.bazel index 9a9fbe5fcabc..d1f20aac8fc9 100644 --- a/xml/relaxng/BUILD.bazel +++ b/xml/relaxng/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.relaxng` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "relaxng_resources", @@ -78,9 +77,13 @@ jvm_library( ], runtime_deps = [":relaxng_resources"] ) +### auto-generated section `build intellij.relaxng` end + +### auto-generated section `test intellij.relaxng` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "relaxng_test", runtime_deps = [":relaxng_test_lib"] ) -### auto-generated section `build intellij.relaxng` end \ No newline at end of file +### auto-generated section `test intellij.relaxng` end \ No newline at end of file diff --git a/xml/tests/BUILD.bazel b/xml/tests/BUILD.bazel index 6c9a496a807d..c2653ec55ee8 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_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "tests_test_resources", @@ -69,9 +68,13 @@ jvm_library( "//plugins/IntelliLang/xml-support:xml-langInjection", ] ) +### auto-generated section `build intellij.xml.tests` end + +### auto-generated section `test intellij.xml.tests` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "tests_test", runtime_deps = [":tests_test_lib"] ) -### auto-generated section `build intellij.xml.tests` end \ No newline at end of file +### auto-generated section `test intellij.xml.tests` end \ No newline at end of file diff --git a/xml/xmlbeans/BUILD.bazel b/xml/xmlbeans/BUILD.bazel index dfdaad981630..e49d43b000aa 100644 --- a/xml/xmlbeans/BUILD.bazel +++ b/xml/xmlbeans/BUILD.bazel @@ -1,6 +1,5 @@ ### auto-generated section `build intellij.xml.xmlbeans` start -load("@community//build:tests-options.bzl", "jps_test") -load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test") +load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources") jvm_resources( name = "xmlbeans_resources", @@ -61,9 +60,13 @@ jvm_library( ], runtime_deps = [":xmlbeans_resources"] ) +### auto-generated section `build intellij.xml.xmlbeans` end + +### auto-generated section `test intellij.xml.xmlbeans` start +load("@community//build:tests-options.bzl", "jps_test") jps_test( name = "xmlbeans_test", runtime_deps = [":xmlbeans_test_lib"] ) -### auto-generated section `build intellij.xml.xmlbeans` end \ No newline at end of file +### auto-generated section `test intellij.xml.xmlbeans` end \ No newline at end of file