java searchableOptions.xml is need only for tests

GitOrigin-RevId: c7068039e1cd8af72325db16255b90b35506de94
This commit is contained in:
Vladimir Krivosheev
2025-04-09 15:49:21 +02:00
committed by intellij-monorepo-bot
parent fbb066d967
commit c79c5ad751
7 changed files with 6 additions and 14 deletions

View File

@@ -34,7 +34,6 @@ jvm_library(
"//platform/vcs-api:vcs",
"//xml/dom-openapi:dom",
"//platform/refactoring",
"//resources-en:java-resources-en",
"//java/java-psi-api:psi",
"//java/java-indexing-api:indexing",
"//java/java-analysis-api:analysis",
@@ -51,7 +50,6 @@ jvm_library(
"//platform/extensions",
"//xml/openapi:xml",
"//platform/lang-api:lang",
"//resources-en:java-resources-en",
"//java/java-psi-api:psi",
"//java/java-indexing-api:indexing",
"//java/java-analysis-api:analysis",

View File

@@ -20,7 +20,6 @@
<orderEntry type="module" module-name="intellij.platform.vcs" />
<orderEntry type="module" module-name="intellij.xml.dom" />
<orderEntry type="module" module-name="intellij.platform.refactoring" />
<orderEntry type="module" module-name="intellij.java.resources.en" exported="" />
<orderEntry type="module" module-name="intellij.java.psi" exported="" />
<orderEntry type="module" module-name="intellij.java.indexing" exported="" />
<orderEntry type="module" module-name="intellij.java.analysis" exported="" />

View File

@@ -11,8 +11,6 @@ object JavaPluginLayout {
spec.directoryName = "java"
spec.mainJarName = "java-impl.jar"
spec.excludeFromModule("intellij.java.resources.en", "search/searchableOptions.xml")
spec.withProjectLibrary("netty-jps", "rt/netty-jps.jar")
spec.withModule("intellij.platform.jps.build.launcher", "jps-launcher.jar")

View File

@@ -3,17 +3,15 @@ load("@rules_java//java:defs.bzl", "java_library")
load("@rules_jvm//:jvm.bzl", "jvm_resources")
jvm_resources(
name = "java-resources-en_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
name = "java-resources-en_test_resources",
files = glob(["testResources/**/*"]),
strip_prefix = "testResources",
visibility = ["//visibility:public"]
)
java_library(
name = "java-resources-en",
visibility = ["//visibility:public"],
runtime_deps = [
":java-resources-en_resources",
"//platform/backend",
]
runtime_deps = ["//platform/backend"]
)
### auto-generated section `build intellij.java.resources.en` end

View File

@@ -1 +0,0 @@
skip: *

View File

@@ -3,7 +3,7 @@
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/testResources" type="java-test-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />