Skip to content

Commit

Permalink
Add explicit load statements for the java rules
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 697890172
  • Loading branch information
Googler authored and copybara-github committed Nov 19, 2024
1 parent ebced66 commit f8b581c
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions aspect/BUILD.aspect
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@
# The final form of the BUILD file accessed at runtime as an external WORKSPACE.
#

licenses(["notice"]) # Apache 2.0
load("@rules_java//java:defs.bzl", "java_binary", "java_import")
load(
":intellij_info_impl_bundled.bzl",
"define_flag_hack",
)

load(":intellij_info_impl_bundled.bzl",
"define_flag_hack")
licenses(["notice"]) # Apache 2.0

java_binary(
name = "JarFilter_bin",
main_class = "com.google.idea.blaze.aspect.JarFilter",
runtime_deps = [":jar_filter_lib"],
visibility = ["//visibility:public"],
runtime_deps = [":jar_filter_lib"],
)

java_import(
Expand All @@ -23,8 +26,8 @@ java_import(
java_binary(
name = "PackageParser_bin",
main_class = "com.google.idea.blaze.aspect.PackageParser",
runtime_deps = [":package_parser_lib"],
visibility = ["//visibility:public"],
runtime_deps = [":package_parser_lib"],
)

java_import(
Expand All @@ -35,11 +38,10 @@ java_import(
java_binary(
name = "CreateAar_bin",
main_class = "com.google.idea.blaze.aspect.CreateAar",
runtime_deps = [":jar_filter_lib"],
visibility = ["//visibility:public"],
runtime_deps = [":jar_filter_lib"],
)


java_import(
name = "create_aar_lib",
jars = ["tools/CreateAar_deploy.jar"],
Expand Down

0 comments on commit f8b581c

Please sign in to comment.