Skip to content

Commit 072d0eb

Browse files
develarintellij-monorepo-bot
authored andcommitted
IJ-MR-162467 do not export intellij.platform.refactoring
GitOrigin-RevId: 4bb68401d046d1fffba4fa73935bb1c404d8d49f
1 parent 658adb7 commit 072d0eb

File tree

8 files changed

+197
-84
lines changed

8 files changed

+197
-84
lines changed

BUILD.bazel

Lines changed: 4 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,43 @@
11
### auto-generated section `build intellij.graphql` start
2-
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
2+
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
33

44
jvm_resources(
55
name = "graphql_resources",
66
files = glob(["resources/**/*"]),
77
strip_prefix = "resources"
88
)
99

10-
jvm_resources(
11-
name = "graphql_test_resources",
12-
files = glob(["test-resources/**/*"]),
13-
strip_prefix = "test-resources"
14-
)
15-
1610
jvm_library(
1711
name = "graphql",
1812
module_name = "intellij.graphql",
1913
visibility = ["//visibility:public"],
20-
srcs = glob(["gen/**/*.kt", "gen/**/*.java", "src/main/**/*.kt", "src/main/**/*.java"], allow_empty = True),
14+
srcs = glob(["src/main/**/*.kt", "src/main/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True),
2115
deps = [
2216
"@lib//:kotlin-stdlib",
2317
"@community//platform/editor-ui-api:editor-ui",
2418
"@community//platform/platform-api:ide",
2519
"@community//platform/ide-core-impl",
2620
"@community//platform/platform-impl:ide-impl",
21+
"@community//platform/refactoring",
2722
"@community//platform/usageView",
2823
"@community//platform/usageView-impl",
2924
"@community//xml/xml-parser:parser",
30-
"//plugins/JavaScriptLanguage/javascript-parser",
31-
"//plugins/JavaScriptLanguage/javascript-frontback-impl",
3225
"@community//platform/lang-api:lang",
3326
"@community//platform/lang-impl",
3427
"@community//platform/core-impl",
3528
"@community//platform/core-api:core",
36-
"@community//plugins/yaml",
3729
"@community//platform/core-ui",
3830
"@community//platform/platform-util-io:ide-util-io",
3931
"@community//platform/analysis-impl",
4032
"@community//platform/code-style-impl:codeStyle-impl",
4133
"@community//xml/impl",
42-
"//plugins/JavaScriptLanguage:javascript",
43-
"//plugins/JavaScriptLanguage:javascript-impl",
4434
"@community//platform/projectModel-api:projectModel",
4535
"@community//platform/projectModel-impl",
46-
"@community//plugins/yaml/backend",
47-
"@community//plugins/IntelliLang:langInjection",
4836
"@community//platform/vcs-impl",
4937
"@community//spellchecker",
5038
"//webcore/impl",
5139
"@community//platform/backend/workspace",
40+
"@community//json/backend",
5241
"@lib//:swingx",
5342
"@lib//:gson",
5443
"@lib//:commons-io",
@@ -62,73 +51,4 @@ jvm_library(
6251
],
6352
runtime_deps = [":graphql_resources"]
6453
)
65-
66-
jvm_library(
67-
name = "graphql_test_lib",
68-
visibility = ["//visibility:public"],
69-
srcs = glob(["src/test/**/*.kt", "src/test/**/*.java"], allow_empty = True),
70-
associates = [":graphql"],
71-
deps = [
72-
"@lib//:kotlin-stdlib",
73-
"@community//platform/editor-ui-api:editor-ui",
74-
"@community//platform/platform-api:ide",
75-
"@community//platform/ide-core-impl",
76-
"@community//platform/platform-impl:ide-impl",
77-
"@community//platform/platform-impl:ide-impl_test_lib",
78-
"@community//platform/usageView",
79-
"@community//platform/usageView-impl",
80-
"@community//xml/xml-parser:parser",
81-
"//plugins/JavaScriptLanguage/javascript-parser",
82-
"//plugins/JavaScriptLanguage/javascript-frontback-impl",
83-
"@community//platform/lang-api:lang",
84-
"@community//platform/lang-impl",
85-
"@community//platform/core-impl",
86-
"@community//platform/core-api:core",
87-
"@community//plugins/yaml",
88-
"@community//plugins/yaml:yaml_test_lib",
89-
"@community//platform/core-ui",
90-
"@community//platform/platform-util-io:ide-util-io",
91-
"@community//platform/analysis-impl",
92-
"@community//platform/code-style-impl:codeStyle-impl",
93-
"@community//xml/impl",
94-
"//plugins/JavaScriptLanguage:javascript",
95-
"//plugins/JavaScriptLanguage:javascript-impl",
96-
"@community//platform/projectModel-api:projectModel",
97-
"@community//platform/projectModel-impl",
98-
"@community//plugins/yaml/backend",
99-
"@community//plugins/yaml/backend:backend_test_lib",
100-
"@community//plugins/IntelliLang:langInjection",
101-
"@community//platform/vcs-impl",
102-
"@community//platform/vcs-impl:vcs-impl_test_lib",
103-
"@community//spellchecker",
104-
"@community//spellchecker:spellchecker_test_lib",
105-
"//webcore/impl",
106-
"@community//platform/backend/workspace",
107-
"@community//platform/testFramework",
108-
"@community//platform/testFramework:testFramework_test_lib",
109-
"//plugins/JavaScriptLanguage:javascript-testFramework",
110-
"@community//java/testFramework",
111-
"//ultimate/ultimate-resources:idea-ultimate-customization",
112-
"//contrib/vuejs",
113-
"@lib//:swingx",
114-
"@lib//:gson",
115-
"@lib//:commons-io",
116-
"@lib//:snakeyaml",
117-
"@lib//:guava",
118-
"@lib//:http-client",
119-
"@ultimate_lib//:graphql-io-github-cdimascio-dotenv-kotlin",
120-
"@ultimate_lib//:graphql-reactivestreams-reactive-streams",
121-
"@ultimate_lib//:graphql-graphql-java-dataloader",
122-
"@ultimate_lib//:graphql-atlassian-commonmark",
123-
],
124-
runtime_deps = [
125-
":graphql_resources",
126-
":graphql_test_resources",
127-
]
128-
)
129-
130-
jvm_test(
131-
name = "graphql_test",
132-
runtime_deps = [":graphql_test_lib"]
133-
)
13454
### auto-generated section `build intellij.graphql` end

intellij.graphql.iml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<orderEntry type="module" module-name="intellij.platform.ide" />
1616
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
1717
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
18+
<orderEntry type="module" module-name="intellij.platform.refactoring" />
1819
<orderEntry type="module" module-name="intellij.platform.usageView" />
1920
<orderEntry type="module" module-name="intellij.platform.usageView.impl" />
2021
<orderEntry type="module" module-name="intellij.xml.parser" />

javascript/BUILD.bazel

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
### auto-generated section `build intellij.graphql.javascript` start
2+
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
3+
4+
jvm_resources(
5+
name = "javascript_resources",
6+
files = glob(["resources/**/*"]),
7+
strip_prefix = "resources"
8+
)
9+
10+
jvm_library(
11+
name = "javascript",
12+
module_name = "intellij.graphql.javascript",
13+
visibility = ["//visibility:public"],
14+
srcs = glob(["src/**/*.kt", "src/**/*.java", "gen/**/*.kt", "gen/**/*.java"], allow_empty = True),
15+
deps = [
16+
"@lib//:kotlin-stdlib",
17+
"@community//platform/platform-api:ide",
18+
"@community//platform/ide-core-impl",
19+
"@community//platform/platform-impl:ide-impl",
20+
"@community//platform/lang-api:lang",
21+
"@community//platform/lang-impl",
22+
"@community//platform/core-impl",
23+
"@community//platform/core-api:core",
24+
"@community//platform/platform-util-io:ide-util-io",
25+
"@community//platform/analysis-impl",
26+
"@community//platform/projectModel-api:projectModel",
27+
"@community//platform/projectModel-impl",
28+
"//webcore/impl",
29+
"@community//platform/backend/workspace",
30+
"//plugins/JavaScriptLanguage:javascript",
31+
"//plugins/JavaScriptLanguage:javascript-impl",
32+
"//plugins/JavaScriptLanguage/javascript-parser",
33+
"//plugins/JavaScriptLanguage/javascript-frontback-impl",
34+
"@community//plugins/IntelliLang:langInjection",
35+
"@community//platform/editor-ui-api:editor-ui",
36+
"//plugins/js-graphql:graphql",
37+
"@lib//:gson",
38+
],
39+
runtime_deps = [":javascript_resources"]
40+
)
41+
### auto-generated section `build intellij.graphql.javascript` end

javascript/intellij.graphql.javascript.iml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<orderEntry type="module" module-name="intellij.javascript.parser" />
2929
<orderEntry type="module" module-name="intellij.javascript.frontback.impl" />
3030
<orderEntry type="module" module-name="intellij.platform.langInjection" />
31+
<orderEntry type="module" module-name="intellij.platform.editor.ui" />
3132
<orderEntry type="module" module-name="intellij.graphql" />
3233
<orderEntry type="library" name="gson" level="project" />
3334
</component>

langInjection/BUILD.bazel

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
### auto-generated section `build intellij.graphql.langInjection` start
2+
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
3+
4+
jvm_resources(
5+
name = "langInjection_resources",
6+
files = glob(["resources/**/*"]),
7+
strip_prefix = "resources"
8+
)
9+
10+
jvm_library(
11+
name = "langInjection",
12+
module_name = "intellij.graphql.langInjection",
13+
visibility = ["//visibility:public"],
14+
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
15+
deps = [
16+
"@lib//:kotlin-stdlib",
17+
"@community//platform/platform-api:ide",
18+
"@community//platform/ide-core-impl",
19+
"@community//platform/platform-impl:ide-impl",
20+
"@community//platform/lang-api:lang",
21+
"@community//platform/lang-impl",
22+
"@community//platform/core-impl",
23+
"@community//platform/core-api:core",
24+
"@community//platform/platform-util-io:ide-util-io",
25+
"@community//platform/analysis-impl",
26+
"@community//platform/projectModel-api:projectModel",
27+
"@community//platform/projectModel-impl",
28+
"@community//platform/backend/workspace",
29+
"@community//plugins/IntelliLang:langInjection",
30+
"//plugins/js-graphql:graphql",
31+
],
32+
runtime_deps = [":langInjection_resources"]
33+
)
34+
### auto-generated section `build intellij.graphql.langInjection` end

tests/BUILD.bazel

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
### auto-generated section `build intellij.graphql.tests` start
2+
load("@rules_java//java:defs.bzl", "java_library")
3+
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
4+
5+
jvm_resources(
6+
name = "tests_test_resources",
7+
files = glob(["testData/**/*"]),
8+
strip_prefix = "testData"
9+
)
10+
11+
java_library(
12+
name = "tests",
13+
visibility = ["//visibility:public"]
14+
)
15+
16+
jvm_library(
17+
name = "tests_test_lib",
18+
visibility = ["//visibility:public"],
19+
srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True),
20+
deps = [
21+
"@lib//:kotlin-stdlib",
22+
"@community//platform/platform-api:ide",
23+
"@community//platform/ide-core-impl",
24+
"@community//platform/platform-impl:ide-impl",
25+
"@community//platform/platform-impl:ide-impl_test_lib",
26+
"@community//platform/usageView",
27+
"@community//xml/xml-parser:parser",
28+
"@community//platform/lang-api:lang",
29+
"@community//platform/lang-impl",
30+
"@community//platform/core-impl",
31+
"@community//platform/core-api:core",
32+
"@community//platform/core-ui",
33+
"@community//platform/platform-util-io:ide-util-io",
34+
"@community//platform/analysis-impl",
35+
"@community//platform/code-style-impl:codeStyle-impl",
36+
"@community//xml/impl",
37+
"@community//platform/projectModel-api:projectModel",
38+
"@community//platform/projectModel-impl",
39+
"@community//platform/vcs-impl",
40+
"@community//platform/vcs-impl:vcs-impl_test_lib",
41+
"@community//spellchecker",
42+
"@community//spellchecker:spellchecker_test_lib",
43+
"//webcore/impl",
44+
"@community//platform/backend/workspace",
45+
"@community//json/backend",
46+
"@community//platform/testFramework",
47+
"@community//platform/testFramework:testFramework_test_lib",
48+
"//plugins/JavaScriptLanguage:javascript-testFramework",
49+
"@community//java/testFramework",
50+
"//ultimate/ultimate-resources:idea-ultimate-customization",
51+
"//plugins/JavaScriptLanguage:javascript",
52+
"//plugins/JavaScriptLanguage:javascript-impl",
53+
"//plugins/JavaScriptLanguage/javascript-parser",
54+
"//plugins/JavaScriptLanguage/javascript-frontback-impl",
55+
"//contrib/vuejs",
56+
"@community//plugins/IntelliLang:langInjection",
57+
"@community//plugins/yaml",
58+
"@community//plugins/yaml:yaml_test_lib",
59+
"@community//plugins/yaml/backend",
60+
"@community//plugins/yaml/backend:backend_test_lib",
61+
"//plugins/js-graphql:graphql",
62+
"//plugins/js-graphql/javascript",
63+
"//plugins/js-graphql/langInjection",
64+
"//plugins/js-graphql/yaml",
65+
"@lib//:swingx",
66+
"@lib//:gson",
67+
"@lib//:commons-io",
68+
"@lib//:snakeyaml",
69+
"@lib//:guava",
70+
"@community//platform/editor-ui-api:editor-ui",
71+
"@lib//:http-client",
72+
],
73+
runtime_deps = [":tests_test_resources"]
74+
)
75+
76+
jvm_test(
77+
name = "tests_test",
78+
runtime_deps = [":tests_test_lib"]
79+
)
80+
### auto-generated section `build intellij.graphql.tests` end

tests/intellij.graphql.tests.iml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
<orderEntry type="library" scope="TEST" name="commons-io" level="project" />
5252
<orderEntry type="library" scope="TEST" name="snakeyaml" level="project" />
5353
<orderEntry type="library" scope="TEST" name="Guava" level="project" />
54+
<orderEntry type="module" module-name="intellij.platform.editor.ui" scope="TEST" />
5455
<orderEntry type="library" scope="TEST" name="http-client" level="project" />
5556
</component>
5657
</module>

yaml/BUILD.bazel

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
### auto-generated section `build intellij.graphql.yaml` start
2+
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
3+
4+
jvm_resources(
5+
name = "yaml_resources",
6+
files = glob(["resources/**/*"]),
7+
strip_prefix = "resources"
8+
)
9+
10+
jvm_library(
11+
name = "yaml",
12+
module_name = "intellij.graphql.yaml",
13+
visibility = ["//visibility:public"],
14+
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
15+
deps = [
16+
"@lib//:kotlin-stdlib",
17+
"@community//platform/platform-api:ide",
18+
"@community//platform/ide-core-impl",
19+
"@community//platform/platform-impl:ide-impl",
20+
"@community//platform/lang-api:lang",
21+
"@community//platform/lang-impl",
22+
"@community//platform/core-impl",
23+
"@community//platform/core-api:core",
24+
"@community//platform/platform-util-io:ide-util-io",
25+
"@community//platform/analysis-impl",
26+
"@community//platform/projectModel-api:projectModel",
27+
"@community//platform/projectModel-impl",
28+
"@community//platform/backend/workspace",
29+
"@community//plugins/yaml",
30+
"@community//plugins/yaml/backend",
31+
"//plugins/js-graphql:graphql",
32+
],
33+
runtime_deps = [":yaml_resources"]
34+
)
35+
### auto-generated section `build intellij.graphql.yaml` end

0 commit comments

Comments
 (0)