Skip to content

Commit

Permalink
Update WORKSPACE
Browse files Browse the repository at this point in the history
  • Loading branch information
BenHenning authored Jan 21, 2025
1 parent f3c6dff commit 1fa4c98
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ android_sdk_repository(
build_tools_version = BUILD_TOOLS_VERSION,
)

# The rules_java contains the java_lite_proto_library rule used in the model module.
http_archive(
name = "rules_java",
sha256 = HTTP_DEPENDENCY_VERSIONS["rules_java"]["sha"],
url = "https://github.com/bazelbuild/rules_java/releases/download/{0}/rules_java-{0}.tar.gz".format(HTTP_DEPENDENCY_VERSIONS["rules_java"]["version"]),
)

load("@rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")

rules_java_dependencies()

rules_java_toolchains()

# Oppia's backend proto API definitions.
git_repository(
name = "oppia_proto_api",
Expand Down Expand Up @@ -75,19 +88,6 @@ bind(
actual = "//tools:java_toolchain",
)

# The rules_java contains the java_lite_proto_library rule used in the model module.
http_archive(
name = "rules_java",
sha256 = HTTP_DEPENDENCY_VERSIONS["rules_java"]["sha"],
url = "https://github.com/bazelbuild/rules_java/releases/download/{0}/rules_java-{0}.tar.gz".format(HTTP_DEPENDENCY_VERSIONS["rules_java"]["version"]),
)

load("@rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")

rules_java_dependencies()

rules_java_toolchains()

# The rules_proto contains the proto_library rule used in the model module.
http_archive(
name = "rules_proto",
Expand Down

0 comments on commit 1fa4c98

Please sign in to comment.