mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[bazel] Use custom remote_java_tools_windows with vc_redist .dll files (IJI-3004)
https://github.com/bazelbuild/rules_java/issues/316 GitOrigin-RevId: b1456985c53e8d11dcde08f60a855734abc46353
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6a99721620
commit
6589b48ae5
12
MODULE.bazel
12
MODULE.bazel
@@ -72,3 +72,15 @@ REMOTE_JBR21_REPOS = ["remotejbr21_" + platform for platform in [
|
||||
) for repo in REMOTE_JBR21_REPOS]
|
||||
|
||||
[register_toolchains("@" + repo + "_toolchain_config_repo//:all") for repo in REMOTE_JBR21_REPOS]
|
||||
|
||||
# Use custom remote_java_tools_windows with vc_redist .dll files due to https://github.com/bazelbuild/rules_java/issues/316
|
||||
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||
http_archive(
|
||||
name = "remote_java_tools_windows_with_vc_redist",
|
||||
sha256 = "9ec4e41ebbb2b7259eb14f1ad708e8ee60087f33515bdec4876c675205e6950f",
|
||||
url = "https://packages.jetbrains.team/files/p/ij/intellij-build-dependencies/rules-java/java_tools_windows-v13.18-with-vc_redist.zip",
|
||||
)
|
||||
override_repo(
|
||||
use_extension("@rules_java//java:extensions.bzl", "toolchains"),
|
||||
remote_java_tools_windows = "remote_java_tools_windows_with_vc_redist",
|
||||
)
|
||||
|
||||
@@ -60,4 +60,16 @@ git_override(
|
||||
module_name = "rules_python",
|
||||
remote = "https://github.com/JetBrains/rules_python.git",
|
||||
commit = "92bf73a6867f143c5af49274f02140d118b84bb0"
|
||||
)
|
||||
)
|
||||
|
||||
# Use custom remote_java_tools_windows with vc_redist .dll files due to https://github.com/bazelbuild/rules_java/issues/316
|
||||
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||
http_archive(
|
||||
name = "remote_java_tools_windows_with_vc_redist",
|
||||
sha256 = "9ec4e41ebbb2b7259eb14f1ad708e8ee60087f33515bdec4876c675205e6950f",
|
||||
url = "https://packages.jetbrains.team/files/p/ij/intellij-build-dependencies/rules-java/java_tools_windows-v13.18-with-vc_redist.zip",
|
||||
)
|
||||
override_repo(
|
||||
use_extension("@rules_java//java:extensions.bzl", "toolchains"),
|
||||
remote_java_tools_windows = "remote_java_tools_windows_with_vc_redist",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user