Skip to content

Commit

Permalink
rules_java
Browse files Browse the repository at this point in the history
  • Loading branch information
tinder-kaijing committed Jun 10, 2024
1 parent 735765d commit 9ed0b49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
11 changes: 0 additions & 11 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,3 @@ maven_install(
"https://repo1.maven.org/maven2",
],
)

http_archive(
name = "rules_java",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/7.6.1/rules_java-7.6.1.tar.gz",
],
sha256 = "f8ae9ed3887df02f40de9f4f7ac3873e6dd7a471f9cddf63952538b94b59aeb3",
)
load("@rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")
rules_java_dependencies()
rules_java_toolchains()
7 changes: 7 additions & 0 deletions bazel_support/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,10 @@ def gitquery_dependencies(
sha256 = rules_jvm_external_sha,
url = "https://github.com/bazelbuild/rules_jvm_external/archive/%s.zip" % rules_jvm_external_tag,
)

_maybe(
http_archive,
name = "rules_java",
sha256 = "f8ae9ed3887df02f40de9f4f7ac3873e6dd7a471f9cddf63952538b94b59aeb3",
url = "https://github.com/bazelbuild/rules_java/releases/download/7.6.1/rules_java-7.6.1.tar.gz",
)

0 comments on commit 9ed0b49

Please sign in to comment.