Skip to content

Commit

Permalink
Add rules_java 6.4.0 (#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bencodes committed Aug 14, 2023
1 parent 4b95bd3 commit b8892e6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/starlark/core/repositories/initialize.release.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ def kotlin_repositories(
version = versions.RULES_PYTHON,
)

versions.use_repository(
name = "rules_java",
rule = http_archive,
version = versions.RULES_JAVA,
)

# See note in versions.bzl before updating bazel_skylib
maybe(
http_archive,
Expand Down
8 changes: 8 additions & 0 deletions src/main/starlark/core/repositories/versions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ versions = struct(
],
sha256 = "a644da969b6824cc87f8fe7b18101a8a6c57da5db39caa6566ec6109f37d2141",
),
# needed for rules_pkg and java
RULES_JAVA = version(
version = "6.4.0",
url_templates = [
"https://github.com/bazelbuild/rules_java/releases/download/{version}/rules_java-{version}.tar.gz",
],
sha256 = "27abf8d2b26f4572ba4112ae8eb4439513615018e03a299f85a8460f6992f6a3",
),
RULES_LICENSE = version(
version = "0.0.3",
url_templates = [
Expand Down

0 comments on commit b8892e6

Please sign in to comment.