Skip to content

Commit

Permalink
Add rules_python as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorcloudy committed Nov 10, 2021
1 parent d624bcd commit 8ff948d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions java/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,16 @@ def bazel_skylib():
sha256 = "1dde365491125a3db70731e25658dfdd3bc5dbdfd11b840b3e987ecf043c7ca0",
)

def rules_python():
maybe(
http_archive,
name = "rules_python",
type = "tar.gz",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.4.0/rules_python-0.4.0.tar.gz",
sha256 = "954aa89b491be4a083304a2cb838019c8b8c3720a7abb9c4cb81ac7a24230cea",
)


def rules_java_dependencies():
"""An utility method to load all dependencies of rules_java.
Expand All @@ -384,6 +394,7 @@ def rules_java_dependencies():
remote_jdk17_repos()
java_tools_javac11_repos()
bazel_skylib()
rules_python()

def rules_java_toolchains(name = "toolchains"):
"""An utility method to load all Java toolchains.
Expand Down

0 comments on commit 8ff948d

Please sign in to comment.