Skip to content

Commit

Permalink
chore: Support Jetbrains IDEs 243 - go and js plugin require json plu…
Browse files Browse the repository at this point in the history
…gin since 243
  • Loading branch information
tpasternak committed Sep 24, 2024
1 parent 37616d0 commit 82bae38
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 0 deletions.
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

0 comments on commit 82bae38

Please sign in to comment.