From 5c7824a82042dee016b05e9a18735bf1375fac7c Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Sat, 17 May 2025 20:13:26 +0200 Subject: [PATCH] ui designer compilation - part1 - allow .form as input GitOrigin-RevId: 5ab44530cdafe63de7f0595fe9c6ba80ab9da174 --- build/jvm-rules/rules/library.bzl | 2 +- build/jvm-rules/rules/test.bzl | 2 +- grid/impl/BUILD.bazel | 2 +- images/BUILD.bazel | 4 +- java/compiler/impl/BUILD.bazel | 2 +- java/debugger/impl/BUILD.bazel | 2 +- java/execution/impl/BUILD.bazel | 2 +- java/idea-ui/BUILD.bazel | 2 +- java/java-impl-refactorings/BUILD.bazel | 2 +- java/java-impl/BUILD.bazel | 2 +- java/remote-servers/impl/BUILD.bazel | 2 +- java/unscramble/BUILD.bazel | 2 +- .../build/bazel/BazelBuildFileGenerator.kt | 10 +- .../intellij/build/bazel/moduleWithForms.kt | 187 ++++++++++++++++++ platform/diff-impl/BUILD.bazel | 2 +- platform/execution-impl/BUILD.bazel | 2 +- platform/external-system-impl/BUILD.bazel | 2 +- platform/lang-api/BUILD.bazel | 2 +- platform/lang-impl/BUILD.bazel | 2 +- platform/platform-api/BUILD.bazel | 2 +- platform/platform-impl/BUILD.bazel | 4 +- platform/platform-impl/internal/BUILD.bazel | 2 +- platform/platform-impl/remote/BUILD.bazel | 2 +- platform/platform-tests/BUILD.bazel | 2 +- platform/remote-servers/impl/BUILD.bazel | 2 +- platform/statistics/devkit/BUILD.bazel | 4 +- platform/tasks-platform-impl/BUILD.bazel | 2 +- platform/testRunner/BUILD.bazel | 4 +- platform/vcs-impl/BUILD.bazel | 4 +- platform/xdebugger-impl/BUILD.bazel | 4 +- plugins/IntelliLang/BUILD.bazel | 2 +- plugins/IntelliLang/java-support/BUILD.bazel | 2 +- plugins/IntelliLang/xml-support/BUILD.bazel | 2 +- plugins/ant/BUILD.bazel | 4 +- plugins/built-in-help/BUILD.bazel | 2 +- plugins/copyright/BUILD.bazel | 4 +- plugins/coverage-common/BUILD.bazel | 4 +- .../dev/intellij.dev.psiViewer/BUILD.bazel | 2 +- plugins/devkit/devkit-core/BUILD.bazel | 2 +- plugins/eclipse/BUILD.bazel | 4 +- plugins/editorconfig/backend/BUILD.bazel | 4 +- plugins/git4idea/BUILD.bazel | 4 +- plugins/gradle/BUILD.bazel | 2 +- plugins/groovy/BUILD.bazel | 4 +- plugins/hg4idea/BUILD.bazel | 4 +- plugins/java-i18n/BUILD.bazel | 4 +- plugins/javaFX/BUILD.bazel | 4 +- plugins/junit/BUILD.bazel | 2 +- .../compiler-configuration-ui/BUILD.bazel | 2 +- plugins/kotlin/idea/BUILD.bazel | 2 +- plugins/kotlin/j2k/shared/BUILD.bazel | 2 +- plugins/kotlin/jvm-debugger/core/BUILD.bazel | 2 +- .../kotlin.refactorings.k2/BUILD.bazel | 2 +- .../kotlin/run-configurations/jvm/BUILD.bazel | 2 +- plugins/lombok/BUILD.bazel | 4 +- plugins/maven/BUILD.bazel | 2 +- plugins/performanceTesting/core/BUILD.bazel | 4 +- .../performanceTesting/scripts-ui/BUILD.bazel | 4 +- plugins/properties/BUILD.bazel | 2 +- .../BUILD.bazel | 4 +- plugins/rareJavaRefactorings/BUILD.bazel | 4 +- plugins/sh/core/BUILD.bazel | 2 +- plugins/svn4idea/BUILD.bazel | 2 +- plugins/tasks/tasks-api/BUILD.bazel | 2 +- plugins/tasks/tasks-core/BUILD.bazel | 2 +- plugins/testng/BUILD.bazel | 4 +- plugins/ui-designer/BUILD.bazel | 4 +- plugins/xpath/BUILD.bazel | 4 +- python/BUILD.bazel | 2 +- python/ide/impl/BUILD.bazel | 4 +- python/pluginJava/BUILD.bazel | 2 +- python/python-restructuredtext/BUILD.bazel | 2 +- python/python-syntax/BUILD.bazel | 2 +- spellchecker/BUILD.bazel | 4 +- xml/dom-openapi/BUILD.bazel | 2 +- xml/impl/BUILD.bazel | 2 +- xml/relaxng/BUILD.bazel | 4 +- xml/xmlbeans/BUILD.bazel | 4 +- 78 files changed, 300 insertions(+), 105 deletions(-) create mode 100644 platform/build-scripts/bazel/src/org/jetbrains/intellij/build/bazel/moduleWithForms.kt diff --git a/build/jvm-rules/rules/library.bzl b/build/jvm-rules/rules/library.bzl index 5e8ef44e131f..19cd657b8f22 100644 --- a/build/jvm-rules/rules/library.bzl +++ b/build/jvm-rules/rules/library.bzl @@ -33,7 +33,7 @@ jvm_library = rule( doc = """The list of source files that are processed to create the target, this can contain both Java and Kotlin files. Java analysis occurs first so Kotlin classes may depend on Java classes in the same compilation unit.""", default = [], - allow_files = [".kt", ".java"], + allow_files = [".kt", ".java", ".form"], mandatory = True, ), "exported_compiler_plugins": attr.label_list( diff --git a/build/jvm-rules/rules/test.bzl b/build/jvm-rules/rules/test.bzl index c79b477d7ea8..0296d27afb13 100644 --- a/build/jvm-rules/rules/test.bzl +++ b/build/jvm-rules/rules/test.bzl @@ -145,7 +145,7 @@ Setup a simple kotlin_test. doc = """The list of source files that are processed to create the target, this can contain both Java and Kotlin files. Java analysis occurs first so Kotlin classes may depend on Java classes in the same compilation unit.""", default = [], - allow_files = [".kt", ".java"], + allow_files = [".kt", ".java", ".form"], ), "_bazel_test_runner": attr.label( default = Label("@bazel_tools//tools/jdk:TestRunner_deploy.jar"), diff --git a/grid/impl/BUILD.bazel b/grid/impl/BUILD.bazel index a37fcb8ada99..42f0901d2a5f 100644 --- a/grid/impl/BUILD.bazel +++ b/grid/impl/BUILD.bazel @@ -19,7 +19,7 @@ jvm_library( name = "impl", module_name = "intellij.grid.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), javac_opts = ":custom-javac-options", deps = [ "//grid/core-impl", diff --git a/images/BUILD.bazel b/images/BUILD.bazel index 3a62f7590d12..d6414ada0ec8 100644 --- a/images/BUILD.bazel +++ b/images/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "images", module_name = "intellij.platform.images", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/lang-api:lang", @@ -37,7 +37,7 @@ jvm_library( jvm_library( name = "images_test_lib", visibility = ["//visibility:public"], - srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), + srcs = glob(["test/**/*.kt", "test/**/*.java", "test/**/*.form"], allow_empty = True), associates = [":images"], deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/java/compiler/impl/BUILD.bazel b/java/compiler/impl/BUILD.bazel index f9e2e64f0bed..b9a88e752a28 100644 --- a/java/compiler/impl/BUILD.bazel +++ b/java/compiler/impl/BUILD.bazel @@ -5,7 +5,7 @@ jvm_library( name = "impl", module_name = "intellij.java.compiler.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//java/compiler/openapi:java-compiler", "//platform/editor-ui-api:editor-ui", diff --git a/java/debugger/impl/BUILD.bazel b/java/debugger/impl/BUILD.bazel index 4e4876f45df8..113fd3002360 100644 --- a/java/debugger/impl/BUILD.bazel +++ b/java/debugger/impl/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "impl", module_name = "intellij.java.debugger.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//java/debugger/openapi:java-debugger", "//java/openapi:java", diff --git a/java/execution/impl/BUILD.bazel b/java/execution/impl/BUILD.bazel index a90d994e9714..645cc1bc3176 100644 --- a/java/execution/impl/BUILD.bazel +++ b/java/execution/impl/BUILD.bazel @@ -21,7 +21,7 @@ jvm_library( name = "impl", module_name = "intellij.java.execution.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//java/openapi:java", "//platform/editor-ui-api:editor-ui", diff --git a/java/idea-ui/BUILD.bazel b/java/idea-ui/BUILD.bazel index 4b4845b7ccaf..0467906557d4 100644 --- a/java/idea-ui/BUILD.bazel +++ b/java/idea-ui/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "ui", module_name = "intellij.java.ui", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), deps = [ "//java/openapi:java", "//java/compiler/openapi:java-compiler", diff --git a/java/java-impl-refactorings/BUILD.bazel b/java/java-impl-refactorings/BUILD.bazel index 3e5326974426..32d16b49cd1b 100644 --- a/java/java-impl-refactorings/BUILD.bazel +++ b/java/java-impl-refactorings/BUILD.bazel @@ -5,7 +5,7 @@ jvm_library( name = "impl-refactorings", module_name = "intellij.java.impl.refactorings", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/foldings", diff --git a/java/java-impl/BUILD.bazel b/java/java-impl/BUILD.bazel index 6a66fdc58fe6..8cf9d003168e 100644 --- a/java/java-impl/BUILD.bazel +++ b/java/java-impl/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "impl", module_name = "intellij.java.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/foldings", diff --git a/java/remote-servers/impl/BUILD.bazel b/java/remote-servers/impl/BUILD.bazel index 0ac8cd6f5b2a..753d4edcf9f3 100644 --- a/java/remote-servers/impl/BUILD.bazel +++ b/java/remote-servers/impl/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "impl", module_name = "intellij.java.remoteServers.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//java/remote-servers/api:java-remoteServers", "//java/compiler/impl", diff --git a/java/unscramble/BUILD.bazel b/java/unscramble/BUILD.bazel index cb49e2f15ed5..f1711f5d41b9 100644 --- a/java/unscramble/BUILD.bazel +++ b/java/unscramble/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "unscramble", module_name = "intellij.java.unscramble", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/execution", diff --git a/platform/build-scripts/bazel/src/org/jetbrains/intellij/build/bazel/BazelBuildFileGenerator.kt b/platform/build-scripts/bazel/src/org/jetbrains/intellij/build/bazel/BazelBuildFileGenerator.kt index a38beb3b0d86..0f3451513500 100644 --- a/platform/build-scripts/bazel/src/org/jetbrains/intellij/build/bazel/BazelBuildFileGenerator.kt +++ b/platform/build-scripts/bazel/src/org/jetbrains/intellij/build/bazel/BazelBuildFileGenerator.kt @@ -7,6 +7,7 @@ import com.intellij.openapi.util.NlsSafe import it.unimi.dsi.fastutil.objects.ObjectOpenHashSet import org.jetbrains.jps.model.JpsProject import org.jetbrains.jps.model.java.JavaResourceRootType +import org.jetbrains.jps.model.java.JavaSourceRootProperties import org.jetbrains.jps.model.java.JavaSourceRootType import org.jetbrains.jps.model.java.JpsJavaDependencyScope import org.jetbrains.jps.model.java.JpsJavaExtensionService @@ -658,7 +659,14 @@ private fun computeSources(module: JpsModule, contentRoots: List, bazelBui } if (type == JavaSourceRootType.SOURCE || type == JavaSourceRootType.TEST_SOURCE) { - sequenceOf(SourceDirDescriptor(glob = listOf("$prefix**/*.kt", "$prefix**/*.java"), excludes = excludes)) + val rootProperties = root.properties + if ((rootProperties !is JavaSourceRootProperties || !rootProperties.isForGeneratedSources) && moduleWithForm.contains (module.name)) { + // rootDir.walk().any { it.extension == "form" } + sequenceOf(SourceDirDescriptor(glob = listOf("$prefix**/*.kt", "$prefix**/*.java", "$prefix**/*.form"), excludes = excludes)) + } + else { + sequenceOf(SourceDirDescriptor(glob = listOf("$prefix**/*.kt", "$prefix**/*.java"), excludes = excludes)) + } } else { sequenceOf(SourceDirDescriptor(glob = listOf("$prefix**/*"), excludes = excludes)) diff --git a/platform/build-scripts/bazel/src/org/jetbrains/intellij/build/bazel/moduleWithForms.kt b/platform/build-scripts/bazel/src/org/jetbrains/intellij/build/bazel/moduleWithForms.kt new file mode 100644 index 000000000000..ae46ff7b96bd --- /dev/null +++ b/platform/build-scripts/bazel/src/org/jetbrains/intellij/build/bazel/moduleWithForms.kt @@ -0,0 +1,187 @@ +// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +package org.jetbrains.intellij.build.bazel + +internal val moduleWithForm: Set = setOf( + "intellij.platform.execution.impl", + "intellij.platform.ide", + "intellij.platform.lang", + "intellij.platform.ide.impl", + "intellij.platform.lang.impl", + "intellij.platform.diff.impl", + "intellij.platform.ide.internal", + "intellij.platform.remoteServers.impl", + "intellij.platform.debugger.impl", + "intellij.platform.vcs.impl", + "intellij.platform.images", + "intellij.xml.dom", + "intellij.xml.impl", + "intellij.spellchecker", + "intellij.java.impl", + "intellij.platform.externalSystem.impl", + "intellij.platform.testRunner", + "intellij.copyright", + "intellij.maven", + "intellij.xml.langInjection", + "intellij.xpath", + "intellij.platform.langInjection", + "intellij.properties.backend", + "intellij.java.compiler.impl", + "intellij.java.ui", + "intellij.java.impl.refactorings", + "intellij.java.execution.impl", + "intellij.java.debugger.impl", + "intellij.groovy", + "intellij.ant", + "intellij.java.remoteServers.impl", + "intellij.java.langInjection", + "intellij.java.i18n", + "intellij.junit", + "intellij.testng", + "intellij.java.guiForms.designer", + "intellij.eclipse", + "intellij.platform.tests", + "intellij.relaxng", + "intellij.platform.coverage", + "intellij.platform.tasks.impl", + "intellij.java.unscramble", + "intellij.gradle", + "intellij.performanceTesting", + "intellij.sh.core", + "intellij.performanceTesting.async.core", + "intellij.platform.ssh.ui", + "intellij.platform.ide.remote", + "intellij.php.impl", + "intellij.webDeployment", + "intellij.database.sql.impl", + "intellij.database.impl", + "intellij.grid.impl", + "intellij.platform.duplicates", + "intellij.platform.webide.impl", + "intellij.restClient", + "intellij.diagram.impl", + "intellij.platform.graph.impl", + "intellij.javascript.impl", + "intellij.css.impl", + "intellij.vcs.git", + "intellij.editorconfig.backend", + "intellij.database.plugin", + "intellij.clouds.docker", + "intellij.dev.psiViewer", + "intellij.javaee.platform.impl", + "intellij.spring.core", + "intellij.javaee.web.impl", + "intellij.javaee.jsp.impl", + "intellij.javaee.app.servers.impl", + "intellij.lombok", + "intellij.hibernate", + "intellij.javaee.jpa.impl", + "intellij.xml.duplicates", + "intellij.devkit.core", + "intellij.sass", + "intellij.javascript.langInjection", + "intellij.flex", + "intellij.javascript.debugger", + "intellij.nodeJS", + "intellij.gwt", + "intellij.properties.resource.bundle.editor", + "intellij.tasks.core", + "intellij.tasks", + "intellij.clouds.docker.remoteRun", + "intellij.webDeployment.transport", + "intellij.python.community.impl", + "intellij.python.syntax", + "intellij.python", + "intellij.django.core", + "intellij.python.templateLanguages", + "intellij.python.community.plugin.java", + "intellij.go.impl", + "intellij.restructuredtext.python", + "intellij.python.django", + "intellij.python.gherkin", + "intellij.gherkin", + "intellij.python.remoteInterpreter", + "intellij.remoteRun", + "intellij.python.profiler", + "intellij.python.pyramid", + "intellij.puppet", + "intellij.ruby.backend", + "intellij.ruby.java", + "intellij.spring.boot.core", + "intellij.spring.boot.run", + "intellij.spring.boot.initializr", + "kotlin.idea", + "kotlin.base.compiler-configuration-ui", + "kotlin.j2k.shared", + "kotlin.run-configurations.jvm", + "kotlin.jvm-debugger.core", + "kotlin.refactorings.k2", + "intellij.java.duplicates", + "intellij.javaee.ejb.impl", + "intellij.coffeescript", + "intellij.cidr.debugger", + "intellij.c.core", + "intellij.cidr.clangd", + "intellij.appcode", + "intellij.ruby.coverage", + "intellij.ruby.docker", + "intellij.profiler.ruby", + "intellij.ruby.cucumber", + "intellij.ruby.cucumber.java", + "intellij.diagram.java", + "intellij.xml.refactoring", + "intellij.xml.xmlbeans", + "intellij.ejs", + "intellij.handlebars", + "intellij.javascript.cucumber", + "intellij.aspectj", + "intellij.blade", + "intellij.cfml", + "intellij.cucumber.java", + "intellij.dart", + "intellij.platform.statistics.devkit", + "intellij.groovy.grails", + "intellij.javaFX", + "intellij.javaee.appServers", + "intellij.javaee.appServers.glassfish.base", + "intellij.javaee.appServers.jboss.base", + "intellij.javaee.appServers.jetty.base", + "intellij.javaee.appServers.view", + "intellij.javaee.appServers.weblogic", + "intellij.javaee.appServers.websphere", + "intellij.javaee.jax.ws", + "intellij.jsr45debug", + "intellij.osgi", + "intellij.phing", + "intellij.php.commandLineTool", + "intellij.php.docker", + "intellij.php.remoteInterpreter", + "intellij.spring.webflow", + "intellij.tasks.timeTracking", + "intellij.terraform", + "intellij.vcs.hg", + "intellij.vcs.perforce", + "intellij.vcs.svn", + "intellij.yeoman", + "intellij.zkm", + "intellij.javaee.appServers.tomcat", + "intellij.performanceTesting.ui", + "intellij.twig", + "intellij.pycharm.community.ide.impl", + "intellij.drupal", + "intellij.wordPress", + "intellij.r", + "intellij.gauge", + "intellij.builtInHelp", + "intellij.rider", + "intellij.exceptionAnalyzer", + "intellij.java.rareRefactorings", + "intellij.vagrant", + "intellij.joomla", + "intellij.psalm", + "intellij.php.workshop", + "intellij.phpstan", + "intellij.qt.python", + "intellij.rider.plugins.android", + "intellij.sqlComplexity", + "util.android-studio.android-studio-roboscope-plugin" +) \ No newline at end of file diff --git a/platform/diff-impl/BUILD.bazel b/platform/diff-impl/BUILD.bazel index 41f60632fc0c..c37edbd7db70 100644 --- a/platform/diff-impl/BUILD.bazel +++ b/platform/diff-impl/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "diff-impl", module_name = "intellij.platform.diff.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/core-api:core", "//platform/diff-api:diff", diff --git a/platform/execution-impl/BUILD.bazel b/platform/execution-impl/BUILD.bazel index aeac6c1b776e..ce7367e17ff4 100644 --- a/platform/execution-impl/BUILD.bazel +++ b/platform/execution-impl/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "execution-impl", module_name = "intellij.platform.execution.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "@lib//:kotlin-stdlib", "//platform/core-impl", diff --git a/platform/external-system-impl/BUILD.bazel b/platform/external-system-impl/BUILD.bazel index 7e95686dd572..37256d6456de 100644 --- a/platform/external-system-impl/BUILD.bazel +++ b/platform/external-system-impl/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "externalSystem-impl", module_name = "intellij.platform.externalSystem.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/external-system-api:externalSystem", diff --git a/platform/lang-api/BUILD.bazel b/platform/lang-api/BUILD.bazel index bd42bd0a5af3..ed9608ccb3d2 100644 --- a/platform/lang-api/BUILD.bazel +++ b/platform/lang-api/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "lang", module_name = "intellij.platform.lang", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/platform-api:ide", diff --git a/platform/lang-impl/BUILD.bazel b/platform/lang-impl/BUILD.bazel index 30bf2c86cc0b..484823047f03 100644 --- a/platform/lang-impl/BUILD.bazel +++ b/platform/lang-impl/BUILD.bazel @@ -22,7 +22,7 @@ jvm_library( name = "lang-impl", module_name = "intellij.platform.lang.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), javac_opts = ":custom-javac-options", deps = [ "//platform/boot", diff --git a/platform/platform-api/BUILD.bazel b/platform/platform-api/BUILD.bazel index e31db96751a1..d48febc76afe 100644 --- a/platform/platform-api/BUILD.bazel +++ b/platform/platform-api/BUILD.bazel @@ -22,7 +22,7 @@ jvm_library( name = "ide", module_name = "intellij.platform.ide", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), javac_opts = ":custom-javac-options", deps = [ "//platform/util", diff --git a/platform/platform-impl/BUILD.bazel b/platform/platform-impl/BUILD.bazel index e8e4df4860f3..228ae3356fe2 100644 --- a/platform/platform-impl/BUILD.bazel +++ b/platform/platform-impl/BUILD.bazel @@ -28,7 +28,7 @@ jvm_library( name = "ide-impl", module_name = "intellij.platform.ide.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), javac_opts = ":custom-javac-options", deps = [ "@lib//:eawtstub-provided", @@ -171,7 +171,7 @@ jvm_library( jvm_library( name = "ide-impl_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), javac_opts = ":custom-javac-options", associates = [":ide-impl"], deps = [ diff --git a/platform/platform-impl/internal/BUILD.bazel b/platform/platform-impl/internal/BUILD.bazel index c1b91ff6f71c..3dfef4bcea1d 100644 --- a/platform/platform-impl/internal/BUILD.bazel +++ b/platform/platform-impl/internal/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "internal", module_name = "intellij.platform.ide.internal", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//jps/model-api:model", diff --git a/platform/platform-impl/remote/BUILD.bazel b/platform/platform-impl/remote/BUILD.bazel index 667d250e09a2..2dd7e9bca46e 100644 --- a/platform/platform-impl/remote/BUILD.bazel +++ b/platform/platform-impl/remote/BUILD.bazel @@ -5,7 +5,7 @@ jvm_library( name = "remote", module_name = "intellij.platform.ide.remote", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "@lib//:kotlin-stdlib", "//platform/util/jdom", diff --git a/platform/platform-tests/BUILD.bazel b/platform/platform-tests/BUILD.bazel index 22a0007332fb..a3e37b237c9b 100644 --- a/platform/platform-tests/BUILD.bazel +++ b/platform/platform-tests/BUILD.bazel @@ -16,7 +16,7 @@ java_library( jvm_library( name = "tests_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testGen/**/*.kt", "testGen/**/*.java", "testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testGen/**/*.kt", "testGen/**/*.java", "testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/foldings", diff --git a/platform/remote-servers/impl/BUILD.bazel b/platform/remote-servers/impl/BUILD.bazel index 4b6eb29a16be..5564020f9b2e 100644 --- a/platform/remote-servers/impl/BUILD.bazel +++ b/platform/remote-servers/impl/BUILD.bazel @@ -17,7 +17,7 @@ jvm_library( name = "impl", module_name = "intellij.platform.remoteServers.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/platform-api:ide", diff --git a/platform/statistics/devkit/BUILD.bazel b/platform/statistics/devkit/BUILD.bazel index 3652d3510fed..49460f1330ea 100644 --- a/platform/statistics/devkit/BUILD.bazel +++ b/platform/statistics/devkit/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "devkit", module_name = "intellij.platform.statistics.devkit", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "@lib//:kotlin-stdlib", "//platform/editor-ui-api:editor-ui", @@ -37,7 +37,7 @@ jvm_library( jvm_library( name = "devkit_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), associates = [":devkit"], deps = [ "@lib//:kotlin-stdlib", diff --git a/platform/tasks-platform-impl/BUILD.bazel b/platform/tasks-platform-impl/BUILD.bazel index 594e1518a04f..dca6d4505dfa 100644 --- a/platform/tasks-platform-impl/BUILD.bazel +++ b/platform/tasks-platform-impl/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "tasks-impl", module_name = "intellij.platform.tasks.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/tasks-platform-api:tasks", diff --git a/platform/testRunner/BUILD.bazel b/platform/testRunner/BUILD.bazel index 7785a2314707..c31c217c6b7c 100644 --- a/platform/testRunner/BUILD.bazel +++ b/platform/testRunner/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "testRunner", module_name = "intellij.platform.testRunner", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/platform-api:ide", @@ -33,7 +33,7 @@ jvm_library( jvm_library( name = "testRunner_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), associates = [":testRunner"], deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/platform/vcs-impl/BUILD.bazel b/platform/vcs-impl/BUILD.bazel index 2de345a49525..a33ac50c8d18 100644 --- a/platform/vcs-impl/BUILD.bazel +++ b/platform/vcs-impl/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "vcs-impl", module_name = "intellij.platform.vcs.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//jps/model-api:model", @@ -67,7 +67,7 @@ jvm_library( jvm_library( name = "vcs-impl_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), associates = [":vcs-impl"], deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/platform/xdebugger-impl/BUILD.bazel b/platform/xdebugger-impl/BUILD.bazel index 3fe7a9d8ca63..5dcbc9b4b8a9 100644 --- a/platform/xdebugger-impl/BUILD.bazel +++ b/platform/xdebugger-impl/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "debugger-impl", module_name = "intellij.platform.debugger.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/xdebugger-api:debugger", "//platform/editor-ui-api:editor-ui", @@ -54,7 +54,7 @@ jvm_library( jvm_library( name = "debugger-impl_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), associates = [":debugger-impl"], deps = [ "//platform/xdebugger-api:debugger", diff --git a/plugins/IntelliLang/BUILD.bazel b/plugins/IntelliLang/BUILD.bazel index 384e94f4eb64..cced16e784fb 100644 --- a/plugins/IntelliLang/BUILD.bazel +++ b/plugins/IntelliLang/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "langInjection", module_name = "intellij.platform.langInjection", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/platform-impl:ide-impl", diff --git a/plugins/IntelliLang/java-support/BUILD.bazel b/plugins/IntelliLang/java-support/BUILD.bazel index 6f1522e22bb9..b55f5d81d692 100644 --- a/plugins/IntelliLang/java-support/BUILD.bazel +++ b/plugins/IntelliLang/java-support/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "java-langInjection", module_name = "intellij.java.langInjection", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//java/openapi:java", "//platform/editor-ui-api:editor-ui", diff --git a/plugins/IntelliLang/xml-support/BUILD.bazel b/plugins/IntelliLang/xml-support/BUILD.bazel index 1318e924fddb..660c3ed408a8 100644 --- a/plugins/IntelliLang/xml-support/BUILD.bazel +++ b/plugins/IntelliLang/xml-support/BUILD.bazel @@ -16,7 +16,7 @@ jvm_library( name = "xml-langInjection", module_name = "intellij.xml.langInjection", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/platform-impl:ide-impl", diff --git a/plugins/ant/BUILD.bazel b/plugins/ant/BUILD.bazel index ce8a15d5095e..731d3be776c4 100644 --- a/plugins/ant/BUILD.bazel +++ b/plugins/ant/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "ant", module_name = "intellij.ant", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//java/openapi:java", "@lib//ant/lib:ant-antlr", @@ -52,7 +52,7 @@ jvm_library( jvm_library( name = "ant_test_lib", visibility = ["//visibility:public"], - srcs = glob(["tests/src/**/*.kt", "tests/src/**/*.java"], allow_empty = True), + srcs = glob(["tests/src/**/*.kt", "tests/src/**/*.java", "tests/src/**/*.form"], allow_empty = True), associates = [":ant"], deps = [ "//java/openapi:java", diff --git a/plugins/built-in-help/BUILD.bazel b/plugins/built-in-help/BUILD.bazel index 07cedc6d0aeb..a98b043c97e4 100644 --- a/plugins/built-in-help/BUILD.bazel +++ b/plugins/built-in-help/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "built-in-help", module_name = "intellij.builtInHelp", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "@lib//:kotlin-stdlib", "@lib//:netty-codec-http", diff --git a/plugins/copyright/BUILD.bazel b/plugins/copyright/BUILD.bazel index fba24582cb83..bd6c7b0a68bb 100644 --- a/plugins/copyright/BUILD.bazel +++ b/plugins/copyright/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "copyright", module_name = "intellij.copyright", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//jps/model-api:model", @@ -34,7 +34,7 @@ jvm_library( jvm_library( name = "copyright_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), associates = [":copyright"], deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/plugins/coverage-common/BUILD.bazel b/plugins/coverage-common/BUILD.bazel index bf46b2e94221..75a2ee959daf 100644 --- a/plugins/coverage-common/BUILD.bazel +++ b/plugins/coverage-common/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "coverage", module_name = "intellij.platform.coverage", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/platform-api:ide", @@ -39,7 +39,7 @@ jvm_library( jvm_library( name = "coverage_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), associates = [":coverage"], deps = [ "@lib//:junit5", diff --git a/plugins/dev/intellij.dev.psiViewer/BUILD.bazel b/plugins/dev/intellij.dev.psiViewer/BUILD.bazel index 691e40c11e66..2bae83729cb0 100644 --- a/plugins/dev/intellij.dev.psiViewer/BUILD.bazel +++ b/plugins/dev/intellij.dev.psiViewer/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "psiViewer", module_name = "intellij.dev.psiViewer", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "@lib//:jetbrains-annotations", "//platform/editor-ui-api:editor-ui", diff --git a/plugins/devkit/devkit-core/BUILD.bazel b/plugins/devkit/devkit-core/BUILD.bazel index a2a2146327e7..7bc865b93aec 100644 --- a/plugins/devkit/devkit-core/BUILD.bazel +++ b/plugins/devkit/devkit-core/BUILD.bazel @@ -17,7 +17,7 @@ jvm_library( name = "core", module_name = "intellij.devkit.core", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), kotlinc_opts = ":custom", deps = [ "@lib//:jetbrains-annotations", diff --git a/plugins/eclipse/BUILD.bazel b/plugins/eclipse/BUILD.bazel index e56f625da857..29399de9eba8 100644 --- a/plugins/eclipse/BUILD.bazel +++ b/plugins/eclipse/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "eclipse", module_name = "intellij.eclipse", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//jps/model-api:model", @@ -40,7 +40,7 @@ jvm_library( jvm_library( name = "eclipse_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSources/**/*.kt", "testSources/**/*.java"], allow_empty = True), + srcs = glob(["testSources/**/*.kt", "testSources/**/*.java", "testSources/**/*.form"], allow_empty = True), associates = [":eclipse"], deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/plugins/editorconfig/backend/BUILD.bazel b/plugins/editorconfig/backend/BUILD.bazel index 686fa6ce4dba..eeb8539c1980 100644 --- a/plugins/editorconfig/backend/BUILD.bazel +++ b/plugins/editorconfig/backend/BUILD.bazel @@ -17,7 +17,7 @@ jvm_library( name = "backend", module_name = "intellij.editorconfig.backend", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), deps = [ "//platform/core-api:core", "//platform/editor-ui-api:editor-ui", @@ -53,7 +53,7 @@ jvm_library( jvm_library( name = "backend_test_lib", visibility = ["//visibility:public"], - srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), + srcs = glob(["test/**/*.kt", "test/**/*.java", "test/**/*.form"], allow_empty = True), associates = [":backend"], deps = [ "//platform/core-api:core", diff --git a/plugins/git4idea/BUILD.bazel b/plugins/git4idea/BUILD.bazel index 8525a13d2699..5914e10ef656 100644 --- a/plugins/git4idea/BUILD.bazel +++ b/plugins/git4idea/BUILD.bazel @@ -29,7 +29,7 @@ jvm_library( name = "vcs-git", module_name = "intellij.vcs.git", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), kotlinc_opts = ":custom", deps = [ "//platform/editor-ui-api:editor-ui", @@ -106,7 +106,7 @@ jvm_library( jvm_library( name = "vcs-git_test_lib", visibility = ["//visibility:public"], - srcs = glob(["tests/**/*.kt", "tests/**/*.java"], allow_empty = True), + srcs = glob(["tests/**/*.kt", "tests/**/*.java", "tests/**/*.form"], allow_empty = True), kotlinc_opts = ":custom", associates = [":vcs-git"], deps = [ diff --git a/plugins/gradle/BUILD.bazel b/plugins/gradle/BUILD.bazel index feb278204b4e..55f1743b0775 100644 --- a/plugins/gradle/BUILD.bazel +++ b/plugins/gradle/BUILD.bazel @@ -17,7 +17,7 @@ jvm_library( name = "gradle", module_name = "intellij.gradle", visibility = ["//visibility:public"], - srcs = glob(["generated/**/*.kt", "generated/**/*.java", "src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["generated/**/*.kt", "generated/**/*.java", "src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/external-system-api:externalSystem", diff --git a/plugins/groovy/BUILD.bazel b/plugins/groovy/BUILD.bazel index cbaa84365001..a878d4defbd1 100644 --- a/plugins/groovy/BUILD.bazel +++ b/plugins/groovy/BUILD.bazel @@ -21,7 +21,7 @@ jvm_library( name = "groovy", module_name = "intellij.groovy", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//jps/model-api:model", @@ -83,7 +83,7 @@ jvm_library( jvm_library( name = "groovy_test_lib", visibility = ["//visibility:public"], - srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), + srcs = glob(["test/**/*.kt", "test/**/*.java", "test/**/*.form"], allow_empty = True), associates = [":groovy"], deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/plugins/hg4idea/BUILD.bazel b/plugins/hg4idea/BUILD.bazel index 1b5ad96a0bc4..be2f3a8f5906 100644 --- a/plugins/hg4idea/BUILD.bazel +++ b/plugins/hg4idea/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "vcs-hg", module_name = "intellij.vcs.hg", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/vcs-api:vcs", @@ -38,7 +38,7 @@ jvm_library( jvm_library( name = "vcs-hg_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), associates = [":vcs-hg"], deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/plugins/java-i18n/BUILD.bazel b/plugins/java-i18n/BUILD.bazel index b910c41ba3c3..47dd3b0d32cb 100644 --- a/plugins/java-i18n/BUILD.bazel +++ b/plugins/java-i18n/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "java-i18n", module_name = "intellij.java.i18n", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/foldings", @@ -49,7 +49,7 @@ jvm_library( jvm_library( name = "java-i18n_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), associates = [":java-i18n"], deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/plugins/javaFX/BUILD.bazel b/plugins/javaFX/BUILD.bazel index ac41e7c2120f..abf4ed2fb026 100644 --- a/plugins/javaFX/BUILD.bazel +++ b/plugins/javaFX/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "javaFX", module_name = "intellij.javaFX", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//jps/model-api:model", @@ -48,7 +48,7 @@ jvm_library( jvm_library( name = "javaFX_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), associates = [":javaFX"], deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/plugins/junit/BUILD.bazel b/plugins/junit/BUILD.bazel index 1ec7e8918cbf..bcb443bdeff4 100644 --- a/plugins/junit/BUILD.bazel +++ b/plugins/junit/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "junit", module_name = "intellij.junit", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//java/execution/openapi:java-execution", "//java/openapi:java", diff --git a/plugins/kotlin/base/compiler-configuration-ui/BUILD.bazel b/plugins/kotlin/base/compiler-configuration-ui/BUILD.bazel index 92b4f422de9f..9a85199668cf 100644 --- a/plugins/kotlin/base/compiler-configuration-ui/BUILD.bazel +++ b/plugins/kotlin/base/compiler-configuration-ui/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "compiler-configuration-ui", module_name = "kotlin.base.compiler-configuration-ui", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlin-reflect", diff --git a/plugins/kotlin/idea/BUILD.bazel b/plugins/kotlin/idea/BUILD.bazel index 4826687b7602..362f33e104df 100644 --- a/plugins/kotlin/idea/BUILD.bazel +++ b/plugins/kotlin/idea/BUILD.bazel @@ -34,7 +34,7 @@ jvm_library( name = "idea", module_name = "kotlin.idea", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), kotlinc_opts = ":custom", deps = [ "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/kotlin/j2k/shared/BUILD.bazel b/plugins/kotlin/j2k/shared/BUILD.bazel index d59049953b1d..01c210f03b83 100644 --- a/plugins/kotlin/j2k/shared/BUILD.bazel +++ b/plugins/kotlin/j2k/shared/BUILD.bazel @@ -21,7 +21,7 @@ jvm_library( name = "shared", module_name = "kotlin.j2k.shared", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), kotlinc_opts = ":custom", deps = [ "@lib//:kotlin-stdlib", diff --git a/plugins/kotlin/jvm-debugger/core/BUILD.bazel b/plugins/kotlin/jvm-debugger/core/BUILD.bazel index e05e3eca3643..cd8a16dbc577 100644 --- a/plugins/kotlin/jvm-debugger/core/BUILD.bazel +++ b/plugins/kotlin/jvm-debugger/core/BUILD.bazel @@ -18,7 +18,7 @@ jvm_library( name = "core", module_name = "kotlin.jvm-debugger.core", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), kotlinc_opts = ":custom", deps = [ "@lib//:kotlin-stdlib", diff --git a/plugins/kotlin/refactorings/kotlin.refactorings.k2/BUILD.bazel b/plugins/kotlin/refactorings/kotlin.refactorings.k2/BUILD.bazel index a449bf421452..4b4a6fc735e9 100644 --- a/plugins/kotlin/refactorings/kotlin.refactorings.k2/BUILD.bazel +++ b/plugins/kotlin/refactorings/kotlin.refactorings.k2/BUILD.bazel @@ -23,7 +23,7 @@ jvm_library( name = "kotlin-refactorings-k2", module_name = "kotlin.refactorings.k2", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), kotlinc_opts = ":custom", deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/plugins/kotlin/run-configurations/jvm/BUILD.bazel b/plugins/kotlin/run-configurations/jvm/BUILD.bazel index 93a5b6203a8b..a3beb4b34db3 100644 --- a/plugins/kotlin/run-configurations/jvm/BUILD.bazel +++ b/plugins/kotlin/run-configurations/jvm/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "jvm", module_name = "kotlin.run-configurations.jvm", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "@lib//:kotlin-stdlib", "@lib//:kotlinc-kotlin-compiler-common", diff --git a/plugins/lombok/BUILD.bazel b/plugins/lombok/BUILD.bazel index f5a4cb2b65be..a64d6da4b944 100644 --- a/plugins/lombok/BUILD.bazel +++ b/plugins/lombok/BUILD.bazel @@ -23,7 +23,7 @@ jvm_library( name = "lombok", module_name = "intellij.lombok", visibility = ["//visibility:public"], - srcs = glob(["src/main/java/**/*.kt", "src/main/java/**/*.java", "lang/src/**/*.kt", "lang/src/**/*.java"], allow_empty = True), + srcs = glob(["src/main/java/**/*.kt", "src/main/java/**/*.java", "src/main/java/**/*.form", "lang/src/**/*.kt", "lang/src/**/*.java"], allow_empty = True), deps = [ "//plugins/lombok/generated", "//platform/editor-ui-api:editor-ui", @@ -50,7 +50,7 @@ jvm_library( jvm_library( name = "lombok_test_lib", visibility = ["//visibility:public"], - srcs = glob(["src/test/java/**/*.kt", "src/test/java/**/*.java"], allow_empty = True), + srcs = glob(["src/test/java/**/*.kt", "src/test/java/**/*.java", "src/test/java/**/*.form"], allow_empty = True), associates = [":lombok"], deps = [ "//plugins/lombok/generated", diff --git a/plugins/maven/BUILD.bazel b/plugins/maven/BUILD.bazel index 0d7ec1ff8c7e..a2f1d0f0bdcc 100644 --- a/plugins/maven/BUILD.bazel +++ b/plugins/maven/BUILD.bazel @@ -21,7 +21,7 @@ jvm_library( name = "maven", module_name = "intellij.maven", visibility = ["//visibility:public"], - srcs = glob(["src/main/java/**/*.kt", "src/main/java/**/*.java", "src/main/gen/**/*.kt", "src/main/gen/**/*.java"], allow_empty = True), + srcs = glob(["src/main/java/**/*.kt", "src/main/java/**/*.java", "src/main/java/**/*.form", "src/main/gen/**/*.kt", "src/main/gen/**/*.java"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/ide-core-impl", diff --git a/plugins/performanceTesting/core/BUILD.bazel b/plugins/performanceTesting/core/BUILD.bazel index 527990309a8f..56c481424915 100644 --- a/plugins/performanceTesting/core/BUILD.bazel +++ b/plugins/performanceTesting/core/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "performanceTesting", module_name = "intellij.performanceTesting", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "@lib//:kotlin-stdlib", "//platform/remote-driver/model", @@ -61,7 +61,7 @@ jvm_library( jvm_library( name = "performanceTesting_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), associates = [":performanceTesting"], deps = [ "@lib//:kotlin-stdlib", diff --git a/plugins/performanceTesting/scripts-ui/BUILD.bazel b/plugins/performanceTesting/scripts-ui/BUILD.bazel index 74fdccb7b783..685573c7eda3 100644 --- a/plugins/performanceTesting/scripts-ui/BUILD.bazel +++ b/plugins/performanceTesting/scripts-ui/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "ui", module_name = "intellij.performanceTesting.ui", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), deps = [ "//platform/core-api:core", "//platform/core-impl", @@ -29,7 +29,7 @@ jvm_library( jvm_library( name = "ui_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), associates = [":ui"], deps = [ "//platform/core-api:core", diff --git a/plugins/properties/BUILD.bazel b/plugins/properties/BUILD.bazel index e87bf1a56d8a..29594b9c2945 100644 --- a/plugins/properties/BUILD.bazel +++ b/plugins/properties/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "properties-backend", module_name = "intellij.properties.backend", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/lang-api:lang", diff --git a/plugins/properties/properties-resource-bundle-editor/BUILD.bazel b/plugins/properties/properties-resource-bundle-editor/BUILD.bazel index 779e7deafe88..f67157f27876 100644 --- a/plugins/properties/properties-resource-bundle-editor/BUILD.bazel +++ b/plugins/properties/properties-resource-bundle-editor/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "resource-bundle-editor", module_name = "intellij.properties.resource.bundle.editor", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/refactoring", @@ -38,7 +38,7 @@ jvm_library( jvm_library( name = "resource-bundle-editor_test_lib", visibility = ["//visibility:public"], - srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), + srcs = glob(["test/**/*.kt", "test/**/*.java", "test/**/*.form"], allow_empty = True), associates = [":resource-bundle-editor"], deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/plugins/rareJavaRefactorings/BUILD.bazel b/plugins/rareJavaRefactorings/BUILD.bazel index f3315a652733..d64c8f891b88 100644 --- a/plugins/rareJavaRefactorings/BUILD.bazel +++ b/plugins/rareJavaRefactorings/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "java-rareRefactorings", module_name = "intellij.java.rareRefactorings", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//java/java-impl:impl", "//platform/core-ui", @@ -31,7 +31,7 @@ jvm_library( jvm_library( name = "java-rareRefactorings_test_lib", visibility = ["//visibility:public"], - srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), + srcs = glob(["test/**/*.kt", "test/**/*.java", "test/**/*.form"], allow_empty = True), associates = [":java-rareRefactorings"], deps = [ "//java/java-impl:impl", diff --git a/plugins/sh/core/BUILD.bazel b/plugins/sh/core/BUILD.bazel index 78042b287855..c87ee06a0cb3 100644 --- a/plugins/sh/core/BUILD.bazel +++ b/plugins/sh/core/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "core", module_name = "intellij.sh.core", visibility = ["//visibility:public"], - srcs = glob(["gen/**/*.kt", "gen/**/*.java", "src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["gen/**/*.kt", "gen/**/*.java", "src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/lang-api:lang", diff --git a/plugins/svn4idea/BUILD.bazel b/plugins/svn4idea/BUILD.bazel index 9d2678e72a6d..b5e9c5099df3 100644 --- a/plugins/svn4idea/BUILD.bazel +++ b/plugins/svn4idea/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "vcs-svn", module_name = "intellij.vcs.svn", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/util", diff --git a/plugins/tasks/tasks-api/BUILD.bazel b/plugins/tasks/tasks-api/BUILD.bazel index 8d1ffc0a9063..866b302a691e 100644 --- a/plugins/tasks/tasks-api/BUILD.bazel +++ b/plugins/tasks/tasks-api/BUILD.bazel @@ -5,7 +5,7 @@ jvm_library( name = "tasks", module_name = "intellij.tasks", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/platform-api:ide", diff --git a/plugins/tasks/tasks-core/BUILD.bazel b/plugins/tasks/tasks-core/BUILD.bazel index 78bfb3e7453e..d0eeeee5ea1b 100644 --- a/plugins/tasks/tasks-core/BUILD.bazel +++ b/plugins/tasks/tasks-core/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "core", module_name = "intellij.tasks.core", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//plugins/tasks/tasks-api:tasks", diff --git a/plugins/testng/BUILD.bazel b/plugins/testng/BUILD.bazel index 1a9f6778878b..280966ec0034 100644 --- a/plugins/testng/BUILD.bazel +++ b/plugins/testng/BUILD.bazel @@ -23,7 +23,7 @@ jvm_library( name = "testng", module_name = "intellij.testng", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//java/openapi:java", "//java/execution/impl", @@ -58,7 +58,7 @@ jvm_library( jvm_library( name = "testng_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSources/**/*.kt", "testSources/**/*.java"], allow_empty = True), + srcs = glob(["testSources/**/*.kt", "testSources/**/*.java", "testSources/**/*.form"], allow_empty = True), associates = [":testng"], deps = [ "//java/openapi:java", diff --git a/plugins/ui-designer/BUILD.bazel b/plugins/ui-designer/BUILD.bazel index 3d329bfaac0f..b579e716e679 100644 --- a/plugins/ui-designer/BUILD.bazel +++ b/plugins/ui-designer/BUILD.bazel @@ -23,7 +23,7 @@ jvm_library( name = "java-guiForms-designer", module_name = "intellij.java.guiForms.designer", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//java/openapi:java", "//platform/editor-ui-api:editor-ui", @@ -72,7 +72,7 @@ jvm_library( jvm_library( name = "java-guiForms-designer_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), associates = [":java-guiForms-designer"], deps = [ "//java/openapi:java", diff --git a/plugins/xpath/BUILD.bazel b/plugins/xpath/BUILD.bazel index a6afa667a05f..81abc1179144 100644 --- a/plugins/xpath/BUILD.bazel +++ b/plugins/xpath/BUILD.bazel @@ -17,7 +17,7 @@ jvm_library( name = "xpath", module_name = "intellij.xpath", visibility = ["//visibility:public"], - srcs = glob(["xpath-lang/src/**/*.kt", "xpath-lang/src/**/*.java", "xpath-view/src/**/*.kt", "xpath-view/src/**/*.java", "xpath-lang/gen/**/*.kt", "xpath-lang/gen/**/*.java"], allow_empty = True), + srcs = glob(["xpath-lang/src/**/*.kt", "xpath-lang/src/**/*.java", "xpath-lang/src/**/*.form", "xpath-view/src/**/*.kt", "xpath-view/src/**/*.java", "xpath-view/src/**/*.form", "xpath-lang/gen/**/*.kt", "xpath-lang/gen/**/*.java"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//jps/model-api:model", @@ -51,7 +51,7 @@ jvm_library( jvm_library( name = "xpath_test_lib", visibility = ["//visibility:public"], - srcs = glob(["xpath-lang/test/**/*.kt", "xpath-lang/test/**/*.java"], allow_empty = True), + srcs = glob(["xpath-lang/test/**/*.kt", "xpath-lang/test/**/*.java", "xpath-lang/test/**/*.form"], allow_empty = True), associates = [":xpath"], deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/python/BUILD.bazel b/python/BUILD.bazel index 892d2485b983..4fc1e82b29bf 100644 --- a/python/BUILD.bazel +++ b/python/BUILD.bazel @@ -171,7 +171,7 @@ jvm_library( name = "python-community-impl", module_name = "intellij.python.community.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/foldings", diff --git a/python/ide/impl/BUILD.bazel b/python/ide/impl/BUILD.bazel index 1ef45ae4acd7..45e030e9ef94 100644 --- a/python/ide/impl/BUILD.bazel +++ b/python/ide/impl/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "impl", module_name = "intellij.pycharm.community.ide.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/platform-impl:ide-impl", @@ -54,7 +54,7 @@ jvm_library( jvm_library( name = "impl_test_lib", visibility = ["//visibility:public"], - srcs = glob(["tests/**/*.kt", "tests/**/*.java"], allow_empty = True), + srcs = glob(["tests/**/*.kt", "tests/**/*.java", "tests/**/*.form"], allow_empty = True), associates = [":impl"], deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/python/pluginJava/BUILD.bazel b/python/pluginJava/BUILD.bazel index 64c49c13a829..b99973739926 100644 --- a/python/pluginJava/BUILD.bazel +++ b/python/pluginJava/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "community-plugin-java", module_name = "intellij.python.community.plugin.java", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//jps/model-api:model", "//platform/lang-api:lang", diff --git a/python/python-restructuredtext/BUILD.bazel b/python/python-restructuredtext/BUILD.bazel index dfd257c9bb97..237aa148ac5c 100644 --- a/python/python-restructuredtext/BUILD.bazel +++ b/python/python-restructuredtext/BUILD.bazel @@ -36,7 +36,7 @@ jvm_library( name = "restructuredtext-python", module_name = "intellij.restructuredtext.python", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "@lib//:kotlin-stdlib", "//platform/editor-ui-api:editor-ui", diff --git a/python/python-syntax/BUILD.bazel b/python/python-syntax/BUILD.bazel index 3d66e79451d7..80ce7fa1b432 100644 --- a/python/python-syntax/BUILD.bazel +++ b/python/python-syntax/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "syntax", module_name = "intellij.python.syntax", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/analysis-api:analysis", "//platform/core-api:core", diff --git a/spellchecker/BUILD.bazel b/spellchecker/BUILD.bazel index 6b73bb6d1422..60f737fefb81 100644 --- a/spellchecker/BUILD.bazel +++ b/spellchecker/BUILD.bazel @@ -23,7 +23,7 @@ jvm_library( name = "spellchecker", module_name = "intellij.spellchecker", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/lang-api:lang", @@ -58,7 +58,7 @@ jvm_library( jvm_library( name = "spellchecker_test_lib", visibility = ["//visibility:public"], - srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True), + srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java", "testSrc/**/*.form"], allow_empty = True), associates = [":spellchecker"], deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/xml/dom-openapi/BUILD.bazel b/xml/dom-openapi/BUILD.bazel index 191d36bf9f3e..cf8c09ada6c6 100644 --- a/xml/dom-openapi/BUILD.bazel +++ b/xml/dom-openapi/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "dom", module_name = "intellij.xml.dom", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//xml/openapi:xml", diff --git a/xml/impl/BUILD.bazel b/xml/impl/BUILD.bazel index 87fe76b7df55..ad67dfcacc5d 100644 --- a/xml/impl/BUILD.bazel +++ b/xml/impl/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "impl", module_name = "intellij.xml.impl", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/foldings", diff --git a/xml/relaxng/BUILD.bazel b/xml/relaxng/BUILD.bazel index 3fa78ff704e7..f14b859e83dd 100644 --- a/xml/relaxng/BUILD.bazel +++ b/xml/relaxng/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "relaxng", module_name = "intellij.relaxng", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//platform/editor-ui-api:editor-ui", "//platform/lang-api:lang", @@ -36,7 +36,7 @@ jvm_library( jvm_library( name = "relaxng_test_lib", visibility = ["//visibility:public"], - srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), + srcs = glob(["test/**/*.kt", "test/**/*.java", "test/**/*.form"], allow_empty = True), associates = [":relaxng"], deps = [ "//platform/editor-ui-api:editor-ui", diff --git a/xml/xmlbeans/BUILD.bazel b/xml/xmlbeans/BUILD.bazel index adb23dfb9e9b..727f35a13c6a 100644 --- a/xml/xmlbeans/BUILD.bazel +++ b/xml/xmlbeans/BUILD.bazel @@ -11,7 +11,7 @@ jvm_library( name = "xmlbeans", module_name = "intellij.xml.xmlbeans", visibility = ["//visibility:public"], - srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True), + srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True), deps = [ "//xml/impl", "@lib//:xml-xmlbeans-_xml_beans", @@ -32,7 +32,7 @@ jvm_library( jvm_library( name = "xmlbeans_test_lib", visibility = ["//visibility:public"], - srcs = glob(["test/**/*.kt", "test/**/*.java"], allow_empty = True), + srcs = glob(["test/**/*.kt", "test/**/*.java", "test/**/*.form"], allow_empty = True), associates = [":xmlbeans"], deps = [ "//xml/impl",