Skip to content

Commit

Permalink
[ISSUE apache#9102] Fix bazel ci
Browse files Browse the repository at this point in the history
  • Loading branch information
qianye1001 committed Jan 16, 2025
1 parent d2156e3 commit db8c493
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,23 @@
#
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")


load("@bazel_tools//tools/jdk:remote_java_repository.bzl", "remote_java_repository")
load("@bazel_tools//tools/jdk:java_toolchain_alias.bzl", "java_toolchain_alias")

remote_java_repository(
name = "remote_jdk8",
prefix = "adoptopenjdk",
sha256 = "4589d0c5c0b17cd8d6e58b10fd4a99a5610c17a8d00179396e68183f3abdce26", # 根据实际情况更新
strip_prefix = "jdk8u292-b10",
urls = [
"https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u292b10.tar.gz", # 根据实际情况更新
],
)

register_toolchains("@remote_jdk8//:all")


RULES_JVM_EXTERNAL_TAG = "4.2"

RULES_JVM_EXTERNAL_SHA = "cd1a77b7b02e8e008439ca76fd34f5b07aecb8c752961f9640dea15e9e5ba1ca"
Expand Down

0 comments on commit db8c493

Please sign in to comment.