diff --git a/aspect/BUILD.aspect b/aspect/BUILD.aspect index 70f85a82c12..8369d08edf1 100644 --- a/aspect/BUILD.aspect +++ b/aspect/BUILD.aspect @@ -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( @@ -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( @@ -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"],