Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Support Jetbrains IDEs 243 - go and js plugin require json plugin since 243 #6789

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions golang/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ intellij_integration_test_suite(
"//common/experiments",
"//common/experiments:unit_test_utils",
"//intellij_platform_sdk:intellilang_for_tests",
"//intellij_platform_sdk:json_for_tests",
"//intellij_platform_sdk:jsr305",
"//intellij_platform_sdk:plugin_api_for_tests",
"//intellij_platform_sdk:test_libs",
Expand Down
10 changes: 10 additions & 0 deletions intellij_platform_sdk/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,16 @@ java_library(
),
)

java_library(
name = "json_for_tests",
testonly = 1,
exports = select_from_plugin_api_directory(
android_studio = [],
clion = [],
intellij = [":json"],
),
)

filegroup(
name = "application_info_json",
srcs = select_from_plugin_api_directory(
Expand Down
5 changes: 5 additions & 0 deletions intellij_platform_sdk/BUILD.ue223
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ java_import(
tags = ["intellij-provided-by-sdk"],
)

java_import(
name = "json",
jars = glob(["plugins/json/lib/*.jar"])
)

filegroup(
name = "application_info_json",
srcs = ["product-info.json"],
Expand Down
5 changes: 5 additions & 0 deletions intellij_platform_sdk/BUILD.ue231
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ java_import(
tags = ["intellij-provided-by-sdk"],
)

java_import(
name = "json",
jars = glob(["plugins/json/lib/*.jar"])
)

filegroup(
name = "application_info_json",
srcs = ["product-info.json"],
Expand Down
5 changes: 5 additions & 0 deletions intellij_platform_sdk/BUILD.ue232
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ java_import(
tags = ["intellij-provided-by-sdk"],
)

java_import(
name = "json",
jars = glob(["plugins/json/lib/*.jar"])
)

filegroup(
name = "application_info_json",
srcs = ["product-info.json"],
Expand Down
5 changes: 5 additions & 0 deletions intellij_platform_sdk/BUILD.ue233
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ java_import(
tags = ["intellij-provided-by-sdk"],
)

java_import(
name = "json",
jars = glob(["plugins/json/lib/*.jar"])
)

filegroup(
name = "application_info_json",
srcs = ["product-info.json"],
Expand Down
5 changes: 5 additions & 0 deletions intellij_platform_sdk/BUILD.ue241
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ java_import(
tags = ["intellij-provided-by-sdk"],
)

java_import(
name = "json",
jars = glob(["plugins/json/lib/*.jar"])
)

filegroup(
name = "application_info_json",
srcs = ["product-info.json"],
Expand Down
5 changes: 5 additions & 0 deletions intellij_platform_sdk/BUILD.ue242
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ java_import(
tags = ["intellij-provided-by-sdk"],
)

java_import(
name = "json",
jars = glob(["plugins/json/lib/*.jar"])
)

filegroup(
name = "application_info_json",
srcs = ["product-info.json"],
Expand Down
5 changes: 5 additions & 0 deletions intellij_platform_sdk/BUILD.ue243
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ java_import(
jars = glob(["plugins/cwm-plugin/lib/*.jar"]),
)

java_import(
name = "json",
jars = glob(["plugins/json/lib/*.jar"])
)

# The plugins required by IJwB. We need to include them
# when running integration tests.
java_import(
Expand Down
1 change: 1 addition & 0 deletions javascript/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ intellij_integration_test_suite(
"//base",
"//base:integration_test_utils",
"//base:unit_test_utils",
"//intellij_platform_sdk:json_for_tests",
"//intellij_platform_sdk:jsr305",
"//intellij_platform_sdk:plugin_api_for_tests",
"//intellij_platform_sdk:test_libs",
Expand Down
Loading