diff --git a/tools/bzl/plugin.bzl b/tools/bzl/plugin.bzl index ed64d1b775..64a6e22df2 100644 --- a/tools/bzl/plugin.bzl +++ b/tools/bzl/plugin.bzl @@ -21,6 +21,7 @@ def gerrit_plugin( manifest_entries = [], dir_name = None, target_suffix = "", + deploy_env = [], **kwargs): java_library( name = name + "__plugin", @@ -43,6 +44,7 @@ def gerrit_plugin( runtime_deps = [ ":%s__plugin" % name, ] + static_jars, + deploy_env = deploy_env, visibility = ["//visibility:public"], **kwargs )