Skip to content

Commit

Permalink
Add load() statements for the Bazel builtin top-level java symbols
Browse files Browse the repository at this point in the history
Loads are being added in preparation for moving the symbols out of Bazel and into `rules_java`.

PiperOrigin-RevId: 623147890
  • Loading branch information
java-team-github-bot authored and Google Java Core Libraries committed Apr 12, 2024
1 parent 5a98ecc commit 5954f4a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.5.0
2 changes: 2 additions & 0 deletions tools/jarjar/jarjar.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"""Skylark rules for jarjar. See https://github.com/pantsbuild/jarjar
"""

load("@rules_java//java:defs.bzl", "java_common")

def _jarjar_library(ctx):
ctx.actions.write(
output = ctx.outputs._rules_file,
Expand Down
2 changes: 2 additions & 0 deletions tools/javadoc/javadoc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

"""See javadoc_library."""

load("@rules_java//java:defs.bzl", "JavaInfo", "java_common")

def _android_jar(android_api_level):
if android_api_level == -1:
return None
Expand Down

0 comments on commit 5954f4a

Please sign in to comment.